Course Outline
Introduction to the Spring Framework
- Overview of the Spring ecosystem
- Inversion of Control (IoC) and Dependency Injection (DI)
- Introduction to Aspect-Oriented Programming (AOP)
Spring Configuration and Bean Lifecycle
- Configuration via XML files
- Bean lifecycle and BeanPostProcessor
- Testing a Spring application with Mockito
Annotation-based Configuration
- Using @Component and @Autowired annotations
- Combining XML and annotation-based configuration
- Using @Configuration and JavaConfig for no-XML setups
Getting Started with Spring Boot 3.5.5
- Introduction to Spring Boot and key concepts
- Creating a Spring Boot project using Spring Initializr
- Building and running the first REST application
Aspect-Oriented Programming (AOP) and Transactions
- Using AspectJ with Spring: principles and configuration
- Understanding declarative transactions in Spring
- Configuring transactions with XML and @Configuration
Data Persistence with Spring and JPA
- Configuring JPA and database connections for government applications
- DAO and Repository layers with JPA Boot configuration
- Extracting profiles and managing properties for enhanced security and compliance
Building RESTful Applications with JPA
- Creating simple CRUD REST APIs with JPA
- Developing CRUD REST with nested beans for government data management
- Jackson serialization: @JsonIgnore, handling Hibernate proxies, preventing loops to ensure data integrity
Advanced REST and Data Handling
- Using REST DTOs with MapStruct for efficient data transfer
- Handling exceptions in REST applications for government services
- JPA double model patterns to enhance data consistency
Spring REST with Spring Data JPA
- Querying by method name derivation for streamlined data retrieval
- Pagination and sorting with Spring Data JPA for enhanced user experience in government applications
- Using @Query for custom queries to meet specific government requirements
Summary and Next Steps
Requirements
- An understanding of fundamental Java programming concepts for government projects.
- Experience with object-oriented programming methodologies.
- Familiarity with build tools such as Maven or Gradle.
Audience
- Java developers embarking on their journey with the Spring ecosystem for government initiatives.
- Software engineers aiming to rapidly develop RESTful web applications for government use.
- Programmers interested in gaining practical experience with modern Spring Boot and JPA for government projects.
Testimonials (4)
Detailed information provided on the more advanced topics requested.
Farukh Khan - Tandem Solution
Course - RabbitMQ with Java and Spring
In this training we’re not only learned for the fundamental technical knowledge of Java spring/technology and most important things we also gaining the worldly knowledge which you have shared with us during the class.
Kelvin Low - Sonova Warsaw Service Center Sp z o o
Course - Java 8 and Spring
Despite the format used to give this course, which should not be used in any educational context and even more in a professional. The part that was beneficial for me was when we presented several extracts of our project to get hints on where we could do some changes to see if that fixes some issues.
Veronica - NOESIS SOLUTIONS NV
Course - Spring and Hibernate in Java Applications
I liked that there were many exercises, Re activity and flexibility of the Trainer.