Tagged articles

Spring Boot 4

18 articles · Page 1 of 1
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
Java Tech Enthusiast
Java Tech Enthusiast
Sep 10, 2026 · Backend Development

Migrating from Feign to @HttpExchange in Spring Boot 4: Why a Full Rewrite Isn't Worth It

The author shares practical experience replacing OpenFeign with Spring's @HttpExchange during a Spring Boot 4 upgrade, demonstrating configuration simplification, authentication handling via RestClient interceptors, error mapping with defaultStatusHandler, and the decision to coexist both clients rather than force a full migration.

@HttpExchangeHTTP ClientMigration Strategy
0 likes · 15 min read
Migrating from Feign to @HttpExchange in Spring Boot 4: Why a Full Rewrite Isn't Worth It
LuTiao Programming
LuTiao Programming
Sep 10, 2026 · Backend Development

Spring Boot 4 Native API Versioning: Moving Beyond /v1, /v2 URL Paths

The author demonstrates how Spring Boot 4's built-in API versioning via Spring MVC eliminates duplicated controller hierarchies by using header-based version routing, semantic version matching, and default version fallbacks, allowing per-endpoint versioning without copying unchanged endpoints.

@HttpExchangeAPI VersioningController Refactoring
0 likes · 17 min read
Spring Boot 4 Native API Versioning: Moving Beyond /v1, /v2 URL Paths
LuTiao Programming
LuTiao Programming
Sep 8, 2026 · Backend Development

Migrating from Feign to @HttpExchange in Spring Boot 4: Why It's Not That Simple

The author shares their experience replacing OpenFeign with Spring's @HttpExchange during a Spring Boot 4 upgrade, demonstrating how interface definitions simplify but cross-cutting concerns like authentication, timeouts, and error handling remain, leading to a pragmatic coexistence of both tools based on project needs.

@HttpExchangeGateway PatternHTTP Client
0 likes · 15 min read
Migrating from Feign to @HttpExchange in Spring Boot 4: Why It's Not That Simple
LuTiao Programming
LuTiao Programming
Sep 7, 2026 · Backend Development

Virtual Threads Eliminated Thread Pools — Until MySQL Connections Ran Out

After upgrading to Java 25 and Spring Boot 4, the author enabled virtual threads and removed custom thread pools for IO-heavy aggregation endpoints. While code simplified dramatically, the bottleneck shifted from thread exhaustion to HikariCP connection pool exhaustion, revealing that virtual threads don't increase downstream capacity. The solution: limit scarce resources (DB connections, HTTP clients) directly rather than limiting threads.

HikariCPIO-boundJava 25
0 likes · 12 min read
Virtual Threads Eliminated Thread Pools — Until MySQL Connections Ran Out
LuTiao Programming
LuTiao Programming
Sep 4, 2026 · Backend Development

Spring Boot 4.1 Upgrade: Why Your Decade-Old ObjectMapper Breaks First

This article details the practical challenges and solutions when migrating from Spring Boot 3.x to 4.x, focusing on the Jackson 2 to 3 transition including package changes, exception handling updates, annotation exceptions, immutable ObjectMapper configuration, and coexistence strategies for legacy dependencies.

JSONJacksonJackson 3
0 likes · 16 min read
Spring Boot 4.1 Upgrade: Why Your Decade-Old ObjectMapper Breaks First
java1234
java1234
Jun 17, 2026 · Artificial Intelligence

Spring AI 2.0 GA: Native Java AI Development with Spring Boot 4 Integration

Spring AI 2.0 reaches GA, offering a production‑grade, Java‑first AI development path tightly integrated with Spring Boot 4.x, Spring Framework 7.0, and the Model Context Protocol, while introducing upgraded agent tooling, Jackson 3, JSpecify annotations, and streamlined provider SDKs.

AgentJackson 3Java
0 likes · 6 min read
Spring AI 2.0 GA: Native Java AI Development with Spring Boot 4 Integration
java1234
java1234
May 10, 2026 · Backend Development

Building a Spring Boot 4 + Vue 3 Student Archive System in 20 Minutes with Cursor AI

The article walks through creating a full‑stack university student archive management system—using Java 17, Spring Boot 4, MySQL 8 on the back end and Vue 3, Vite, Element Plus on the front end—generated in about 20 minutes with Cursor AI, and explains the architecture, role‑based access, JWT security, and data flow in detail.

AI CodingCursor AIJWT
0 likes · 10 min read
Building a Spring Boot 4 + Vue 3 Student Archive System in 20 Minutes with Cursor AI
LuTiao Programming
LuTiao Programming
Mar 3, 2026 · Backend Development

From Java 21 to 25: Full Guide to Upgrading Spring Boot 3.5 → 4.0

This article explains why staying on old Java and Spring Boot versions is risky, introduces a dual‑axis model for the upgrade, details Java 21‑to‑25 language and JVM improvements, outlines Spring Boot 3.5‑to‑4.0 structural changes, and provides a step‑by‑step manual and OpenRewrite migration workflow with verification guidelines.

