Take a look at Spring's Petclinic sample app. It shows how easy it can be to use Hibernate (or JDBC, Apache OJB for that matter). Spring takes care of the dirty work of managing the Hibernate Session so your DAO's can consist mostly of simple one-liners. Plus, you also get the ability to do declarative transaction management without using EJB !
kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
It doesnt look like the original poster is following this up, but for the purpose of reference http://www.hibernate.org/110.html is a good starting point.
The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny GillTweets
Edward Kenworthy
Ranch Hand
Joined: Oct 05, 2003
Posts: 66
posted
0
Originally posted by Mark Spritzler: In Better, Faster, Lighter Java from O'Reilly press there are chapters on Hibernate and Spring and how to use them together.
Mark
That's a bit of lightweight introduction: it's the kind of book you read, think "hmm interesting" and then never pickup again: it's certainly no use for giving any guidance in actually using Spring and Hibernate.