Java Persistence with Hibernate
  • Alternative view 1 of Java Persistence with Hibernate
  • Alternative view 2 of Java Persistence with Hibernate

Java Persistence with Hibernate

4.0 1
by Christian Bauer, Gavin King
     
 

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.

Overview

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.

Editorial Reviews

The Barnes & Noble Review
For years, Java developers struggled with object persistence. Then came breakthrough frameworks like Hibernate -- and outstanding books like Hibernate In Action. Hibernate's "object/relational mapping" approach proved so useful that it has powerfully influenced Sun's EJB 3.0. When the authors of Hibernate In Action returned to update their book, they wanted to cover the entire topic of Java persistence. Hence the field's definitive guidebook is now called Java Persistence with Hibernate.

This book is extremely ambitious, and equally successful. First, it's a tutorial that gives you a jump-start using Hibernate 3.2, the Java Persistence API, and EJB 3.0. Next, it's a comprehensive guide to all facets of Hibernate 3.2, basic to advanced: object processing, querying, optimization, application design, and more. Third, it's a comprehensive reference to both Hibernate and Java Persistence: one you'll rely on no matter how experienced you get.

Christian Bauer and Gavin King start by explaining why the "object/relational mismatch" between Java and databases is so troublesome; how mapping solves the problem; and what you need to know about domain models and metadata. Next, you'll drill down to real-world mapping of Java classes and properties to SQL tables and columns, exploring everything Hibernate 3.2 and Java Persistence can do. Bauer and King cover inheritance, collections, integrating legacy database schemas, and (carefully) using advanced techniques such as polymorphic entity associations.

In Part III, they turn to "conversational" object processing: loading and storing data; writing transactional and "conversation-aware" applications; designing and implementing layered Java applications, and more. This section's best practices will be especially helpful. And if you want to go even further, you'll appreciate the authors' introduction to the JBoss Seam framework, the next step towards simplifying Java-based web development. Bill Camarda, from the February 2007 Read Only

Product Details

ISBN-13:
9781932394887
Publisher:
Manning Publications Company
Publication date:
12/28/2006
Edition description:
Revised
Pages:
904
Product dimensions:
7.15(w) x 9.45(h) x 1.80(d)

Meet 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.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Java Persistence with Hibernate 4 out of 5 based on 0 ratings. 1 reviews.
Anonymous More than 1 year ago