Java Persistence: the next generation
The Java Persistence API, finalized in May of 2006, represents the unified persistence model for both Java SE and Java EE environments. Bringing together the expertise of the Hibernate, TopLink, and JDO communities, JPA is now the standard persistence model for Java applications. Java Persistence: the next generation presents a detailed overview of the JPA specification. The topics covered are:Object/Relational mapping using annotations; good-bye XDocletPackaging, the only XML you really need, EntityManager, where simplicity meets complexity, Java EE in an SE environment: Spring to the rescue, and JPQL, SQL done write.
Java Persistence, the next generation, covers the following topics:
- JPA Overview
- A briefer history of Java Persistence
- JPA Features
- Entities
- What is an Entity and what are its characteristics
- How to annotate your Entity, a whirlwind tour of JPA annotations
- JPA support for composition and aggregation relationships
- JPA Inheritance
- Packaging
- What is a persistence.xml file and why do you need one?
- EntityManager
- What is the EntityManager and why does it have a persistence context?
- Container managed EntityManager
- Application managed EntityManager
- How to use JPA in managed and unmanaged environment
- Java EE in an SE world
- How to use Spring to bridge the gap in a Java SE environment
- JQPL
- What is the JPQL and how to use it
- JPQL terminology explained
- How to use JPQL to traverse relationships
About Chris Maki
Chris Maki is a Principal Software Engineer at Overstock.com. Before joining Overstock.com, Chris was an independent consultant specializing in server-side Java development. He has been designing and building server-side systems for 15 years in C++, Objective-C, and Java.
Chris spent many years working as an enterprise architect specializing in large-scale Java system design and development. In addition to being a Java evangelist, he is an avid proponent of Agile Software Development.
Chris is the President of the Utah Java User Group and a member of the WebBeans expert group (JSR-299) and the JPA 2.0 expert group (JSR-317). He is also the author of JPA 101: Java Persistence Explained.
More About Chris »