File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

data base connectivity from JSF

 
visu nath
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to JSF Technology, i want to make an application using oracle database and JDeveloper as ID.

ie i want to get the values of emp table and update perticular emp table values.

how can i do this using JSF , any pointer for good books in JSF.

Please let me know.

Thanks,
Visu
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSF is a component based framework. A web framework came into play to ease up the web app development, to make all your code clear and readable, and so and so.
Why on the earth you want to mess up all, JSF with DB? Do you like spaghetti alot?
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Server Faces In Action
 
Chris Schalk
author
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by chittyvisu nath:
Hi,
I am new to JSF Technology, i want to make an application using oracle database and JDeveloper as ID.

ie i want to get the values of emp table and update perticular emp table values.

how can i do this using JSF , any pointer for good books in JSF.

Please let me know.

Thanks,
Visu


If you're using JDeveloper, building database enabled JSF apps is a piece of cake.. Checkout the tutorials at http://www.oracle.com/technology/products/jdev/index.html

Also our book - "JSF: The Complete Reference" covers building database or persistence architected apps with JSF.
-Chris
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In most cases, its not recommended to create data service objects, like
ResultSets and RowSets, directly in your backing beans. For small apps it works well. Whereas using a separate class, which is an implementation of the Data Table Gateway pattern [Fowler, Enterprise Pattern Architecture], is more flexible because you can unit-test it and reuse it within different backing beans.

Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic