Goals
- Effectively manage data persistence
- Master the mechanisms of JPA
- Use of TopLink in a JEE application
Program
Architecture of a JEE application
Contributions of Java 5 (annotations)
Java persistence techniques
Object-relational mapping
Existing frameworks (Hibernate, TopLink, EJB)
Presentation of JPA (Java Persistence API)
Integration of the JPA layer in a JEE application
TopLink implementation of JPA
Implementing a persistent class
Object-relational mapping using annotations
Configuration properties
JPA persistence engine (TopLink)
Queries (JPQL / EJB QL) and saving a persistent object
Contributions of mapping with JPA
Development: Beans, serialization, associations
Mapping of classes: id and properties
Mapping of associations (embedded, one-to-one, one-to-many, …)
Mapping of inheritance
Loading (reading techniques, strategies)
CRUD operations: insertion, reading, updating and deletion
Lifecycle of persistent objects
Synchronization with the database (flushing)
Persistence cascade (write)
Language
overview Query queries and data operations
Subqueries and predicates
Queries with joins
Projections with JPQL / EJB QL and dynamic instantiation
Queries on sets
Insertion / modification control
Mapping of classes and properties (composite keys, multi-tables)
Mapping of associations (list map, many-to-many)
Requirements
ACID Properties
Transaction Management (JTA)
Locking Techniques
Application Example
Duration
3 days
Price
£ 1700
Audience
All
Prerequisites
Knowledge of Java, SQL, XML (optional)
Reference
JAV223-F
Sessions
Contact us for more informations about session date