Hibernate practically exploded on the Java scene. Why is this open-source tool so popular? Because it automates a tedious task: persisting your Java objects to a relational database. The inevitable mismatch between your object-oriented code and the relational database requires you to write code that maps one to the other. This code is often complex, tedious and costly to develop. Hibernate does the mapping for you.
Not only that, Hibernate makes it easy. Positioned as a layer between your application and your database, Hibernate takes care of loading and saving of objects. Hibernate applications are cheaper, more portable, and more resilient to change. And they perform better than anything you are likely to develop yourself.
"Hibernate in Action" carefully explains the concepts you need, then gets you going. It builds on a single example to show you how to use Hibernate in practice, how to deal with concurrency and transactions, how to efficiently retrieve objects and use caching.
The authors created Hibernate and they field questions from the Hibernate community every day-they know how to make Hibernate sing. Knowledge and insight seep out of every pore of this book.
- ORM concepts
- Getting started
- Many real-world tasks
- The Hibernate application development process
About the Author
Christian Bauer is a member of the Hibernate developer team. He works as a trainer, consultant, and product manager for Hibernate, EJB 3.0, and JBoss Team at JBoss, a division of Red Hat.
Most Helpful Customer Reviews
This book is an excellent one on Hibernate! The way the authors showed the mismatch between OO Model and existing Relational Model (would it be appropriate if I call existing SQL Model? SQL Model != Relational Model)is enlightening.They have shown why the above two models are orthogonal. The authors have shown how various OO concepts could be transparently implemented in O/R middleware. I have put this book on 'Must Read/Refer' category.
I have not read any other Hibernate Books but spent time digging through online Hibernate examples and the Hibernate Reference manual. This does work, but is a lot more tedious and frustrating than sitting down with a well-written book from the Hibernate authors. The Hibernate In Action book is a compact (408 pages), focused, no nonsense read and an essential resource for anyone venturing into the ORM landscape. The first three chapters of this book alone are indispensable for developers that want to quickly build an application leveraging Hibernate, but more importantly really want to understand Hibernate concepts, framework, methodology and the reasons that shaped the framework design. The remaining chapters continue the comprehensive overview of Hibernate that include how to map to and persist objects, inheritance, transactions, concurrency, caching, retrieving objects efficiently using HQL, configuring Hibernate for managed and unmanaged environments, and the Hibernate Toolset that can be leveraged for several different development scenarios.