Go To Homepage



Book Details
Pro JPA 2: Mastering the Java™ Persistence API book cover
  • By Mike Keith, Merrick Schincariol
  • ISBN13: 978-1-4302-1956-9
  • ISBN10: 1-4302-1956-4
  • 500 pp.
  • Published Dec 2009
  • Print Book Price: $49.99
  • eBook Price: $34.99



Pro JPA 2: Mastering the Java™ Persistence API

Pro JPA 2 introduces, explains, and demonstrates how to use the new 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 new 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 is this book 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 existing ORM persistence products such as Hibernate or TopLink.
  • Those who have already used JPA and want to learn about the new features that JPA 2 introduces, or have a good reference book to turn to 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


About the Apress Pro Series

The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.

You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard–won solutions to problems you will face in your professional programming career.


Related Titles


Author Information

Mike Keith

Michael Keith is the cospecification lead of EJB 3.0 and also a member of the Java EE 5 expert group. He holds a master’s of science in computing from Carleton University and has over 15 years of teaching, research, and practical experience in object persistence. He has implemented persistence systems for Fortune 100 corporations on a host of technologies, including relational and object databases, XML, directory services, and custom data formats. Since the fledgling EJB days, he has worked on EJB implementations and integrations of multiple application servers. He has written various papers and articles and spoken at numerous conferences about EJB 3.0. He is currently employed at Oracle as a persistence architect.

Merrick Schincariol

Merrick Schincariol is a senior engineer at Oracle and a reviewer of the EJB 3.0 specification. He has a bachelor’s of science in computer science from Lakehead University and has over 6 years of experience in the industry. He spent some time consulting in the pre–Java enterprise and business intelligence fields before moving on to write Java/J2EE applications. His experience with large–scale systems and data warehouse design gave him a mature and practiced perspective on enterprise software that later propelled him into doing EJB container implementation work. He was a lead engineer for Oracle’s EJB 3.0 offering.