Java Persistence with JPA

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

View Cover   View it at Outskirts Press  
 

Description

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 http://docs.oracle.com/javaee/6/api/
Java SE 6 Javadoc http://docs.oracle.com/javase/6/docs/api/
Java EE 7 Javadoc http://docs.oracle.com/javaee/7/api/
Java SE 7 Javadoc http://docs.oracle.com/javase/7/docs/api/
JPA Persistence and ORM Schemas http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/persistence/index.html
JPA 2.1 Specificationhttp://jcp.org/en/jsr/detail?id=338
JPA 2.0 Specification http://jcp.org/en/jsr/detail?id=317
JPA 1.0 Specificationhttp://jcp.org/en/jsr/detail?id=220
EJB 3.1 Specification http://jcp.org/en/jsr/detail?id=318
Bean Validation 1.1 Specification http://jcp.org/en/jsr/detail?id=303
EclipseLink http://www.eclipse.org/eclipselink/
http://wiki.eclipse.org/EclipseLink/UserGuide/
http://wiki.eclipse.org/EclipseLink/UserGuide/Developing_JPA_Projects_(ELUG)
http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_(ELUG)
OpenJPA http://openjpa.apache.org/
http://openjpa.apache.org/documentation.html
Hibernate http://www.jboss.com/products/hibernate/
http://www.hibernate.org/downloads.html
http://www.hibernate.org/docs.html
http://www.hibernate.org/subprojects/validator.html
JBoss http://www.jboss.org/jbossas/
https://www.jboss.org/community/wiki/JBossApplicationServerOfficialDocumentationPage
Eclipse IDE http://www.eclipse.org/
Derby Database http://db.apache.org/derby
Sun Java EE Technical Articles & Tips http://java.sun.com/javaee/reference/techart
Sun Java SE Tutorial http://java.sun.com/docs/books/tutorial
Sun Java EE 6 Tutorial http://java.sun.com/javaee/6/docs/tutorial/doc
Sun Persistence Page http://java.sun.com/javaee/technologies/persistence.jsp