Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Hibernate with JSP" Watch "Hibernate with JSP" New topic
Author

Hibernate with JSP

Baseet Ahmed
Ranch Hand

Joined: Dec 18, 2006
Posts: 224
Hi,

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
Sheriff

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate with JSP
 
Similar Threads
using Hibernate in a web application
I am unable to use Hibernate with tomcat5.0
How can i display the record in JSP Using Struts with Hibernate?
duplicate row for editing
JSP to hibernate