Forums Register Login

A question about Spring and Hibernate

+Pie Number of slices to send: Send
Cameron,

First of all, thanks for taking the time to share your knowledge!

I'm a newbie to Hibernate. From my understanding, Hibernate is very much integrated with Spring. What should I know about Spring in order to use Hibernate?

Also, I'd like to see the table of contents for your book but can't find it.

Thanks!
[ June 03, 2008: Message edited by: Ulf Dittmer ]
+Pie Number of slices to send: Send
Hi Claude,

Hibernate can be used without Spring Framework too. If you are using Spring with Hibernate, then there is no much need of managing manually the Session Transaction management.

Hibernate is not tightly couple with any of the web frameworks.

Regards
Vishwanath GNV
+Pie Number of slices to send: Send
Thanks Vishwanath!

I wasn't so sure.
+Pie Number of slices to send: Send
There is no doubt that many Spring applications leverage Hibernate as a persistence mechanism, but Hibernate itself is completely independent from Spring.

One of my objectives in this book was to be as focussed as possible in the subject matter. When you write a book, you want to cover everything, and do everything, but in the end, trying to cover too much makes learning difficult for the reader. In my opinion, Hibernate should be fun and easy to learn, because it's fun and easy to use. Adding chapters on Spring or Seam or NHibernate and such, in my opinion, would detract from the focal point of the book, which is to help people learn Hibernate, and learn it quickly.

Having said that though, it is my experience that when people really do understand how Hibernate works, they find it incredibly easy to integrate it into new applications that might use Seam or JSF or GWT. And that is really the goal of the book, Hibernate Made Easy - to teach people Hibernate, and give them such a fundamental understanding of the technology, that they can easily and eagerly integrate it into any Java project on which they might be working.

-Cameron McKenzie
The moustache of a titan! The ad of a flea:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 743 times.
Similar Threads
Patterns on Spring Persistence with Hibernate
IDE used in Spring Persistence with Hibernate book
Hibernate with Spring
Spring Book Question!
Restrictions constraints in Hibernate
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 04:29:52.