File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Integration with Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Integration with Hibernate" Watch "Integration with Hibernate" New topic

Integration with Hibernate

visu Nekk
Ranch Hand

Joined: Sep 06, 2005
Posts: 122
Which technology(Struts or Spring) is the best to integrate with Hibernate and why?
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

visu Nekk wrote:Which technology(Struts or Spring) is the best to integrate with Hibernate and why?

This is a very abstract question and i don't think you will find any easy answers to this. How did you narrow down to Struts and Spring? And what exactly do you mean by "best to integrate"?

[My Blog] [JavaRanch Journal]
ahmad seddighi

Joined: Jun 22, 2004
Posts: 16
Hibernate and Spring may be used together to develop most effective code in the data tier and solve problems related to this tier, such as managing transactions, handling exceptions, and so on. But to develop the whole application, we may use other frameworks to develop other tiers of the application; and this is when we use a framework such as Struts with Hibernate; Struts for the presentation tier and Hibernate for data tier.
Ahmad Reza Seddighi

Spring Persistence with Hibernate (Packt Publishing)
I agree. Here's the link:
subject: Integration with Hibernate
jQuery in Action, 3rd edition