- Paperback: 308 pages
- Publisher: Apress; 1st ed. edition (1 Mar. 2010)
- Language: English
- ISBN-10: 1430227966
- ISBN-13: 978-1430227960
- Product Dimensions: 18.8 x 1.8 x 22.9 cm
- Average Customer Review: 3.0 out of 5 stars See all reviews (1 customer review)
Amazon Bestsellers Rank:
1,894,676 in Books (See Top 100 in Books)
- #3536 in Books > Computers & Internet > Computer Science > Programming > Software Design, Testing & Engineering > Software Architecture
- #3569 in Books > Computers & Internet > Computer Science > Programming > Software Design, Testing & Engineering > Functional Programming
- #5479 in Books > Computers & Internet > Software & Graphics > Software Design & Development
- See Complete Table of Contents
Hibernate Recipes: A Problem-Solution Approach (Expert's Voice in Open Source) Paperback – 1 Mar 2010
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
There is a newer edition of this item:
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
About the Author
Gary Mak, founder and chief consultant of Meta-Archit Software Technology Limited, has been a technical architect and application developer on the enterprise Java platform for more than seven years. He is the author of the Apress books Spring Recipes: A Problem-Solution Approach and Pro SpringSource dm Server. In his career, Gary has developed a number of Java-based software projects, most of which are application frameworks, system infrastructures, and software tools. He enjoys designing and implementing the complex parts of software projects. Gary has a master's degree in computer science. His research interests include object-oriented technology, aspect-oriented technology, design patterns, software reuse, and domain-driven development. Gary specializes in building enterprise applications on technologies including Spring, Hibernate, JPA, JSF, Portlet, AJAX, and OSGi. He has been using the Spring Framework in his projects since Spring version 1.0. Gary has been an instructor of courses on enterprise Java, Spring, Hibernate, Web Services, and agile development. He has written a series of Spring and Hibernate tutorials as course materials, parts of which are open to the public, and they're gaining popularity in the Java community. In his spare time, he enjoys playing tennis and watching tennis competitions.
Top Customer Reviews
Other errors are typos with inserts.
Most Helpful Customer Reviews on Amazon.com (beta)
I'm an experienced Java developer, and until now I've largely written my own database layer, so I'm aware of the difficulties behind doing it. I've been meaning to check out hibernate for a while, and I finally had a project that would make good use of a framework (and that I was starting from scratch), so I decided to go for it.
First, let me say that I did get what I wanted from this book, meaning that it gave me some good ideas that I could immediately apply to the project I'm working on. For that I could have given it 5 stars.
In particular, I liked the several sections where they gave both the hbm.xml version and the annotation version of the mapping configuration for the solution code. To me, those sections were invaluable, giving me a greater understanding of how the annotation stuff works, and I'll probably end up using it on this project (converting what I have so far). It looks more maintainable.
However, the book has some issues.
I use checkstyle for any Java code I write, and I expect authors of books to at least use a formatter to format the code in a standard way before publication (and if they don't, to be extremely careful to be consistent). I subtract 2 stars largely because of the extremely poorly formatted/indented/spaced code examples (and there are a few typos in the code as well, that I could see just by reading through the examples). They switch between spaces and tabs, and have one line indented 40 spaces and the next line not indented at all, in the same block. I don't know how it got through editing stages in this state! I've seen much better looking "beta" books. To the authors: use checkstyle!
1) to read manual/guide/reference-like stuff from cover to cover to be exposed to details (because those little details are that stoppers and sources of flustration when we work with any thirdparty developed code)
2) read THIS book before my first exposure to hibernate framework
The book overrall is very good (for me as I mediocre programmer ;). It's usable by both beginners and intermediate users. Only prerequisite is knowledge of java (and maven skills would be handy too). As a a beginner you will discover all you need to know to solve all realworld and common daily problems and tasks like auditing, caching, inheritence, laziness, batching, sorting...
And what I really like about this book is that every problem is solved in both hibernate xml configuration way and with usage of JPA annotations (so I finally understand the relation between JPA and Hibernate). I think this is big added value.
One star down because of formatting of source codes - it's really horrible. Well I can live with it, but come on guys - for this price such an amateur work? I am even thinking about sale return - only thing which so far prevents me is that I like the book content and want to support its authors.
I've seen reviews on Amazon were people complain about the errors and when I get the book, I don't see them. But with this book, it is not the case. Reviewers were dead on with the abundance of errors.
Some of the code examples, especially the ones with generics, are not using them properly. It seems like half of these examples were updated with generics and the other half not. There are several API methods in use that are now deprecated.
There are also a lot of code formatting problems, mostly indentation, and typos.
With that said, if you are experienced with Java, the errors are pretty obvious and you shouldn't have a problem working around them. This book could definitely use an update to fix the errors and correct the code.