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.
 14 Hours

Number of participants


Price per participant

Testimonials (4)

Upcoming Courses

Related Categories