This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSF and the fly likes saving to database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "saving to database" Watch "saving to database" New topic
Author

saving to database

ryo gin
Greenhorn

Joined: Jan 28, 2010
Posts: 7
Hi,

I am a beginner of jsf, please give me a sample code that save's to database.
I am studying jsf for several weeks but still i don't know how to save to database.

Any sample will be accepted

please help me.

Thanks in advance,
*kato_ry *
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
This has nothing to do with JSF. You could use JPA, Hibernate, iBatis, or even JDBC.
Ed Burns
author
Ranch Hand

Joined: Sep 11, 2006
Posts: 82
    
    5
Hello Ryo Gin, thanks for your interest.

As Mr. Porter mentioned, JPA, HIBERNATE, iBatis are popular options. However, if you want to get started simply, I recommend you run through one of the NetBeans tutorials on JSF crud:

http://netbeans.org/kb/docs/web/jsf20-support.html

Ed
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: saving to database