• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Portlets with Hibernate

 
Shemida Nivedha
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 444
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Shemida Nivedha
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ashish,

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

Regards,
Shemida
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic