File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "saving to database" Watch "saving to database" New topic

saving to database

ryo gin

Joined: Jan 28, 2010
Posts: 7

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
Ranch Hand

Joined: Sep 11, 2006
Posts: 82
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:

I agree. Here's the link:
subject: saving to database