facebook

Using Javaserver Faces and Hibernate together

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #229586 Reply

    bradm
    Member

    Can anyone point me to some example code that will show me how to use JSF and Hibernate together in a small web app that simply needs to display some rows out of a database and let the user update fields from those rows at will? I have a mock up working, where I get a List from Hibernate full of database rows, which are then displayed using a JSF DataTable (where each field appears in its own inputText component).

    How do I get Hibernate to persist changes I make to fields on the web form to the database? How does Hibernate “know” which row I’ve made changes to (the way JSF does automatically)?

    #229611

    Riyad Kalla
    Member

    Bradm,
    I suggest finding a JSF/Hibernate tutorial online (Good place: http://www.laliluna.de/tutorials.html)

    and just getting farmiliar with how Hibernate and JSF work first, regardless of the IDE/tools you are using.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Using Javaserver Faces and Hibernate together

You must be logged in to post in the forum log in