BackendJava 21Java 25
0 likes · 11 min read
From Java 21 to 25: Full Guide to Upgrading Spring Boot 3.5 → 4.0
LuTiao Programming
LuTiao Programming
Mar 1, 2026 · Backend Development

Spring Boot 4 Reduces API Versioning Code from Hundreds to Three Lines

The article explains how Spring Boot 4 introduces a built‑in ApiVersionStrategy that replaces custom interceptors and duplicated controllers with a single configuration property and a version attribute, dramatically cutting API versioning code from hundreds of lines to just three.

API VersioningBackendJava
0 likes · 11 min read
Spring Boot 4 Reduces API Versioning Code from Hundreds to Three Lines
Java Architecture Diary
Java Architecture Diary
Feb 9, 2026 · Backend Development

How to Navigate the Breaking Changes in Spring Cloud Alibaba 2025.1.0.0 for Spring Boot 4

The article outlines the five major technical changes introduced in Spring Cloud Alibaba 2025.1.0.0—including the removal of bootstrap.yml, Sentinel's shift to Jackson 3, Nacos security upgrades, Seata's WebFlux transaction support, and RocketMQ's Spring Boot 4 adaptation—plus a detailed migration checklist to help developers upgrade smoothly.

@ConfigurationBackendSpring Boot 4
0 likes · 8 min read
How to Navigate the Breaking Changes in Spring Cloud Alibaba 2025.1.0.0 for Spring Boot 4
Sohu Tech Products
Sohu Tech Products
Jan 28, 2026 · Backend Development

What’s New in IntelliJ IDEA 2026.1 EAP? Java 26, Spring Boot 4, Gradle 9 & More

IntelliJ IDEA 2026.1 EAP introduces Java 26 language‑level support, deep Spring Boot 4 integration, Gradle 9 and Maven 4 compatibility, numerous IDE enhancements, and over 600 bug fixes, offering developers early access to next‑generation Java features and performance improvements while recommending non‑production use.

Gradle 9IDE releaseIntelliJ IDEA
0 likes · 14 min read
What’s New in IntelliJ IDEA 2026.1 EAP? Java 26, Spring Boot 4, Gradle 9 & More
Java Architecture Diary
Java Architecture Diary
Nov 28, 2025 · Backend Development

Why Spring Cloud 2025.1.0 Is a Major Breakthrough (and What’s Gone)

Spring Cloud 2025.1.0 (Oakwood) marks a true major release built on Spring Boot 4.0 and Spring Framework 7, removing many legacy components, embracing Java 21 virtual threads, and integrating core features directly into the framework, fundamentally reshaping microservice development.

Spring Boot 4Spring CloudVirtual Threads
0 likes · 10 min read
Why Spring Cloud 2025.1.0 Is a Major Breakthrough (and What’s Gone)
SpringMeng
SpringMeng
Nov 22, 2025 · Backend Development

Spring Boot 4 Launches with Jakarta EE 11, JSpecify Null‑Safety, and AI‑Ready Features

Spring Boot 4 arrives alongside Spring Framework 7, upgrading to Jakarta EE 11, JDK 25, JSpecify null‑safety, build‑time optimizations, a declarative HTTP client, full Jackson 3 support, native API versioning, built‑in resilience, OpenTelemetry integration, and a dual‑track Spring AI strategy.

Declarative HTTP ClientJSpecifyJakarta EE 11
0 likes · 8 min read
Spring Boot 4 Launches with Jakarta EE 11, JSpecify Null‑Safety, and AI‑Ready Features
JavaGuide
JavaGuide
Nov 17, 2025 · Backend Development

How Spring Boot 4’s JSpecify Eliminates NullPointerExceptions

Spring Boot 4 adopts JSpecify’s null‑safety annotations, replacing JSR‑305, to make nullability explicit at compile time; using @NullMarked and @Nullable with tools like NullAway, developers can catch potential NPEs early, reduce defensive checks, improve API contracts, and handle collections and parameters more safely.

JSpecifyJavaNull Safety
0 likes · 13 min read
How Spring Boot 4’s JSpecify Eliminates NullPointerExceptions
Java Architecture Diary
Java Architecture Diary
Nov 17, 2025 · Backend Development

Simplify Dynamic Bean Registration in Spring Boot 4 with the New BeanRegistrar API

This article explains how Spring Framework 7 introduces the BeanRegistrar interface to replace the cumbersome ImportBeanDefinitionRegistrar, demonstrating the new API with concise code examples, comparing old and new approaches, and providing a complete practical example for dynamically registering beans based on runtime configuration.

BeanRegistrarDynamic Bean RegistrationJava
0 likes · 11 min read
Simplify Dynamic Bean Registration in Spring Boot 4 with the New BeanRegistrar API