JPA Training: The Java Persistence API(This course is designed for individual and can be customized as per the business requirements) view class outline
|Course No: DG-J211 view class outline||Course Duration: 5 Days (40 Hrs.)|
|Ratio of Hands-on/Lecture:
70% hands-on/practical, 30% lecture.
|S/W Required: JDK 6, Eclipse, JBoss 7.0 and MySQL|
|Delivery Options :
Live Online Training - Public Class (4 days) : $1500.00
Customized OnSite Training Request a Proposal
Class Room Week End Learning Request a Proposal
|Location and Pricing : Price of training depends on location and mode of training class. To receive a customized proposal and price quote Get Quote Read More...|
|Study Material: Study material, related courseware, and copies of all files developed during the class provided by us.||Batch Size : 2-5, no scheduled batch would be cancel due to less no of participant. Batches are designed in such way so that proper attention can be given to the trainee in order to understand and use the technique tought by trainer.|
Training Mode :
JPA Training Overview
This course offers a comprehensive and detail-oriented treatment of the Java Persistence API (JPA) for developers interested in implementing persistence tiers for enterprise applications. We cover JPA basics including simple object/relational concepts and annotations, persistence contexts and entity managers, and configuration via persistence.xml. We get a good grounding in the Java Persistence Query Language (JPQL) and take advantage of a prepared JPQL query console to explore the two schemas on which the course's case studies are based. The course then moves into advanced topics including JPA-2.0 mapping options, the Criteria API, lifecycle hooks, JSR-303 validation, locking, and caching. Students will complete the course with a firm understanding of JPA architecture and plenty of hands-on exercise in entity mapping, persistence operations, and JPQL.
Course software includes two schemas: a fairly simple human-resources model (6 tables, 253 rows) for early chapters and a more sophisticated pharmacy schema (14 tables, 4255 rows) for the latter half of the course. The pharmacy schema is based on an open-source project and made available to Capstone Courseware by special permission.
This version of the course supports JPA 2.0 with a choice of two providers: EclipseLink 2.3, which is pre-configured for course exercises, and Hibernate® 4.0. Switching providers is just a matter of moving a few lines in and out of XML comments in the relevant persistence.xml file, and we encourage instructors to demonstrate both providers at least here and there, to illustrate portability and for comparison's sake over some finer points.
The course also supports either the Derby or Oracle® RDBMS. Derby is bundled with the course software and is pre-configured; a script is included to change over to Oracle configurations for all exercises and schema-creation scripts are available for both.
JPA Training Prerequisites
JPA Training Materials
JPA Training Objectives
- Understand the value of object/relational mapping and JPA's role as a standard for ORM implementations.
- Develop JPA entities using JPA annotations to align the Java classes, properties, and types to relational tables, columns, and types.
- Create entity managers and instantiate persistence contexts to perform persistence operations.
- Carry out create/retrieve/update/delete (CRUD) operations on JPA entities using entity managers.
- Implement entity relationships of all cardinalities, including unidirectional and bidirectional relationships.
- Implement special ORM cases such as composite primary keys, inheritance relationships, and cascading operations.
- Use JPQL to write object-oriented queries, and process query results.
- Use the Criteria API to define queries programmatically, and take advantage of type safety using the Metamodel API.
- Build reusable façades that encapsulate simpler and more complex persistence operations.
- Implement persistence lifecycle event handlers.
- Define JSR-303 validation constraints on JPA entities and see them enforced by the JPA provider.
- Make well-informed decisions about locking strategies, and understand the role of the JPA cache in enterprise applications.
1. Introduction to JPA
2. Object/Relational Mapping
3. Entity Managers
5. Advanced Mappings
6. The Criteria API
7. Lifecycle and Validation
8. Locking and Caching