Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

saving to database

 
ryo gin
Greenhorn
Posts: 7
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic