Java Persistence with JPA 2.1

by Daoqi Yang


Book Details

This book is the second edition to my previous book: Java Persistence with JPA (Outskirts Press, Denver, March 2010, ISBN: 978-1-4327-5585-0). It adds the new features of JPA 2.1, reorganizes some existing chapters, and updates code examples and tools. The goal of this book is to provide a concise and comprehensive coverage of JPA 2.1, which is part of Java EE 7 but can be used in Java SE as well. Concepts are illustrated through code examples for easy understanding. It may serve as an introductory text for Java developers who do not know anything about JPA, and a reference book for experienced JPA developers who may look up for concepts and code snippets while they develop complex JPA applications. This book covers Java Persistence API 2.1, the latest Java technology on persisting Java objects to relational databases. 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 and 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 scripts 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 may not have 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.1. 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.


About the Author

Daoqi Yang

Daoqi Yang is a Sun Certified Enterprise Architect, with 13 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 an SOA architect at Ally Financial, located in Detroit, Michigan.

Also by Daoqi Yang

Java™ Persistence with JPA