Meaningless Drivel is fun!
The moose likes Struts and the fly likes Struts2 and hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 and hibernate" Watch "Struts2 and hibernate" New topic

Struts2 and hibernate

Abhi Agar

Joined: Jun 15, 2010
Posts: 26

What should one go for while integerating Hibernate and Struts2?

Should one use spring to inject dependencies? Or is there a bare way to use Hibernate with Struts2?

Just wanted some light on the topic.

Thanks in advance.

It's the belief in the power of your dreams that counts! (SCJP 5.0, SCWCD 5.0)
David Newton

Joined: Sep 29, 2008
Posts: 12617

*I'd* use Spring, but you can code raw Hibernate as well, following something similar to any of the common HibernateUtil patterns around.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Struts2 and hibernate
It's not a secret anymore!