• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

data base connectivity from JSF

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java Server Faces In Action
 
author
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
No holds barred. And no bars holed. Except this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic