Java Persistence with JPA

Daoqi Yang, Java Persistence with JPA, Outskirts Press, Denver, Colorado, 2010, ISBN: 978-1-4327-5585-0, Library of Congress Control Number: 2010922437, 390 pages, Price: $38.95.

View Cover  


This new book presents concise and complete coverage of Java Persistence API 2.0, the latest Java technology on persisting Java objects to relational databases. JPA 2.0 is part of Java EE 6.0 standards, but can be used in both Java SE and Java EE applications. This is a new Java persistence standard based on object-relational mapping and utilizing object-oriented features of Java. It is expected to gradually replace JDBC and proprietary object-relational mapping frameworks/libraries for most Java applications with database access. JPA makes software development fun and leads to improved productivity.

The book introduces concepts, techniques, and application trade-offs in a manner that is easy to understand and provides many code examples for an online book ordering system. The Java source code and database DDL are freely downloadable from the author's web site. The book contains instructions on how to run the code examples so that the reader can easily learn the concepts through running the code. The book is suitable for Java developers and architects who want to learn this new and standard technology, but have no prior knowledge of JPA.

This book is also aimed at experienced JPA developers who may use this book as a reference, by providing complete coverage of JPA 2.0. It has a special chapter on JPA design patterns and performance tuning. This book will prove to be valuable for novice and experienced JPA developers.

Download Source Code

zip file (128KB) (last updated 2010-05-28, tested with EclipseLink 2.0.2)

Errata for the Book or Provide Feedback

Click Here

About the Author

Daoqi Yang is a Sun Certified Enterprise Architect, with 10 years of industrial software development experience in the metro Detroit area, and 5 years of academic research and teaching experience at Wayne State University and University of Minnesota. He received his Ph.D. from Purdue University, USA and B.S. from Shandong University, China. He is the author of the book: C++ and Object-Oriented Numeric Computing for Scientists and Engineers, and more than 20 research papers in international journals in the fields of applied mathematics and scientific computing. He is currently a solution architect at GMAC Financial Services, located in Southfield, Michigan.

JPA Resources

Java EE 6 Javadoc
Java SE 6 Javadoc
JPA 2.0 ORM Schema
JPA 2.0 Persistence Schema
JPA 1.0 ORM Schema
JPA 1.0 Persistence Schema
JPA 1.0 Specification
JPA 2.0 Specification
EJB 3.1 Specification
Bean Validation 1.1 Specification
Eclipse IDE
Derby Database
Sun Java EE Technical Articles & Tips
Sun Java SE Tutorial
Sun Java EE 6 Tutorial
Sun Persistence Page