Tagged articles

Spring Framework 7

7 articles · Page 1 of 1
LuTiao Programming
LuTiao Programming
Sep 29, 2026 · Backend Development

Spring Boot Retry Pitfall: Timeout ≠ Failure — Idempotency & Concurrency Fixes

The article explains why naive retries after timeouts cause duplicate orders in Spring Boot, demonstrating how to properly classify retryable exceptions, implement idempotency with stable request IDs, handle non-idempotent third-party APIs via query-before-retry, add concurrency limits with @ConcurrencyLimit, and separate concerns into Service, Gateway, and Client layers using Spring Framework 7's @Retryable.

Backend PatternsConcurrency LimitIdempotency
0 likes · 14 min read
Spring Boot Retry Pitfall: Timeout ≠ Failure — Idempotency & Concurrency Fixes
LuTiao Programming
LuTiao Programming
Sep 10, 2026 · Backend Development

Spring Framework 7 Retry & ConcurrencyLimit: Avoiding the Traffic Amplifier Trap

The author migrates from hand-written retry code and Spring Retry to Spring Framework 7's built-in @Retryable and @ConcurrencyLimit, discovering that retry logic can amplify downstream traffic under virtual threads, and shares lessons on selective exception handling, jitter, idempotency for write operations, and the difference between local concurrency limits and distributed rate limiting.

Circuit BreakerConcurrencyLimitIdempotency
0 likes · 16 min read
Spring Framework 7 Retry & ConcurrencyLimit: Avoiding the Traffic Amplifier Trap
LuTiao Programming
LuTiao Programming
Sep 1, 2026 · Backend Development

Why I Dropped @FeignClient After Years of Use: Spring Boot’s Built‑In HTTP Service Client

The author refactors an old Spring Cloud project by removing Feign, replacing @FeignClient with Spring Boot 4.x’s native @HttpExchange and @ImportHttpServices, and demonstrates that Spring’s built‑in HTTP Service Client provides the same declarative convenience with less boilerplate, while still supporting custom configuration, error handling, and reactive use cases.

Declarative HTTPFeignHTTP Service Client
0 likes · 14 min read
Why I Dropped @FeignClient After Years of Use: Spring Boot’s Built‑In HTTP Service Client
Programmer DD
Programmer DD
Aug 19, 2025 · Backend Development

What’s New in Spring Boot 4? Explore the Latest Features and Enhancements

Spring Boot 4, built on Spring Framework 7, introduces elegant API versioning, streamlined Bean registration, null‑safety annotations, simplified HTTP proxy creation, upgraded SPEL, GraalVM native support, Jackson 3.x, newer Servlet/WebSocket versions, and numerous other enhancements, offering developers more powerful and convenient tools.

Bean RegistrationGraalVMJava
0 likes · 8 min read
What’s New in Spring Boot 4? Explore the Latest Features and Enhancements
Java Architecture Diary
Java Architecture Diary
May 28, 2025 · Backend Development

Mastering API Versioning in Spring Boot 4.0 with Spring Framework 7

This article explains how Spring Framework 7, bundled in Spring Boot 4.0 snapshot, introduces native API version control via a new `version` attribute on `@RequestMapping`, demonstrates basic and advanced configuration examples, showcases common versioning strategies, and provides testing commands to help developers manage API evolution efficiently.

API VersioningBackend DevelopmentSpring Boot
0 likes · 6 min read
Mastering API Versioning in Spring Boot 4.0 with Spring Framework 7