Java Persistence with Hibernate
|
| List Price: | $59.99 |
| Price: | $37.79 & eligible for FREE Super Saver Shipping on orders over $25. Details |
Ships from and sold by Amazon.com
36 new or used available from $30.99
Average customer review:Product Description
Persistence-the ability of data to outlive an instance of a program-is central to modern applications. Hibernate, the most popular Java persistence tool, provides automatic and transparent object/relational mapping making it a snap to work with SQL databases in Java applications. Hibernate applications are cheaper, more portable, and more resilient to change. Because it conforms to the new EJB 3.0 and Java Persistence 1.0 standard, Hibernate allows the developer to seamlessly create efficient, scalable Java EE applications.
Java Persistence with Hibernate explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate 3.2 and Java Persistence, working through queries, fetching strategies, caching, transactions, conversations, and more. You'll also appreciate the well-illustrated discussion of best practices in database design, object/relational mapping, and optimization techniques.
In this revised edition of the bestselling Hibernate in Action, authors Christian Bauer and Gavin King-the founder of the Hibernate project-cover Hibernate 3.2 in detail along with the EJB 3.0 and Java Persistence standard.
Product Details
- Amazon Sales Rank: #9505 in Books
- Published on: 2006-11-24
- Format: Illustrated
- Original language: English
- Number of items: 1
- Binding: Paperback
- 904 pages
Editorial Reviews
From the Publisher
Java Persistence with Hibernate is divided into three major parts.
In Part 1, the book introduces the object/relational paradigm mismatch and explains the fundamentals behind object/relational mapping. Then, readers are walked through a hands-on tutorial to get you started with your first Hibernate, Java Persistence, or EJB 3.0 project. You look at Java application design for domain models and at the options for creating object/relational mapping metadata.
Mapping Java classes and properties to SQL tables and columns is the focus of Part 2. You explore all basic and advanced mapping options in Hibernate and Java Persistence, with XML mapping files and Java annotations. It shows you how to deal with inheritance, collections, and complex class associations. Finally, the book discusses integration with legacy database schemas and some mapping strategies that are especially tricky.
Part 3 is all about the processing of objects and how you can load and store data with Hibernate and Java Persistence. The book introduces the programming interfaces, how to write transactional and conversation-aware applications, and how to write queries. It later focuses on the correct design and implementation of layered Java applications, and the most common design patterns that are used with Hibernate, such as the Data Access Object (DAO) and EJB Command patterns. You'll see how you can test your Hibernate application easily and what other best practices are relevant if you work an object/relational mapping software.
Finally, you are introduced to the JBoss Seam framework, which takes many Hibernate concepts to the next level and enables you to create conversational web applications with ease.
Visit the Manning site for sample chapters, the Author Online Forum, errata and source code for Java Persistence with Hibernate.
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. He is the co-author with Gavin King of Manning's best-selling Hibernate in Action.
Gavin King is the founder of the Hibernate project, and a member of the EJB 3.0 (JSR 220) expert group. He also leads the Web Beans JSR 299, a standardization effort involving Hibernate concepts, JSF, and EJB 3.0. Gavin King works as a lead developer as JBoss, a division of Red Hat.
Customer Reviews
Stick with Hibernate in Action
Hibernate in Action is a great book that I go back to again and again. It was very well written for a technical book.
Java Persistence with Hibernate is disappointing. The first half adds very little to what is available in Hibernate in Action and the second part is half-baked. The authors should have waited for the specs to gel and written a book purely on implementing JPA with Hibernate. They should have left out the first part of the book and pointed people to Hibernate in Action.
Bigger books are not necessarily better books.
A boring book
This is a boring book and hard to understand. If you want to learn Hibernate, don't buy it.
A Massive Book for a Magnificent Framework
Some of the reviews for this book are a little harsh.
This is the most complete book on Hibernate on the market. It covers everything, and I mean everything. From mapping to annotations, to whatever, it's in here.
The book is written by the makers of Hibernate, and you can find an answer to pretty much every question you'll ever have explained in extreme detail, and in a very, very technical way.
The book uses the Caveat Emptor application as a reference. You keep going back to that example, which you can download from the hibernate site. It is a very complete and intricately developed application that is a reference for how to develop enterprise ready applications that could be deployed to pretty much any mission critical environment.
This book is amazing. Some reviewers have tried to use this as a Dummies book or How To book and have been frustrated, and have given this book poor reviews. That's not fair. Imagine trying to learn to swing a baseball (or cricket) bat by taking pitches from a major league pitcher. You wouldn't learn a thing, as every pitch zoomed by you at 100mph. This book is like the big league pitcher, helping you develop and design applications that are ready for the big leagues. When you understand that, you can understand why people who are new to the technology, and looking for very simple and straight forward examples, can get frustrated with this book and give it 1 or 2 stars. Really, those reviews are not fair.
If you are new to hibernate, you should start of with something a like Hibernate Made Easy: Simplified Data Persistence with Hibernate and JPA (Java Persistence API) Annotations. If you are using mapping files, then Hibernate: A Developer's Notebook is the other book you should get.
Overall, this is a five star book written by the people that know Hibernate the most. We're very luck to have a book like this to help guide us through the really, really, really tough stuff.




