aspose file tools*
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
Author

Struts2 and hibernate

Abhi Agar
Greenhorn

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
Author
Rancher

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.
 
 
subject: Struts2 and hibernate