This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Portlets with Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Portlets with Hibernate" Watch "Portlets with Hibernate" New topic
Author

Portlets with Hibernate

Shemida Nivedha
Greenhorn

Joined: May 22, 2008
Posts: 18
Hi Folks,

I was using Portlets for UI design which interfaced with WebServices in backend.
Could you brief how Portlets can be interfaced with Hibernate as backend?

Thanks in advance,
Shemida
Ashish Sarin
author
Ranch Hand

Joined: Nov 20, 2000
Posts: 432
    
    5
Hi,

You can use Hibernate with Portlets like you do in a typical web application. If you are using Spring Portlet MVC (or Spring in the middle-tier), then it is quite simple to use Hibernate for persistence because of built-in support in Spring for integrating with Hibernate ORM.

You can find examples for using Hibernate and Spring JDBC in the source code of chapter 9 of Portlets in Action book: http://code.google.com/p/portletsinaction/downloads/list

regards
ashish


Author of
Getting started with Spring Framework
Portlets in Action
Spring Roo 1.1 Cookbook
Portlets blogSpring Roo blog
Shemida Nivedha
Greenhorn

Joined: May 22, 2008
Posts: 18
Hi Ashish,

Thanks a lot for the reply.
Will go through the link for portlets.

Regards,
Shemida
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Portlets with Hibernate
 
Similar Threads
Portlets
Can anyone suggest some framework?...
Resetting customized layout in WP6 for individual end users
hibernate is backend technology or front end
Implementing cancel for long running web reuests