This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate with JSP