Spring Boot 3 Articles
-
How to Standardize Error Responses with Problem Details (RFC 9457) in Spring Boot 3.x
Learn how to implement RFC-compliant error responses using the ProblemDetail class and ErrorResponse interface, leveraging the built-in Problem Details (RFC 9457) support introduced in Spring Boot 3.x. Includes migration steps from custom error response formats.
-
How to Implement a Circuit Breaker with Resilience4j in Spring Boot
A hands-on guide to implementing circuit breakers with Resilience4j and Spring Boot. Covers how to use @CircuitBreaker, @Retry, and @RateLimiter, fallback design, and parameter configuration via application.yml with practical code examples.
-
Spring Boot Virtual Threads (Java 21): Setup, Performance, and Pitfalls
Enable virtual threads in Spring Boot 3.2+ with one setting. Covers performance benchmarks vs platform threads, ThreadLocal behavior changes, pinning issues, and @Async integration.