aspose file tools
The moose likes JSP and the fly likes Hibernate with JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Hibernate with JSP" Watch "Hibernate with JSP" New topic

Hibernate with JSP

Baseet Ahmed
Ranch Hand

Joined: Dec 18, 2006
Posts: 225


I want to know how to integrate Hibernate with JSP.
Or How do I use Hibernate framework inside JSP.
If possible, give some demo code.

Thank you in advance.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

In a well written app, JSP and Hibernate would never know the other existed.

Hibernate is an ORM framework which would live in the back end of the application. JSP, a templating language for formatting the out put lives on the front end.

If your app is large enough to warrant an ORM layer, you should be well beyond writing any business or persistence code with JSP.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
jQuery in Action, 2nd edition
subject: Hibernate with JSP