This course 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.
Spring 5 provides an evolutionary advance of Spring’s powerful capabilities. The course introduces these capabilities, as well as providing guidelines on when and how to use them. It includes coverage of the three main configuration styles: Java-based (@Configuration), annotation-based (@Component), and the traditional XML-based configuration that may still play an important role in existing and new projects. It uses Spring Boot capabilities for dependency management in many of the labs.
The JPA material 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.
This course is hands on with labs to reinforce all the important concepts. It will enable you to build working Spring/JPA applications and give you an understanding of the important concepts and technology in a very short time.
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
Know the different types of metadata (XML, annotations/@Component, and Java Configuration/@Configuration), and how and when to use them
Understand and use the complete capabilities of the Core module, such as lifecycle events, bean scopes, and the Spring API
Use Spring Boot to simplify dependency management and configuration
Understand the benefits of JPA and the JPA Architecture
Create JPA based applications
Work with the ORM (Object-Relational Mapping) module to integrate Spring with JPA.
Understand and use Spring’s transaction support, including the easy-to-use Java annotation support, as well as the tx/aop XML configuration elements
Understand and use JPA mapping to map persistent objects to the database
Work with JPA queries and JPQL
Understand and work with collections and associations (Value and entity types, unidirectional, bidirectional, 1-1, 1-N, N-N
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