File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts + Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts + Hibernate" Watch "Struts + Hibernate" New topic

Struts + Hibernate

Isaias C. Barroso
Ranch Hand

Joined: Jan 22, 2002
Posts: 165
Hi all,
I work in a project that utilize Hibernate without Struts, but i would like to utilize Struts + Hibernate. Knows anybody how to utilize the DataSource of struts-config.xml on Hibernate?

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

It's not quite that simple. There is a Hibernate Plugin that you must compile and use. Sadly, the documentation for this is horrible, so you will be left with a lot more questions.
Normally, I wouldn't do this, but I believe you would have better luck at the Hibernate Forums than here only because there aren't too many people at the Ranch who have used Hibernate. There are many more JDO fans here.

GenRocket - Experts at Building Test Data
Isaias C. Barroso
Ranch Hand

Joined: Jan 22, 2002
Posts: 165
I will analise the JDO.
I agree. Here's the link:
subject: Struts + Hibernate
It's not a secret anymore!