Pro JPA 2: Mastering the Java Persistence API / Edition 1

Pro JPA 2: Mastering the Java Persistence API / Edition 1

by Mike Keith, Merrick Schincariol, Jeremy Keith
     
 

ISBN-10: 1430219564

ISBN-13: 9781430219569

Pub. Date: 12/03/2009

Publisher: Apress

Pro JPA 2 introduces, explains, and demonstrates how to use the Java Persistence API (JPA). JPA provides Java developers with both the knowledge and insight needed to write Java applications that access relational databases through JPA.

Authors Mike Keith and Merrick Schincariol take a hands–on approach to

Overview

Pro JPA 2 introduces, explains, and demonstrates how to use the Java Persistence API (JPA). JPA provides Java developers with both the knowledge and insight needed to write Java applications that access relational databases through JPA.

Authors Mike Keith and Merrick Schincariol take a hands–on approach to teaching by giving examples to illustrate each concept of the API and showing how it is used in practice.

All of the examples use a common model from an overriding sample application, giving readers a context from which to start and helping them to understand the examples within an already familiar domain.

After completing the book, you will have a full understanding and be able to successfully code applications using JPA. The book also serves as a reference guide during initial and later JPA application experiences.

  • Hands-on examples for all the aspects of the JPA specification, based on the reference implementation of this specification
  • A special section on migration to JPA
  • Expert insight about various aspects of the API and when they are useful
  • Portability hints to provide increased awareness of the potential for non–portable JPA code

What you’ll learn

  • Get started with enterprise applications using JPA 2
  • Get up to speed with object–relational mapping and Entity Manager
  • Learn and use queries and the query language (JP QL)
  • Employ advanced object–relational mapping techniques
  • Use XML mapping files and learn other advanced techniques
  • Package and deploy your Java persistence applications
  • Test your Java persistence applications
  • Migrate your Java persistence applications

Who this book is for

The book generally targets enterprise and persistence developers who fall in one of three categories:

  • Those who are new to persistence; we will present some background information and introduce these readers to the basic persistence concepts to bring them up to speed.
  • Those who know and/or use existingORM persistence products such as Hibernate or TopLink.
  • Those who have already used JPA and want to learn aboutnewer featuresintroduced byJPA 2, or have a good reference book to consult when they develop JPA applications.

In general, we assume that the reader is knowledgeable with Java, SQL, and JDBC, and has a little knowledge of J2EE.

Table of Contents

  1. Introduction
  2. Getting Started
  3. Enterprise Applications
  4. Object-Relational Mapping
  5. Collection Mapping
  6. Entity Manager
  7. Using Queries
  8. Query Language
  9. Criteria API
  10. Advanced Object-Relational Mapping
  11. Advanced Topics
  12. XML Mapping Files
  13. Packaging and Deployment
  14. Testing
  15. Migration

Product Details

ISBN-13:
9781430219569
Publisher:
Apress
Publication date:
12/03/2009
Edition description:
2010
Pages:
500
Product dimensions:
7.30(w) x 9.20(h) x 1.20(d)

Table of Contents

  1. Introduction
  2. Getting Started
  3. Enterprise Applications
  4. Object-Relational Mapping
  5. Collection Mapping
  6. Entity Manager
  7. Using Queries
  8. Query Language
  9. Criteria API
  10. Advanced Object-Relational Mapping
  11. Advanced Topics
  12. XML Mapping Files
  13. Packaging and Deployment
  14. Testing
  15. Migration


Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >