This course uses the latest version Spring 5.

This Introduction to Spring 5 and JPA 2 training class includes coverage of all the core Spring 5 and JPA 2 capabilities, as well as the integration capabilities provided by Spring. It provides extensive coverage of using Spring and JPA together, as well as using Spring Boot for dependency management and creating JPA-based repositories using Spring Data. All capabilities are practiced via an extensive set of hands-on labs. Enroll & Get Certified now!

  • ✔ Course Duration : 16 hrs
  • ✔ Training Options : Live Online / Self-Paced / Classroom
  • ✔ Certification Pass : Guaranteed

16 hrs

Minimum Course Duration


Countries And Counting


Corporates Served

20+ hrs



This Introduction to Spring 5 and JPA 2 training class includes coverage of all the core Spring 5 and JPA 2 capabilities, as well as the integration capabilities provided by Spring. It provides extensive coverage of using Spring and JPA together, as well as using Spring Boot for dependency management and creating JPA-based repositories using Spring Data. All capabilities are practiced via an extensive set of hands-on labs.
This course covers all basic JPA concepts, including mapping persistent classes, and using EntityManager and EntityManagerFactory to access and manipulate persistent entities. Querying with the Java Persistence Query Language (JPQL) is covered in depth, from basic queries to more advanced queries like eager queries using left joins. It also includes coverage of advanced concepts such as collections of value objects, relationships, and inheritance and polymorphic queries.

What you will Learn

  • Understand the core principles of Spring, and of Dependency Injection (DI) / Inversion of Control
  • Use the Spring Core module and DI to configure and wire application objects (beans) together
  • Understand and use the complete capabilities of the Core module, such as lifecycle events, bean scopes, and the Spring API
  • Understand the benefits of JPA and the JPA Architecture
  • Understand and use JPA mapping to map persistent objects to the database
  • Work with JPA queries and JPQL
  • Use JPA's versioning support
  • Map inheritance hierarchies using JPA
  • Integrate Spring/JPA with Java EE Web applications
  • Use Spring Data to automatically generate JPA-based repositories with auto-generated queries


  • Good practical Java programming skills, including use of inheritance and interfaces
  • Some familiarity with SQL and databases.


learning objective
  • Overview of Spring Technology
    1. Motivation for Spring, Spring Architecture
    2. The Spring Framework
  • Spring Introduction
    1. Declaring and Managing Beans
    2. ApplicationContexts - The Spring Container
    3. XML and @Component/@Named Config
  • Dependencies and Dependency Injection (DI)
    1. Examining Dependencies
    2. Dependency Inversion / Dependency Injection (DI)
    3. DI in Spring - XML and @Autowired
learning objective
  • Java Based Configuration (@Configuration)
    1. Overview, @Configuration, @Bean
    2. Dependency Injection
    3. Resolving Dependencies
  • Integrating Configuration Types
    1. XML and @Component Pros/Cons
    2. @Configuration Pros/Cons
    3. Choosing a Configuration Style
    4. Integrating with @Import and
  • Bean Scope and Lifecycle
    1. Singleton, Prototype, and Other Scopes
    2. Configuring Scope
    3. Bean Lifecycle / Callbacks
  • Externalizing Properties
    1. Properties Files
    2. @PropertySource, property-placeholder
    3. Using @Value
    4. SpEL
  • Profiles
    1. Overview and Configuration
    2. Activating Profiles
learning objective
  • maven and Spring
  • Spring Boot Structure
  • Spring POMs with Boot Parents
  • Spring Boot Starters
  • Other Capabilities
learning objective
  • Testing and JUnit Overview
    1. Writing Tests - Test Classes, asserts, Naming Conventions
    2. Running Tests - IDE, maven, ...
    3. Test Fixtures - setup and teardown
  • Spring TestContext Framework
    1. Overview
    2. Configuration
    3. Running Tests
learning objective
  • Overview
    1. Persistence Layers, Object-Relational Mapping (ORM), JDBC
    2. JPA Overview
  • Mapping with JPA
    1. Entities and @Entity, ids and @Id,
    2. Generated Id Values
    3. Basic Mapping Types
  • Mapping with JPA
  • Persistence Unit and EntityManager
    1. Persisting to the DB, the EntityManager API
    2. Persistence Units, Config, Persistence Context
    3. Retrieving Persistent Entities with find()
  • Mapping with JPA
  • More About Mappings
    1. Default Mappings, @Basic, @Column
    2. Field vs. Property Access
    3. Temporal (Date/Time) Mappings
    4. Java 8 Data/Time Mapping
  • Mapping with JPA
  • equals() and hashCode()
  • Logging Options (Provider based)
learning objective
  • Spring's DataSource Support
  • Managing the EntityManager (EM)
  • LocalContainerEntityManagerFactoryBean and Container-managed EMs
  • JEE and JNDI Lookup of the EM
  • Configuration and Vendor Adaptors
  • Creating a JPA Repository/DAO Bean - @PersistenceUnit, @PersistenceContext
learning objective
  • Inserting Updating, and Deleting Entities
  • Querying and JPQL
    1. Entity Based Queries, SELECT ,WHERE
    2. Query Interface, Executing Queries, Generic Queries (JPA 2)
    3. JPQL Operators, Expressions, and Parameters
    4. Named Queries
  • Additional Query Capabilities - Projection and Aggregate Query, Embedded Objects
learning objective
  • TX Overview and JPA Transactions
  • Spring's Declarative TX Management (REQUIRED, etc.)
  • @Transactional
  • TX Scope and Propagation
  • Pointcut-based Configuration of Transactions
learning objective
  • The Persistence Lifecycle
    1. JPA Entity States (New, Managed, Detached, Removed), and Entity State Diagram
    2. Persistence Context - Lifespan, Propagation
    3. Synchronization to the DB
  • Versioning and Optimistic Locking
  • Lifecycle Callback
    1. @PrePersist, @PostPersist, etc.
    2. Entity Listeners, @EntityListeners
  • Versioning and Optimistic Locking
learning objective
  • Relationships Overview: Object Relationships, Participants, Roles, Directionality, Cardinality
  • Relationship Mapping
    1. Mapping Overview (1-1, 1-N, N-1, N-N)
    2. Unidirectional and Bidirectional
    3. @ManyToOne, @OneToMany, @ManyToMany, @OneToOne with Table Structures
    4. Relationship Inverse - Owning Side
    5. Collection Types (List, Set, etc)
    6. Cascading, Lazy and Eager Loading
    7. Queries Across Relationships (Inner Joins, Outer Joins, Fetch Joins)
  • Entity Inheritance Mapping
    1. Overview
    2. Single Table, Joined (Table per Subclass), Table per Concrete Class Mappings
    3. Pros and Cons of Mapping Strategies
learning objective
  • Integrating Spring with Java EE Web Apps
    1. ContextLoaderListener
    2. WebApplicationContext
    3. Using Spring beans in Wep app controller logic
  • Open EntityManager in View
    1. Lazy Loading Issue in Web Apps
    2. Open EntityManager in View Pattern
    3. Using Spring's OpenEntityManagerInViewFilter/Interceptor
learning objective
  • Spring Data Overview
    1. Overview and Architecture
    2. Configuring Spring Data
    3. Repositories and JPA Repositories
    4. Using CrudRepository
  • Using Spring Data
    1. Naming Conventions for Querying
    2. Creating more Complex Queries
    3. Query Configuration
  • Additional Topics
    1. Spring 5: Core Updates
    2. JPA: Embedded Objects
    3. JPA: Compound Primary Keys
    4. JPA: Element Collections


You can enroll for this classroom training online. Payments can be made using any of the following options and receipt of the same will be issued to the candidate automatically via email.
1. Online ,By deposit the mildain bank account
2. Pay by cash team training center location

Highly qualified and certified instructors with 20+ years of experience deliver more than 200+ classroom training.

Contact us using the form on the right of any page on the mildaintrainings website, or select the Live Chat link. Our customer service representatives will be able to give you more details.

You will never miss a lecture at Mildaintrainigs! You can choose either of the two options: View the recorded session of the class available in your LMS. You can attend the missed session, in any other live batch.

We have a limited number of participants in a live session to maintain the Quality Standards. So, unfortunately, participation in a live class without enrollment is not possible. However, you can go through the sample class recording and it would give you a clear insight about how are the classes conducted, quality of instructors and the level of interaction in a class.

Yes, you can cancel your enrollment if necessary prior to 3rd session i.e first two sessions will be for your evaluation. We will refund the full amount without deducting any fee for more details check our Refund Policy

Yes, the access to the course material will be available for lifetime once you have enrolled into the course.

Just give us a CALL at +91 8447121833 OR email at info@mildaintrainings.com

Call us At

+91 8447121833

Available 24x7 for your queries
Request More Information

Training Features

Experiential Workshops

Top-rated instructors imparting in-depth training, hands-on exercises with high energy workshop

Certificate Exam Application Assistance

The training program includes several lab assignments, developed as per real industry scenarios.

Certificate Exam Success Formula

Training begins taking a fresh approach from basic, unique modules, flexible, and enjoyable.

Certificate Journey Support

Basic to intermediate and eventually advanced practicing full hands-on lab exercises till you master.

Free Refresh Course

Refresh training for experts for mastering and enhancing the skills on the subjects with fresh course modules.

Exclusive Post-Training Sessions

Includes evaluation, feedback, and tips to handle critical issues in live setup after you are placed in a job.

Mildain's Master Certificate

Earn your certificate

This certificate proves that you have taken a big leap in mastering the domain comprehensively.

Differentiate yourself with a Masters Certificate

Now you are equipped with real-industry knowledge, required skills, and hands-on experience to stay ahead of the competition.

Share your achievement

Post the certificate on LinkedIn and job sites to boost your profile. Notify your friends and colleagues by sharing it on Twitter and Facebook.

whatsapp arrow
Corporate // load third party scripts onload