This book introduces Java Persistence API 2.0, the latest Java technology on persisting Java objects into relational databases. It 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 for most Java applications with database access.
The book is written for Java developers and architects who know Java programming, but want to learn this new and standard technology. It is also aimed at experienced JPA developers who may use this book as a reference. This book tries to be easy to understand and provides many useful code examples. Also, it tries to be complete in JPA coverage. It has a special chapter on JPA design patterns and performance tuning. The author hopes to provide a valuable book for novice and experienced JPA developers.