Author/s : Ahmad Seddighi
Publisher : Packt Publishing
Category : Data modeling, SQL and JDBC
Review by : Jeanne Boyarsky
Rating : 5 horseshoes
Packt's "Spring Persistence with Hibernate" covers Spring 2.5. (Take care that you don't confuse it with the soon to be released Apress book with the same title which covers Spring 3.0.)
Packt really needs to work on their editing process. I play a game when reading called "what page for the first typo." The answer was page 3! (chapter vs chapters). I have read some Packt books of good quality, but unfortunately this wasn't one. The numerous typos included basic English, a typo in a code comment on page 364 and worst a typo in a code block on page 24. The later bothers me more as the technical content becomes suspect. As with most Packt books, the examples are longer than I would like and could omit getters/setters earlier.
There were a few cases where I had to go to the JavaDoc to understand distinctions between attribute values. The book text wasn't clear enough and didn't explain when one might want to choose those values. There was also some explanation of how to do something in Hibernate if not using Spring and Spring MVC. Good content, but a bit surprising given the title.
Now for some things I liked: cooks tour example with forward references, coverage of Hibernate and JPA APIs, explanations of IOC and AOP, introduction of DAOs with
patterns.
Overall, I'd recommend you pick a different Spring 2.5 book or wait for the Spring 3 books to come out.
---
Disclosure: I received a copy of this book from the publisher in
exchange for writing this review on behalf of JavaRanch.