Results 1 to 2 of 2
  1. #1
    Divya is offline Member
    Join Date
    Aug 2013
    Rep Power

    Question Please Help…How can i use JSF with Hibernate?

    I am trying to insert student entries in to database(oracle) dynamically.In order to do that i am using JSF for form creation and validation and using ORM Framework Hibernate to store the entries to the database.I can create form page and write managed beans using of JSF but I wonder how to map JSF managed bean as a table in Database.can anyone guide me through any sample examples or any useful links,so that i can come to an idea.

    Thanks for any help

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Rep Power

    Default Re: Please Help…How can i use JSF with Hibernate?

    You shouldn't do that. Keep the things separate; have a managed bean AND a Hibernate entity. Of course you are free to map JSF components to the properties of an entity object you maintain in your JSF backing bean, I do that myself when I'm too lazy to implement a truly isolated application model.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Should I be using hibernate?
    By sephiroth2212 in forum JDBC
    Replies: 4
    Last Post: 10-11-2013, 09:57 AM
  2. JSF + Hibernate
    By buyapentiumjerk in forum Enterprise JavaBeans (EJB)
    Replies: 17
    Last Post: 07-12-2011, 04:24 PM
  3. JPA vs Hibernate
    By buyapentiumjerk in forum JDBC
    Replies: 0
    Last Post: 07-06-2011, 06:28 PM
  4. Hibernate Use
    By sireesha in forum JDBC
    Replies: 2
    Last Post: 05-21-2008, 04:05 AM
  5. Replies: 2
    Last Post: 06-30-2007, 04:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts