Who Can Benefit
Application Developers
Prerequisites
- Knowledge of the Java programming language
- Basic knowledge of relational database concepts
Skills Gained
Upon completion of this course, participants should have an understanding of how to use the Java Persistence API to build data-driven applications with the Java SE and Java EE platforms.
Course Content
Module 1 - Content
- The Java Persistence API The role of the Java Persistence API in a Java technology application
- Understanding the principles of Object Relational Mapping
- The key concepts of persistence contexts and persistence units
- Implementing Entity Classes Modeling persistent state
- Entity identity
- Modeling entity relationships
- Modeling inheritance relationships
- Using the EntityManager API Controlling the entity lifecycle
- Using managed and detached entities
- Using the Java Persistence API Query Language Defining static queries
- Defining dynamic queries
- Deciding when and how to use SQL queries
- Controlling the Object/Relational Mapping Understanding the defaults
- Configuring with annotations
- Configuring and/or overriding with XML
- Implementing with Container-Managed and Application-Managed Persistence Contexts Implementing with JTA transactions
- Implementing using the EntityTransaction API
- Using the bootstrapping APIs in Java SE environments
- Leveraging Container Services for Java Persistence Understanding transaction propagation and persistence context propagation
- Using extended persistence contexts to implement conversations
- Configuring and Packaging a Java Persistence Application




