Spring Recipes: A Collection of Common-Sense Solutions
summary
Clear, practical steps for upgrading and building Spring apps: migrate to Java 17 and Spring Boot 3 / Spring Framework 6 with the Spring Boot properties migrator and Jakarta EE10 fixes, validate REST bodies with spring-boot-starter-validation and @Valid, use Spring for GraphQL or WebClient/RestTemplate/HTTP interfaces for clients, prototype with H2 then run Postgres via Docker compose and schema.sql, bootstrap with CommandLineRunner, add observability with Actuator, circuit breakers and Spring Cloud Stream/Contract, secure with SecurityFilterChain and OAuth2 resource server (JWT), speed tests with Testcontainers and optionally build native images with GraalVM.
AI-written summary · about
chapters (16)
- 0:00Introduction and speakers
- 3:56Spring recipes overview
- 6:22Upgrading Spring Boot apps
- 11:16Validating REST inputs
- 14:23Getting started with GraphQL
- 18:38Consuming external APIs
- 23:13Working with databases
- 29:28Spring Cloud observability
- 31:52Circuit breaker pattern
- 33:15Event-driven architectures
- 35:45Spring Security changes
- 39:19Securing APIs with JWT
- 42:25Testing strategies
- 45:15Testing databases
- 48:26Containerization and native images
- 51:13Final thoughts and resources








