Skip to main content
  • Book
  • © 2010

Pro JPA 2

Mastering the Java™ Persistence API

Apress
  • First or) One of the first books on Sun's new Java Persistence API (JPA) 2.x; and (first or) One of the first books on Sun's new Java EE 6 Platform.
  • Sun's now open source Java EE platform and JPA spec remain important and popular key Java technology memes for today's IT developer/reader.
  • This book is scheduled to be released around Java EE 6 and JPA 2, and at JavaOne, the world's leading Java technology convention.

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (15 chapters)

  1. Front Matter

    Pages i-xxv
  2. Introduction

    • Mike Keith, Merrick Schnicariol
    Pages 1-16
  3. Getting Started

    • Mike Keith, Merrick Schnicariol
    Pages 17-32
  4. Enterprise Applications

    • Mike Keith, Merrick Schnicariol
    Pages 33-68
  5. Object-Relational Mapping

    • Mike Keith, Merrick Schnicariol
    Pages 69-106
  6. Collection Mapping

    • Mike Keith, Merrick Schnicariol
    Pages 107-129
  7. Entity Manager

    • Mike Keith, Merrick Schnicariol
    Pages 131-177
  8. Using Queries

    • Mike Keith, Merrick Schnicariol
    Pages 179-206
  9. Query Language

    • Mike Keith, Merrick Schnicariol
    Pages 207-238
  10. Criteria API

    • Mike Keith, Merrick Schnicariol
    Pages 239-271
  11. Advanced Object-Relational Mapping

    • Mike Keith, Merrick Schnicariol
    Pages 273-314
  12. Advanced Topics

    • Mike Keith, Merrick Schnicariol
    Pages 315-370
  13. XML Mapping Files

    • Mike Keith, Merrick Schnicariol
    Pages 371-406
  14. Packaging and Deployment

    • Mike Keith, Merrick Schnicariol
    Pages 407-428
  15. Testing

    • Mike Keith, Merrick Schnicariol
    Pages 429-456
  16. Migration

    • Mike Keith, Merrick Schnicariol
    Pages 457-480
  17. Back Matter

    Pages 481-503

About this book

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

About the authors

Mike Keith wasthe co-specification lead for JPA 1.0 and a member of the JPA 2.0 and JPA 2.1expert groups. He sits on a number of other Java Community Process expertgroups and the Enterprise Expert Group (EEG) in the OSGi Alliance. He holds aMasters degree in Computer Science from Carleton University, and has over 20years experience in persistence and distributed systems research and practice.He has written papers and articles on JPA and spoken at numerous conferencesaround the world. He is employed as an architect at Oracle in Ottawa, Canada,and is married with four kids and two dogs.

Bibliographic Information

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access