Intro
Introductions
Key Session Topics
EJB 3.0: A Two-Part Specification
Some Code
Some Code
EJB3 Java Persistence API
Domain Model: Entities
Example Object Model
Persistent Fields in Entities
JPA Metadata
Logical Metadata
Logical Metadata
ORM Metadata
ORM Metadata - Annotation edition
XML Metadata
Merged Metadata
Java Persistence APIs
JPA Usage: a Session Bean
Queries: JPQL
JPQL Syntax Examples
JPQL Syntax Examples
JPQL Syntax Examples
JPQL Syntax Examples
JPQL Syntax Examples
JPQL Syntax Examples
JPQL Syntax Examples
JPQL Syntax Examples
JPQL Syntax Examples
Optimistic Locking
Optimistic Lock Types
Optimistic Lock Control
Pessimistic Locking
Pessimistic Locking
getReference() and record deletion
getReference() and record deletion
Performance Caching
Performance Caching
Key Session Topics
Questions?
In this session Patrick explores the new Java Persistence API, and examine some common practices for how to write Spring applications that use JPA. Patrick will focus more on API usage than on mapping configuration, and will look at the bootstrapping and runtime behavior of JPA applications. You will learn about JPA's optimistic locking semantics, including the benefits of optimistic read locks. Patrick looks at when it's appropriate to use the different facilities of the Java Persistence Query Language (JPQL), and also discusses common extensions to the spec, including performance caching, pessimistic locking, and fetch strategies.
Patrick Linskey has been involved in object/relational mapping for 6+ years. As the founder and CTO of SolarMetric, Patrick drove the technical direction of the company and oversaw the development of Kodo. Now at BEA, he leads the EJB team in designing and implementation of the WebLogic Server EJB solution. Patrick is one of the leaders on the EJB3 and the JDO specification teams, and is BEA's representative on the EJB3 expert group. Patrick is involved in several industry consortia, serving as a luminary on JDOcentral and as the moderator on forthcoming JavaPersistence.com. He has been the face of standards-based persistence, having evangelized JDO and EJB Persistence in hundreds of talks throughout the world. Patrick is co-author of Bitter EJB, and is on the JAOO Conference Program Committee. Patrick has also worked for TechTrader, MIT's Media Lab and Bank One in various technical roles. Under Patrick's leadership, Kodo has become the market leading JDO implementation with over 450 customers throughout the world spanning all industries.