Spring Boot 4 in Practice
A guided tour of Spring Boot 4 through a single running application. Starts from an empty project and builds CinéTrack chapter by chapter, covering REST APIs, persistence, security, caching, testing, and containerization. All 16 chapters use the same codebase so nothing exists in isolation.
Coming Soon
What you'll learn
Auto-configuration, beans, and the application context from the inside
Building REST APIs with validation and structured error handling
Persisting data with Spring Data JPA and managing entity relationships
Database migrations with Flyway from the very first chapter
Calling external services with RestClient
Authentication and authorization with Spring Security
File uploads, caching, and dynamic search in a real application
Writing tests that actually catch regressions in Spring Boot apps
Observability with Actuator, metrics, and structured logging
Containerizing and deploying a Spring Boot application with Docker
Table of Contents
16 chapters · CinéTrack monolith
- 01 Meet Spring Boot 4
- 02 Beans, Configuration, and the Application Context
- 03 Building REST APIs
- 04 Validation and Error Handling
- 05 Persisting Data with Spring Data JPA
- 06 Relationships and Advanced Mapping
- 07 Database Migrations with Flyway
- 08 Calling External APIs with RestClient
- 09 Authentication and Authorization with Spring Security
- 10 File Uploads and Static Resources
- 11 Search and Dynamic Queries
- 12 Caching
- 13 Testing Spring Boot Applications
- 14 Observability: Actuator, Metrics, and Logging
- 15 Packaging and Running with Docker
- 16 What Comes Next