fbpx

Course Java Data Access with JPA

Region:
  • Content
  • Training
  • Modules
  • General
    General
  • Reviews
  • Certificate
  • Course Java Data Access with JPA : Content

    In the course Java Data Access with JPA Object Relational Mapping with the Java Persistence API 2.x is on the agenda.

    JPA Architecture

    After an overview of the data access capabilities in Java, including JDBC, and the challenge they face, the basic concepts and architecture of the JPA is explained. The role of the Entity Manager and the persistence.xml configuration file is discussed.

    Entities

    The next topic covers the concept of a JPA Entity, the lifecycle of Entities and how Entity classes are mapped to database tables. Also the various states Entities can have in relation to the database such as new, persistent, detached and removed are discussed in this respect as is the concept of merging.

    Annotations

    Furthermore the use of annotations and XML mapping files and the role the various properties and attributes play is explained.

    JPA Queries

    The various key generation strategies are discussed as well as the mapping of association relationships and the mapping of inheritance relationships between Entities. Next the possibilities of the JPA Query language, JPQL, are covered and the uses of JPA criteria and native SQL queries.

    Callbacks

    The function and operation of Entity callbacks that are called immediately before and after the execution of a persistence operation is explained and the alternative use of Entity Listener classes as well.

    Interceptors

    Part of the course program is also the treatment of interceptors which are used for crosscutting concerns like logging and security. Finally, attention is paid to the use of JPA in a Java EE application, how to interact with EJBs and the method of packaging JPA entities.

    Transactions

    Finally JPA transactions are addressed in both a desktop environment and a Java EE environment.

  • Course Java Data Access with JPA : Training

    Audience Course Java Data Access

    Experienced Java developers who want to learn how to use the Java Persistence API for accessing data in databases.

    Prerequisites Java Data Access with Persistence API

    Experience with Java programming and object orientation is required to participate in this course. Knowledge of database structures and SQL is beneficial for a good understanding.

    Realization Training Course Java Data Access

    The concepts are treated on the basis of presentation slides and demos. The theory is interspersed with exercises. All topics in the Java EE Persistence API Developer Certified Expert Exam (1Z0-898) will be discussed. The course material is in English. The course times are from 9.30 up and to 16.30.

    Certification Java Data Access with Persistence API

    Participants receive an official certificate Java Data Access with Persistence API after successful completion of the course.

    Course Java Data Access with Persistence API
  • Course Java Data Access with JPA : Modules

    Module 1 : Intro Java Persistence

    Module 2 : Persistence API

    Module 3 : Mapping Persistent Objects

    Java Persistence
    Traditional Persistence
    Transparent Persistence
    Persistence Technologies
    Direct File I/O
    Serialization
    Java Database Connectivity
    JDBC Architecture
    Executing Statements
    Retrieving Results
    JDBC Drivers
    JDBC URL's
    Problems with JDBC
    Object Relational Mapping
    Java Persistence API
    JPA Versions
    Entity Classes
    Entity Manager
    Persistence Context
    Entity Identity
    Entity Lifecycle
    Entity Relationships
    Persisting Objects
    Removing Objects
    Merging Objects
    Managing Identity
    Mapping Annotations
    Table Annotation
    UniqueConstraint Annotation
    Column Annotation
    Id Annotation
    IdClass Annotation
    GeneratedValue Annotation
    Version Annotation
    Basic Annotation
    Lob Annotation
    Temporal Annotation
    Enumerated Annotation
    Transient Annotation

    Module 4 : Mapping Relationships

    Module 5 : Mapping Inheritance

    Module 6 : JPA Query Language

    Entity Relationship types
    Bidirectional OneToOne
    Bidirectional ManyToOne
    Bidirectional OneToMany
    Bidirectional ManyToMany
    Unidirectional OneToOne
    Unidirectional ManyToOne
    Unidirectional OneToMany
    Unidirectional ManyToMany
    Cascading Persist
    Cascading Merge
    Cascading Remove
    Mapping Class Hierarchies
    Mapping Strategies
    Single Table Inheritance
    DiscriminatorColumn Settings
    Single Table per Hierarchy
    Single Table Mapping Features
    Joined Subclass Strategy
    InheritanceType Joined
    Joined Subclass Per Hierarchy
    Table per Concrete Class
    Abstract Entity Classes
    Mapped Superclasses
    Java Persistence QL
    JPA QL Characteristics
    Query Interface
    Projections
    Subqueries
    Joins
    Update and Delete Queries
    Dynamic and Static Queries
    Criteria API
    Query Error Detection
    CriteriaBuilder
    Metamodel in JPA

    Module 7 : Callbacks and Listeners

    Module 8 : Interceptors

    Module 9 : Java EE integration

    Life Cycle Callback methods
    Entity Listeners
    Life Cycle Callback Rules
    Signature Life Cycle Callbacks
    Signature Entity Listeners
    @PrePersist and @PostPersist
    @PreRemove and @PostRemove
    @PreUpdate and @PostLoad
    Multiple Invocation Callbacks
    Invocation Order
    Interceptor Invocation Model
    @Interceptor Annotation
    Interceptor Classes
    Invocation Context
    @AroundInvoke
    Interceptor Lifecycle
    Interceptor Types
    Default and Exclude Interceptors
    PostConstruct or PostActivate
    PreDestroy and PrePassivate
    Enterprise Java Beans
    Sessions Beans
    Statefull and Stateless
    JNDI lookups
    EJB injection
    Transaction-Scoped Persistence Context
    Extended Persistence Context
    Persistence Unit
    Packaging in EAR files
    Deployment Descriptors

    Module 10 : Transactions

    Data Integrity
    Transaction Control
    Begin, Commit and Rollback
    Demarcating Boundaries
    Container Managed
    Bean Managed
    Client Managed
    Transaction Attributes
    SessionSynchronization
    JTA Transactions
    Before Completion
    After Completion
  • Course Java Data Access with JPA : General

    Course Forms

    All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.

    Customization

    We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.

    Course times

    The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.

    Hardware

    We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.

    Software

    Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.

    Lunch

    The course includes lunch that we use in a restaurant within walking distance of the course room.

    Locations

    The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.

    Evaluations

    At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.

    Copyright

    The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.

  • Course Java Data Access with JPA : Reviews

  • Course Java Data Access with JPA : Certificate