although i have 3 year of experience in java ,i am completely new to spring and hibernate .I have to use them in my next project .Can anyone please suggest me the best books for Spring and Hibernate
Thanks in Advance
I found "Spring In Action" a really good book to start with. You can also check Pro Spring then move onto Spring's own reference manual. The first two have introduction on Hibernate and how to use it with Spring.
As for Hibernate, "Hibernate in Action" and now "Java Persistence with Hibernate" which is the 2nd edition and of course the Hibernate reference manual.
I second the recommendations of Tamas. 2 month ago or so Manning released the second edition "Spring in Action". I've read the chapters about bean wiring and aop and found them the best introduction in these concepts. "Java Persistence with Hibernate" is very rich in details (and this is good for Hibernate as a topic). Both frameworks have a very good online documentation, which is very usefull to look things up, once you've got a good grasp of the basic concepts.
Joined: Feb 22, 2007
Thanks for your replies! I found "Spring in Action" as a best book on spring to beging with in terms of clarity of concepts.
But i am still not clear for BEST hibernate book?
Why same author has written two books on same topic i.e. - 1.Java Persistence with Hibernate 2.Hibernate in Action
Can any one clear the differences of these two books.
And in which order i should read book? first Spring or Hibernate?? [ September 18, 2007: Message edited by: raj malhotra ]
For Hibernate, I would say Beginning Hibernate: From Novice to Professional along with the Hibernate reference documentation.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joined: Feb 21, 2007
"Java Persistence with Hibernate" is "Hibernate in Action" second edition. I suggest that you should start studying Spring with "Spring in Action" because it also covers ORM and it has a dedicated part to Hibernate too. After you're familiar with what Spring is all about (IOC, AOP, DAO, ORM, etc) and you feel like you need to dig deeper into Hibernate you could grab one of the previously mentioned books.
Personally I think that the most important thing right now is to understand what ORM is and to learn that Hibernate is just one (one of the good ones if not the best IMHO) framework from many.
You also have to understand the key concepts and why is a good practice to program to interfaces, AOP etc, because Spring is not the only framework that does this. It is doing it really well no doubt about it, what I am saying that it is best to know what it does and after that how it is doing it. Spring in Action covers all these aspects, so go for it.
Joined: Feb 22, 2007
Hi Thanks to all of you for your suggestion and sorry for late reply.