課程簡介

Introduction to 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 app 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
  • DAO and Repository layers with JPA Boot configuration
  • Extracting profiles and managing properties

Building RESTful Applications with JPA

  • Creating simple CRUD REST APIs with JPA
  • Developing CRUD REST with nested beans
  • Jackson serialization: @JsonIgnore, handling Hibernate proxies, preventing loops

Advanced REST and Data Handling

  • Using REST DTOs with MapStruct
  • Handling exceptions in REST applications
  • JPA double model patterns

Spring REST with Spring Data JPA

  • Querying by method name derivation
  • Pagination and sorting with Spring Data JPA
  • Using @Query for custom queries

Summary and Next Steps

最低要求

  • An understanding of basic Java programming concepts
  • Experience with object-oriented programming
  • Familiarity with build tools such as Maven or Gradle

Audience

  • Java developers beginning their journey with the Spring ecosystem
  • Software engineers who want to build RESTful web applications quickly
  • Programmers seeking hands-on experience with modern Spring Boot and JPA
 14 時間:

人數


每位參與者的報價

客戶評論 (4)

即將到來的課程

課程分類