File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: saving to database
 
Similar Threads
How can i Update/delete row in jsf datatable that makes changes in the database
DataGrid Sample Code
Can I get sample code for JSF
Jsf that save's to database(postgresql) and os is ubuntu linux
Please help me for MVC2 architecure diagram