This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

saving to database

 
ryo gin
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Author
Ranch Hand
Posts: 126
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has nothing to do with JSF. You could use JPA, Hibernate, iBatis, or even JDBC.
 
Ed Burns
author
Ranch Hand
Posts: 82
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic