Intro
Agenda
Background
Primary Features
Entities
Entities Example
Entity Identity
Relationships
Persistence Context
persist
cascading persist
remove
merge
Queries
Dynamic Query
Static Query
JPQL
Projection
Subqueries
Joins
Update, Delete
O/R Mapping - 1
O/R Mapping - 2
Simple Mappings - 1
Simple Mappings - 2
Simple Mappings - 3
Relationships
ManyToOne - 1
ManyToOne - 2
OneToMany - 1
OneToMany - 2
ManyToMany - 1
ManyToMany - 2
ManyToMany - 3
Java SE APIs
Entity Transactions
Bootstrap Classes
Java SE Example
Current Status
Summary
For More Information
The recently-released EJB 3.0 specification has perhaps been one of the most talked-about technologies that has emerged from JCP for some time. At the center of attention is the Java Persistence API, a lightweight persistence model that acts as a point of convergence for the dominant persistence products currently on the market.
Standardization of persistence inside of the Java EE platform, as well as in the SE environment, will finally provide enterprise applications with the ability to write to one API and be able to run on the vendor of their choice. This talk covers the core concepts of the API and describe how it can be used in applications. Some of the things that will be discussed will include:
Persistent identity
EntityManagers and persistence contexts
Object-relational mapping using annotations and XML
Dynamic and static queries
Using the API outside a container
Packaging and deploying
Mike Keith is the co-specification lead of EJB 3.0 (JSR 220) and a member of the Java EE 5 expert group (JSR 244). He has 15 years of teaching, research and practical experience in object-oriented and distributed systems, specializing in object persistence. His expertise has stemmed from designing and implementing numerous persistent object systems for Fortune 100 corporations. He has been involved in EJB since its initial release and other forms of persistence since long before EJB. He is an architect for Oracle TopLink and the Oracle OC4J Java EE Container and is a popular speaker at numerous conferences and events. Mike co-authored the book "Pro EJB 3: Java Persistence API".
Patrick Linskey has been working with O/R mapping for over six years. He is an active member of both the JDO 2.0 and EJB 3.0 expert groups, and is on the JAOO Conference Program Committee.
As the founder and CTO of SolarMetric, Patrick drove the technical direction of the company. Now at BEA, he leads the EJB team in designing and implementation of the WebLogic Server EJB solution.
He has been the face of standards-based persistence, having evangelized JDO and EJB Persistence in hundreds of talks throughout the world. Under Patrick's leadership, Kodo has become the market leading JDO implementation with over 350 customers throughout the world spanning all industries, and is now the basis for the WebLogic Server EJB persistence provider.