Bootiful Spring Boot 4
summary
Spring Boot 4 demo builds an adoption service using Maven, Java 25 (showing Java scripting), Spring Modulith with an event_publication outbox table for eventual consistency, Spring Data AOT-generated repositories, declarative HTTP clients, retry with maxAttempts=4 and a concurrency limit of 10, WebAuthn passkeys and one‑time tokens, and GraalVM native image that boots in 0.13s native startup and uses 124MB memory versus ~856MB for a Chrome JS client — all features work end-to-end in the demo.
AI-written summary · about
chapters (26)
- 0:00Introduction
- 1:51Spring Boot 4 and Spring 7
- 3:39New Spring Boot 4 project
- 4:22Java 25 scripting and virtual threads
- 5:26Animal adoption service
- 8:16Spring Modulith introduction
- 11:07Modular code design
- 12:54Adoption feature implementation
- 15:26Demo: Prancer the demonic Chihuahua
- 16:50Decoupling with events
- 19:15Eventual consistency
- 21:01Testing modular structure
- 22:04Cat facts with declarative clients
- 24:06Resilient methods
- 27:42Handling downstream failures
- 28:43Virtual threads and thread pinning
- 29:23Versioned API endpoints
- 34:02Securing with Spring Security
- 35:04Authentication and password migration
- 37:50One-time tokens
- 41:49WebAuthn for passkeys
- 45:03Multi-factor authentication
- 46:48GraalVM native image
- 48:34Music Maven plugin
- 50:22Java vs JavaScript performance
- 51:04Closing and call to action








