File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Hibernate with JSP
It's not a secret anymore!