Tagged articles
3874 articles
Page 8 of 39
Architecture Digest
Architecture Digest
Jun 29, 2025 · Backend Development

Mastering Chunked File Uploads in Spring Boot: Boost Performance & Reliability

This article explains why traditional large‑file uploads fail, introduces the benefits of chunked uploading, and provides a complete Spring Boot implementation—including backend controllers, high‑performance merging, Vue front‑end code, enterprise‑level optimizations, performance benchmarks, and best‑practice recommendations—for building a robust, resumable file transfer solution.

Performance OptimizationSpring Bootchunked upload
0 likes · 12 min read
Mastering Chunked File Uploads in Spring Boot: Boost Performance & Reliability
Java Captain
Java Captain
Jun 28, 2025 · Backend Development

How to Build a Spring Boot Multi‑Module Project with Maven

Learn step‑by‑step how to create a Spring Boot multi‑module Maven project, from designing the parent and child module structure, configuring pom.xml files, writing simple application and controller code, to building and running the modules with Maven commands.

MavenMulti‑moduleSpring Boot
0 likes · 7 min read
How to Build a Spring Boot Multi‑Module Project with Maven
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 24, 2025 · Backend Development

12 Powerful Ways to Retrieve Beans in Spring Boot 3 – A Practical Guide

This article presents twelve practical techniques for obtaining Spring beans—including @Autowired, @Resource, @Inject, constructor injection, ApplicationContext, BeanFactory, ObjectProvider, @Lookup, BeanFactoryUtils, BeanFactoryAnnotationUtils, custom utilities, and @Value with SpEL—complete with code examples and usage scenarios to help developers choose the most suitable approach.

Bean RetrievalCode ExamplesSpring Boot
0 likes · 11 min read
12 Powerful Ways to Retrieve Beans in Spring Boot 3 – A Practical Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 21, 2025 · Artificial Intelligence

Master AI Agent Workflows with Spring Boot 3: From Chains to Orchestrators

This article introduces the fundamentals of augmented large language model agents, explains six workflow patterns—including chain, parallel, routing, orchestrator‑workers, evaluator‑optimizer, and autonomous agents—and provides complete Spring Boot 3 code examples, configuration, and test results for each pattern.

BackendJavaLLM
0 likes · 15 min read
Master AI Agent Workflows with Spring Boot 3: From Chains to Orchestrators
macrozheng
macrozheng
Jun 20, 2025 · Cloud Native

Unlock Nacos 3.0: New Architecture, Deployment Modes, and Embedded Integration

Version 3.0 of Nacos introduces a decoupled architecture with independent console deployment, multiple port configurations, three flexible deployment modes (merged, server, console), a modular bootstrap startup engine, and an embedded integration approach that simplifies microservice governance while enhancing security and performance.

BootstrapNacosSpring Boot
0 likes · 8 min read
Unlock Nacos 3.0: New Architecture, Deployment Modes, and Embedded Integration
Java Architecture Diary
Java Architecture Diary
Jun 20, 2025 · Backend Development

What’s New in Spring Boot 3.5.3? Key Fixes, Features, and Upgrade Guide

Spring Boot 3.5.3, the first patch of the 3.5 series, introduces critical fixes for a severe issue in 3.5.1, upgrades Tomcat to 10.1.42 with multipart limits, adds ConfigData options support, resolves numerous performance, configuration, actuator, and binding bugs, improves documentation, and updates a wide range of core, database, server, and monitoring dependencies, making the upgrade strongly recommended.

JavaRelease NotesSpring Boot
0 likes · 8 min read
What’s New in Spring Boot 3.5.3? Key Fixes, Features, and Upgrade Guide
Su San Talks Tech
Su San Talks Tech
Jun 20, 2025 · Backend Development

Why Environment Setup Is the Real Pain in Spring Boot Projects (And How to Fix It)

This article walks through the common frustrations of IDE and environment setup for Spring Boot projects, explains version compatibility between Spring Cloud, Spring Boot, and Kafka, demonstrates how Maven and auto‑configuration simplify dependencies, and provides ready‑to‑use code snippets and useful tooling recommendations for backend developers.

IDE setupKafkaMaven
0 likes · 11 min read
Why Environment Setup Is the Real Pain in Spring Boot Projects (And How to Fix It)
Architecture Digest
Architecture Digest
Jun 19, 2025 · Backend Development

Supercharge Spring Boot HTTP Calls with Retrofit: A Complete Guide

This article introduces retrofit‑spring‑boot‑starter, a lightweight HTTP client for Spring Boot that simplifies request creation and offers powerful features such as custom OkHttpClient injection, annotation‑based interceptors, connection‑pool management, logging, retry, error decoding, circuit‑breaker support, service discovery, and flexible call adapters and converters, all with concise configuration examples.

Circuit BreakerHTTP clientInterceptor
0 likes · 21 min read
Supercharge Spring Boot HTTP Calls with Retrofit: A Complete Guide
Lin is Dream
Lin is Dream
Jun 19, 2025 · Backend Development

Master RocketMQ with Spring Boot: Complete Guide to Messaging APIs

This tutorial walks through integrating Alibaba's RocketMQ into a Spring Boot application, covering Maven dependencies, producer and consumer configurations, and detailed examples of synchronous, asynchronous, one‑way, delayed, ordered, transactional, request‑response, batch, and pull messaging APIs, along with best‑practice recommendations.

JavaMessage queueMessaging API
0 likes · 21 min read
Master RocketMQ with Spring Boot: Complete Guide to Messaging APIs
Architect's Must-Have
Architect's Must-Have
Jun 18, 2025 · Backend Development

How to Dynamically Load External JARs into Spring Boot at Runtime

This guide explains step‑by‑step how to load external JAR files into the JVM, configure Spring Boot to recognize them, and choose among four practical solutions—including classpath expansion, Spring Boot loader.path, custom class loaders, and JVM boot classpath tweaks—while highlighting their pros, cons, and required Maven settings.

Custom ClassLoaderJVMJava
0 likes · 10 min read
How to Dynamically Load External JARs into Spring Boot at Runtime
vivo Internet Technology
vivo Internet Technology
Jun 18, 2025 · Backend Development

Cutting Spring Boot Startup Time by 50%: From 280 s to 159 s

This article systematically analyzes a Spring Boot project's 280‑second startup, identifies bottlenecks such as bean initialization and sharding data source loading, and applies listener‑based timing, bean‑post‑processor profiling, and asynchronous initialization to reduce launch time to 159 seconds, improving developer efficiency.

BackendJavaSharding
0 likes · 13 min read
Cutting Spring Boot Startup Time by 50%: From 280 s to 159 s
Top Architect
Top Architect
Jun 18, 2025 · Backend Development

Unlock Spring Boot’s Hidden Power: Master Built‑in Features for Faster Development

This article explores Spring Boot’s powerful built‑in utilities—including request logging, content caching, once‑per‑request filters, AOP helpers, starter auto‑configuration, flexible property binding, asynchronous execution, Actuator monitoring, and SpEL expressions—showing how they streamline development, improve maintainability, and boost production‑grade reliability.

AOPAsyncBackend Development
0 likes · 15 min read
Unlock Spring Boot’s Hidden Power: Master Built‑in Features for Faster Development
Cognitive Technology Team
Cognitive Technology Team
Jun 18, 2025 · Backend Development

How Spring Boot’s Fat Jar Enables One‑Click Java Deployment

Spring Boot’s Fat Jar packages all application code, dependencies, and an embedded server into a single executable JAR, breaking the parent‑delegation model with a custom class loader and protocol handler, enabling simple ‘java -jar’ execution, streamlined deployment, and benefits for microservices and Docker layering.

Class LoaderFat JarJava
0 likes · 10 min read
How Spring Boot’s Fat Jar Enables One‑Click Java Deployment
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 17, 2025 · Backend Development

Master Spring Boot Data Binding: Constructor & Property Binding with Custom Editors

This article explains how Spring Boot 3.4.2 handles data binding using constructors and property setters, demonstrates practical examples with code, shows how to resolve binding errors with BindingResult, and guides you through creating and registering custom PropertyEditors for complex type conversion.

Constructor BindingCustom PropertyEditorProperty Binding
0 likes · 11 min read
Master Spring Boot Data Binding: Constructor & Property Binding with Custom Editors
Java Captain
Java Captain
Jun 16, 2025 · Backend Development

Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Multi-DataSource Guide

A comprehensive step‑by‑step tutorial shows how to integrate MyBatis‑Plus into a Spring Boot project, covering dependencies, configuration, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, multi‑datasource support, and testing.

CRUDJavaMulti-DataSource
0 likes · 13 min read
Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Multi-DataSource Guide
macrozheng
macrozheng
Jun 16, 2025 · Backend Development

Hot‑Deploying User‑Defined Interfaces in Spring Boot: Reflection vs Annotation

This article demonstrates how to design a simple Calculator interface, provide two implementation strategies (annotation‑managed and reflection‑based), and achieve hot deployment of user‑supplied JARs in a Spring Boot application, including loading, registering, and removing beans dynamically.

Hot DeploymentJavaReflection
0 likes · 9 min read
Hot‑Deploying User‑Defined Interfaces in Spring Boot: Reflection vs Annotation
Java Backend Technology
Java Backend Technology
Jun 16, 2025 · Backend Development

14 Essential Java Code Optimization Tips Every Backend Developer Should Know

Discover 14 practical Java code optimization techniques—from using configuration properties and @RequiredArgsConstructor to modularizing methods, avoiding null returns, leveraging IDE suggestions, and applying design patterns—each illustrated with clear examples and snippets to help backend developers write cleaner, more maintainable code.

Best PracticesCode OptimizationDesign Patterns
0 likes · 8 min read
14 Essential Java Code Optimization Tips Every Backend Developer Should Know
Java Architecture Diary
Java Architecture Diary
Jun 16, 2025 · Information Security

Why Spring Framework’s RFD Bug Lets Attackers Download Malicious Files—and How to Patch It

Spring’s latest security advisory reveals a critical Reflection File Download (RFD) vulnerability affecting multiple Spring Framework versions, allowing crafted requests to force users to download malicious files, and provides detailed conditions, unaffected scenarios, version impact, and recommended remediation steps.

RFD vulnerabilitySecurity PatchSpring Boot
0 likes · 5 min read
Why Spring Framework’s RFD Bug Lets Attackers Download Malicious Files—and How to Patch It
Architect's Guide
Architect's Guide
Jun 15, 2025 · Backend Development

Mastering Read‑Write Splitting in Spring Boot: A Complete Guide

This article explains how to implement database read‑write separation in a Spring Boot application by configuring master and slave data sources, creating a routing datasource, managing thread‑local context, and using an AOP‑based annotation to switch between read and write operations.

AOPDataSource RoutingDatabase
0 likes · 10 min read
Mastering Read‑Write Splitting in Spring Boot: A Complete Guide
macrozheng
macrozheng
Jun 13, 2025 · Backend Development

How to Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide

This article explains how to integrate WebSocket into a Spring Boot project to create a lightweight instant‑messaging system, covering dependency setup, configuration classes, core server implementation, required modules, common deployment issues, and practical solutions with complete code examples.

Backend DevelopmentDistributed SystemsInstant Messaging
0 likes · 14 min read
How to Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 13, 2025 · Backend Development

Turn a Spring Boot CRUD App into an AI‑Powered Service with Model Context Protocol

This guide shows how to integrate Spring Boot with the Model Context Protocol (MCP) to let large language models interact with existing services via natural language, covering entity definitions, Maven dependencies, configuration, tool annotations, and testing to create an AI‑enabled book management API.

AI IntegrationBackendJava
0 likes · 18 min read
Turn a Spring Boot CRUD App into an AI‑Powered Service with Model Context Protocol
Architect's Guide
Architect's Guide
Jun 12, 2025 · Backend Development

How to Build QR Code Login with WebSocket in Spring Boot

This tutorial walks through designing a QR‑code login flow, defining a token table, outlining client and server roles, implementing two REST endpoints, configuring Spring Boot WebSocket support, and handling real‑time login notifications with Java and JavaScript code examples.

JavaJavaScriptQR Code Login
0 likes · 13 min read
How to Build QR Code Login with WebSocket in Spring Boot
Java Architect Essentials
Java Architect Essentials
Jun 12, 2025 · Backend Development

Simplify Spring Boot Extensions with Concept Plugin 2: A Plug‑in Guide

Concept Plugin 2 introduces a lightweight, annotation‑driven plug‑in system for Spring Boot that separates core business logic from device integration code, enabling independent testing, dynamic loading, and easy configuration through a management UI, while supporting various injection patterns, nested dependencies, and Spring features.

JavaModular DesignSpring Boot
0 likes · 10 min read
Simplify Spring Boot Extensions with Concept Plugin 2: A Plug‑in Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 12, 2025 · Backend Development

Master Spring Boot 3 Interception: Filters, Security, Interceptors & AOP

This article explains the various interception mechanisms in Spring Boot 3—including Filters, Spring Security filters, MVC Interceptors, AOP, ControllerAdvice, Request/ResponseBodyAdvice, and REST Clients—provides execution flow diagrams, detailed code examples, and practical usage tips for building robust backend applications.

BackendFiltersSpring Boot
0 likes · 14 min read
Master Spring Boot 3 Interception: Filters, Security, Interceptors & AOP
Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 11, 2025 · Backend Development

Transform JSON Seamlessly with Jolt: From Hard‑Coded Logic to Configurable Rules

This article introduces Jolt, an open‑source Java library for JSON‑to‑JSON transformation, explains its advantages over traditional hard‑coded conversion, demonstrates core operations and custom extensions with code examples, shows how to integrate it into Spring Boot, and outlines future plans for a visual drag‑and‑drop configuration tool.

Configuration ManagementData MappingJSON transformation
0 likes · 17 min read
Transform JSON Seamlessly with Jolt: From Hard‑Coded Logic to Configurable Rules
Architect's Tech Stack
Architect's Tech Stack
Jun 11, 2025 · Backend Development

Master Dynamic Data Permissions in Java with easy-data-scope

This tutorial walks you through building a Spring Boot project that uses the easy-data-scope library to inject dynamic SQL for fine‑grained data permissions, covering database setup, Maven dependencies, core annotations, custom rule implementation, and practical query examples.

Backend DevelopmentData PermissionMyBatis
0 likes · 11 min read
Master Dynamic Data Permissions in Java with easy-data-scope
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 10, 2025 · Backend Development

Master Spring Data JPA: 131 Real‑World Spring Boot 3 Cases & Best Practices

This article presents a comprehensive guide to Spring Data JPA in Spring Boot 3, covering 131 practical cases, core repository interfaces, Specification and Criteria Builder techniques, and dozens of performance‑optimizing tips such as lazy loading, caching, batch processing, transaction management, projections, and stream queries.

Backend DevelopmentJavaJpaRepository
0 likes · 15 min read
Master Spring Data JPA: 131 Real‑World Spring Boot 3 Cases & Best Practices
Top Architect
Top Architect
Jun 9, 2025 · Backend Development

Mastering Liteflow: A Lightweight Rule Engine for Java Backend Development

This article introduces Liteflow, a lightweight yet powerful Java rule engine, explains its architecture, shows how to integrate it with Spring Boot, details its component types and EL rule syntax, and demonstrates a real‑world e‑commerce workflow using XML rule files.

Backend DevelopmentJavaLiteFlow
0 likes · 13 min read
Mastering Liteflow: A Lightweight Rule Engine for Java Backend Development
Java Captain
Java Captain
Jun 9, 2025 · Backend Development

How to Use @PathVariable and Map Static Resources in Spring Boot

This guide explains how to use @PathVariable to capture URL segments, configure static resource mapping for local files, and centralize path values in Spring Boot applications, providing code examples for request mapping, resource handler registration, and property injection.

JavaPathVariableSpring Boot
0 likes · 3 min read
How to Use @PathVariable and Map Static Resources in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 9, 2025 · Backend Development

How to Dynamically Enable/Disable Spring Boot Controllers with AOP, Interceptors, and Custom Mappings

This article explains four practical ways to control the availability of Spring Boot controller endpoints at runtime—using @ConditionalOnProperty, a custom AOP annotation, a HandlerInterceptor, and a custom RequestMappingHandlerMapping—detailing code examples, configuration, advantages, and trade‑offs.

AOPBackend DevelopmentCustom Mapping
0 likes · 9 min read
How to Dynamically Enable/Disable Spring Boot Controllers with AOP, Interceptors, and Custom Mappings
Java Web Project
Java Web Project
Jun 8, 2025 · Backend Development

How to Build a Reusable CRUD BaseController with MyBatis‑Plus in Spring Boot

This tutorial walks through creating a generic BaseController that provides CRUD, list, pagination, and count operations for any entity by adding MyBatis‑Plus, writing a utility class for query building, configuring a pagination interceptor, and extending the base class in concrete controllers, all illustrated with complete Java code snippets.

BaseControllerCRUDJava
0 likes · 8 min read
How to Build a Reusable CRUD BaseController with MyBatis‑Plus in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jun 8, 2025 · Backend Development

Boost Your Spring Boot HTTP Calls with retrofit‑spring‑boot‑starter – A Complete Guide

This article introduces the lightweight retrofit‑spring‑boot‑starter for Spring Boot, explains its key features such as custom OkHttpClient, annotation‑based interceptors, logging, retry, circuit‑breaker support, and shows step‑by‑step configuration, dependency setup, and code examples for building robust HTTP client services.

HTTP clientInterceptorJava
0 likes · 23 min read
Boost Your Spring Boot HTTP Calls with retrofit‑spring‑boot‑starter – A Complete Guide
Java Captain
Java Captain
Jun 8, 2025 · Backend Development

How to Refactor Bloated Spring Controllers into Clean, Maintainable Code

The article critiques overly large and tangled Spring MVC controllers, demonstrates ugly examples filled with try‑catch blocks, field validations, and business logic, then presents streamlined, elegant alternatives using @Valid, @Autowired, proper exception handling, and best‑practice guidelines to dramatically reduce code size and improve readability.

Best PracticesController RefactoringException Handling
0 likes · 10 min read
How to Refactor Bloated Spring Controllers into Clean, Maintainable Code
Java Captain
Java Captain
Jun 8, 2025 · Backend Development

How to Fix Spring Boot 3 and Swagger 2 Compatibility Issues

This guide explains why Spring Boot 3 is incompatible with Swagger 2, shows how to downgrade or replace dependencies, updates servlet imports, adjusts Maven and application settings, and provides a complete Swagger configuration to get the API docs running again.

API documentationJakartaJava
0 likes · 4 min read
How to Fix Spring Boot 3 and Swagger 2 Compatibility Issues
Java Tech Enthusiast
Java Tech Enthusiast
Jun 7, 2025 · Backend Development

Master Java Project Setup: From IDE to Spring Boot Scaffolding

This article walks through setting up a Java Spring Boot project, managing compatible Spring Cloud, Spring Boot and Kafka versions, handling common dependency pitfalls with Maven, and provides ready‑to‑use scaffolding code for exception handling, logging, CORS, Swagger, and response wrapping, plus a list of useful development tools.

Backend DevelopmentJavaMaven
0 likes · 11 min read
Master Java Project Setup: From IDE to Spring Boot Scaffolding
macrozheng
macrozheng
Jun 6, 2025 · Backend Development

Master 10 Essential Spring Boot Extension Points for Robust Backend Development

This guide walks through ten crucial Spring Boot extension points—including global exception handling, custom interceptors, container access, configuration imports, startup runners, bean definition tweaks, initialization hooks, bean post‑processing, graceful shutdown, and custom scopes—providing clear explanations and ready‑to‑use code samples for building resilient backend services.

Backend DevelopmentCustom ScopeException Handling
0 likes · 15 min read
Master 10 Essential Spring Boot Extension Points for Robust Backend Development
Architect's Must-Have
Architect's Must-Have
Jun 6, 2025 · Backend Development

How to Secure API Calls with Tokens, Timestamps, and Signatures in Spring Boot

This article explains practical methods for protecting data exchanged with third‑party systems by using access tokens, timestamps, cryptographic signatures, and anti‑duplicate‑submission techniques, and provides complete Spring Boot code examples for token generation, validation, Redis storage, and request interception.

API SecurityBackend DevelopmentSpring Boot
0 likes · 24 min read
How to Secure API Calls with Tokens, Timestamps, and Signatures in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 6, 2025 · Backend Development

Secure Spring Boot 3 APIs: 5 Methods with Filters, Interceptors, AOP, OAuth2

This article presents five practical approaches to protect Spring Boot 3 API endpoints—including Filter, Interceptor, AOP combined with Filter, Spring Security, and OAuth2 integration—providing code examples, configuration steps, and screenshots to demonstrate authentication, authorization, and token handling for secure access control.

API SecurityAuthenticationAuthorization
0 likes · 11 min read
Secure Spring Boot 3 APIs: 5 Methods with Filters, Interceptors, AOP, OAuth2
macrozheng
macrozheng
Jun 5, 2025 · Backend Development

How to Integrate Dubbo with Seata for Distributed Transactions in Spring Boot

This tutorial walks through integrating Dubbo with Seata in a Spring Boot microservice architecture, showing how to create service interfaces, configure Maven dependencies, set up Nacos discovery, implement distributed transaction logic, test normal and rollback scenarios, and externalize Seata server addresses for scalable deployments.

DubboSpring Bootdistributed transactions
0 likes · 19 min read
How to Integrate Dubbo with Seata for Distributed Transactions in Spring Boot
macrozheng
macrozheng
Jun 5, 2025 · Backend Development

How to Refactor Spring Boot Controllers for Cleaner, More Maintainable Code

This article compares messy and elegant Spring Boot controller implementations, demonstrates how to use @Valid for input validation, introduces a concise global exception handler, and provides practical refactoring steps and open‑source resources to dramatically reduce controller code size and improve maintainability.

@ValidBackend DevelopmentController
0 likes · 10 min read
How to Refactor Spring Boot Controllers for Cleaner, More Maintainable Code
Java Web Project
Java Web Project
Jun 4, 2025 · Backend Development

How to Eliminate Repetitive Common Fields in Java Order Services with MyBatis‑Plus and AOP

This article analyzes the pain points of manually maintaining common fields in order‑related entities and presents a production‑tested solution that combines MyBatis‑Plus automatic filling, custom AOP annotations, multi‑data‑source handling, distributed ID generation, and auditing to dramatically reduce boilerplate code and bugs.

AOPAuditingAutomatic Field Fill
0 likes · 9 min read
How to Eliminate Repetitive Common Fields in Java Order Services with MyBatis‑Plus and AOP
Architect
Architect
Jun 3, 2025 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how Spring Boot supports asynchronous request handling after Servlet 3.0, compares four async mechanisms—AsyncContext, Callable, WebAsyncTask, and DeferredResult—provides code examples for each, discusses thread‑pool configuration, and outlines when asynchronous processing improves throughput.

AsynchronousCallableDeferredResult
0 likes · 11 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Java Captain
Java Captain
Jun 3, 2025 · Information Security

Integrating Spring Security with Spring Boot for JWT Authentication and Authorization

This article demonstrates how to integrate Spring Security into a Spring Boot application, configure JWT‑based authentication, implement custom AES encryption, define user and role entities, set up service and controller layers, and configure security, filter, and CORS settings to achieve secure login and permission management.

AuthenticationAuthorizationJWT
0 likes · 19 min read
Integrating Spring Security with Spring Boot for JWT Authentication and Authorization
macrozheng
macrozheng
Jun 3, 2025 · Backend Development

Discover Spring Boot 4.0 Snapshot: New API Versioning, Virtual Threads & More

Spring Boot 4.0 (SNAPSHOT) introduces built‑in Spring Framework 7.0 support, elegant API versioning via @RequestMapping, flexible bean registration, virtual thread integration for massive concurrency, JSpecify null‑safety annotations, enhanced SPEL, Jackson 3.x migration, servlet upgrades, and native GraalVM image support, all illustrated with code samples.

API VersioningJSpecifySpEL
0 likes · 7 min read
Discover Spring Boot 4.0 Snapshot: New API Versioning, Virtual Threads & More
Top Architecture Tech Stack
Top Architecture Tech Stack
Jun 3, 2025 · Backend Development

Token Transmission and Internal Service Call Strategies in Spring Boot Microservices

The article discusses why token transmission is discouraged in microservice authentication, proposes passing explicit parameters, compares Feign, Dubbo, and Spring Boot Web internal call approaches, and explains how to integrate these patterns with a unified gateway, regular authentication modules, and Kubernetes Ingress for scalable backend architectures.

DubboSpring Bootfeign
0 likes · 8 min read
Token Transmission and Internal Service Call Strategies in Spring Boot Microservices
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 3, 2025 · Artificial Intelligence

Dynamic Tool Management with Spring AI’s Model Context Protocol (MCP) – A Hands‑On Guide

Learn how to implement Spring AI’s Model Context Protocol (MCP) in Spring Boot 3.4.2, enabling dynamic runtime tool updates, configuring MCP server and client, building sample tools with code snippets, and demonstrating add/remove operations and testing via Cline and REST endpoints.

Backend DevelopmentDynamic ToolsMCP
0 likes · 9 min read
Dynamic Tool Management with Spring AI’s Model Context Protocol (MCP) – A Hands‑On Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 1, 2025 · Backend Development

Master Spring Boot 3 DataSource: 8 Practical Connection Management Techniques

This article presents a comprehensive Spring Boot 3 tutorial that explains how the framework manages database connections, introduces eight built‑in DataSource control methods, and provides detailed code examples for configuring HikariCP, using DataSourceUtils, SmartDataSource, TransactionAwareDataSourceProxy, and transaction managers.

Backend DevelopmentDataSourceJava
0 likes · 12 min read
Master Spring Boot 3 DataSource: 8 Practical Connection Management Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 31, 2025 · Backend Development

Master Spring Boot 3 Docker Compose: 128 Real‑World Cases & Step‑by‑Step Guide

Explore a comprehensive collection of 128 Spring Boot 3 practical examples demonstrating Docker Compose integration, from environment setup and dependency configuration to service lifecycle management, custom compose files, container persistence, and advanced features, enabling developers to effortlessly run MySQL, Redis, and other services without manual configuration.

Backend DevelopmentJavaSpring Boot
0 likes · 8 min read
Master Spring Boot 3 Docker Compose: 128 Real‑World Cases & Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 31, 2025 · Backend Development

Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips

This article explores Jackson's ObjectMapper in Spring Boot 3, covering basic serialization/deserialization, converting between objects, JSON strings, JsonNode, and collections, custom serializers/deserializers, handling unknown fields, and performance tuning with the Afterburner module and JMH benchmarks.

DeserializationJSONJackson
0 likes · 12 min read
Mastering Jackson ObjectMapper in Spring Boot 3: Real-World Cases & Performance Tips
Su San Talks Tech
Su San Talks Tech
May 30, 2025 · Backend Development

Discover the Top 5 New Features in Spring Boot 4 Preview

This article introduces Spring Boot 4.0.0 preview, built on Spring Framework 7, and walks through five major enhancements—including elegant API versioning, flexible bean registration, null‑safety with JSpecify, simplified HTTP proxy creation, plus several other upgrades and deprecations—complete with code samples and screenshots.

API VersioningJavaNull Safety
0 likes · 8 min read
Discover the Top 5 New Features in Spring Boot 4 Preview
macrozheng
macrozheng
May 30, 2025 · Backend Development

Why Spring Boot 3 Removed spring.factories & How to Migrate to imports

This article explains the removal of the spring.factories file in Spring Boot 3, the performance and modularity reasons behind it, introduces the new imports‑based mechanism, provides step‑by‑step migration guidance, and shows how the change improves GraalVM native image support.

MigrationSpring BootSpring Factories
0 likes · 18 min read
Why Spring Boot 3 Removed spring.factories & How to Migrate to imports
Selected Java Interview Questions
Selected Java Interview Questions
May 29, 2025 · Backend Development

Spring Task: A Programmer’s Personal Assistant – Mastering Scheduling in Spring Boot

This tutorial introduces Spring Task, explains how to enable scheduling in Spring Boot, demonstrates creating cron expressions, shows common use cases such as data sync, log cleanup, and email reminders, and provides best‑practice tips for thread‑pool tuning, distributed execution, and avoiding common pitfalls.

BackendSpring BootTask Scheduling
0 likes · 9 min read
Spring Task: A Programmer’s Personal Assistant – Mastering Scheduling in Spring Boot
Lin is Dream
Lin is Dream
May 28, 2025 · Backend Development

Mastering Uniform Date Formatting in Spring Boot with Jackson

This guide shows how to configure Jackson in Spring Boot to consistently format LocalDateTime, Date, and String parameters as "yyyy-MM-dd HH:mm:ss", covering global settings via application properties, field-level @JsonFormat, custom serializers/deserializers, and unified handling in REST controllers.

Date FormattingJSONJackson
0 likes · 8 min read
Mastering Uniform Date Formatting in Spring Boot with Jackson
macrozheng
macrozheng
May 28, 2025 · Backend Development

Boost Your Spring Boot APIs with MyBatisPlusPro: A Step‑by‑Step Guide

This tutorial shows how to extend MyBatisPlus with a reusable BaseController, create utility methods for naming conversion and query building, configure pagination support, and quickly generate CRUD REST endpoints in Spring Boot projects using MyBatisPlusPro.

CRUDMyBatisPlusREST API
0 likes · 10 min read
Boost Your Spring Boot APIs with MyBatisPlusPro: A Step‑by‑Step Guide
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
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 28, 2025 · Backend Development

Master JSON-RPC with Spring Boot 3: Full Guide and Code Samples

This article introduces the JSON-RPC 2.0 protocol, demonstrates how to integrate the jsonrpc4j library into a Spring Boot 3.4.2 project, and provides step‑by‑step code examples for defining services, exposing them via beans or annotations, configuring various client proxies, handling errors, and implementing streaming socket communication.

Backend DevelopmentJSON-RPCJava
0 likes · 10 min read
Master JSON-RPC with Spring Boot 3: Full Guide and Code Samples
Top Architect
Top Architect
May 27, 2025 · Backend Development

Using LiteFlow Rule Engine for Business Process Orchestration in Java

This article introduces the LiteFlow lightweight rule engine, explains its architecture, component types, EL rule files, data context handling, configuration options, and demonstrates a real‑world e‑commerce workflow with code examples, while also noting related promotional offers at the end.

JavaLiteFlowRule Engine
0 likes · 12 min read
Using LiteFlow Rule Engine for Business Process Orchestration in Java
Selected Java Interview Questions
Selected Java Interview Questions
May 27, 2025 · Backend Development

Mybatis-Plus Generator UI: A Web UI Tool for Custom Code Generation in Spring Boot

This article introduces the Mybatis-Plus Generator UI, a highly customizable web‑based code generator that wraps Mybatis‑Plus, explains its features, shows how to integrate it via Maven, run a sample main class, configure generation strategies, customize templates and naming rules, and even extend the frontend with Yarn builds.

MyBatis-PlusSpring BootUI
0 likes · 11 min read
Mybatis-Plus Generator UI: A Web UI Tool for Custom Code Generation in Spring Boot
Top Architecture Tech Stack
Top Architecture Tech Stack
May 26, 2025 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how to implement asynchronous request handling in Spring Boot using four approaches—AsyncContext, Callable, WebAsyncTask, and DeferredResult—detailing their mechanisms, code examples, thread pool configuration, and when to choose async processing to improve throughput.

AsynchronousCallableDeferredResult
0 likes · 10 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Architect
Architect
May 25, 2025 · Backend Development

Using Project Loom Virtual Threads in Spring Boot: Setup, Code Samples, and Performance Testing

This article demonstrates how to integrate Project Loom virtual threads into a Spring Boot application, provides the necessary Maven configuration and Java code, runs load tests with JMeter to compare response times against traditional threads, and shows the significant throughput improvements achieved on the same hardware.

JavaProject LoomSpring Boot
0 likes · 9 min read
Using Project Loom Virtual Threads in Spring Boot: Setup, Code Samples, and Performance Testing
Java One
Java One
May 25, 2025 · Information Security

How to Implement Mutual SSL Authentication in Spring Boot (HTTPS)

This guide explains the difference between one‑way and two‑way SSL/TLS authentication, shows how to generate self‑signed and CA certificates with keytool, configures Spring Boot for mutual authentication, and demonstrates testing the setup using Postman, including detailed steps, code snippets, and troubleshooting tips.

HTTPSMutual TLSPostman
0 likes · 10 min read
How to Implement Mutual SSL Authentication in Spring Boot (HTTPS)
Architect's Guide
Architect's Guide
May 25, 2025 · Backend Development

Integrating Elasticsearch with MySQL in a Spring Boot Backend: Technical Selection, Common Package, Repository, Mapper, and Service Implementation

This article explains how to combine Elasticsearch and MySQL in a Spring Boot backend by selecting the technology stack, creating a shared Elasticsearch package, defining ES and MySQL entity classes, implementing repository and mapper interfaces, writing service logic, and demonstrating query testing.

ElasticsearchJavaMySQL
0 likes · 17 min read
Integrating Elasticsearch with MySQL in a Spring Boot Backend: Technical Selection, Common Package, Repository, Mapper, and Service Implementation
Java One
Java One
May 24, 2025 · Backend Development

How to Secure Your Spring Boot Application with HTTPS: A Step‑by‑Step Guide

This tutorial walks you through obtaining or generating SSL certificates, configuring Spring Boot to use JKS or PKCS12 keystores, redirecting HTTP to HTTPS, and distributing the certificate to clients, with complete command‑line examples and code snippets for a production‑ready setup.

HTTPSJavaSSL
0 likes · 13 min read
How to Secure Your Spring Boot Application with HTTPS: A Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 24, 2025 · Backend Development

Master Mustache Templates in Spring Boot 3: From Basics to Real‑World Examples

This article introduces Mustache as a logic‑less template engine, explains its purpose and syntax, and provides step‑by‑step Spring Boot 3 examples—including data models, controllers, templates, collections, and form handling—to help developers quickly build dynamic web pages without embedding complex logic.

Backend DevelopmentForm HandlingPartial Templates
0 likes · 10 min read
Master Mustache Templates in Spring Boot 3: From Basics to Real‑World Examples
Java Captain
Java Captain
May 23, 2025 · Backend Development

Resolving Spring Boot Resource Loading Errors When Running from a JAR

This article explains why a Spring Boot application fails to locate a template file when packaged as a JAR, details the step‑by‑step debugging process, and provides code solutions using ClassPathResource or PathMatchingResourcePatternResolver to correctly read resources inside the JAR.

BackendDebuggingJAR
0 likes · 5 min read
Resolving Spring Boot Resource Loading Errors When Running from a JAR
Top Architect
Top Architect
May 23, 2025 · Backend Development

Secure File Upload and Preview with Spring Boot, Minio, and KKFile

This article demonstrates how to securely upload files to Minio, stream them for preview via KKFile without exposing the Minio endpoint, and protect download URLs with token validation, providing complete Java code examples for upload, download, and preview URL generation.

JavaMinioSpring Boot
0 likes · 10 min read
Secure File Upload and Preview with Spring Boot, Minio, and KKFile
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2025 · Backend Development

11 Must‑Know Spring Boot 3.5 Features with Ready‑to‑Use Code Samples

This article walks through eleven notable Spring Boot 3.5 enhancements—including stricter .enabled flags, renamed TaskExecutor beans, Redis URL handling, annotation‑based servlet/filter registration, multi‑property environment loading, structured logging tweaks, WebClient connector settings, task decorators, custom executors, bootstrapExecutor auto‑configuration, and secured heapdump actuator endpoint—providing concise explanations and runnable code snippets.

ActuatorCode SamplesJava
0 likes · 10 min read
11 Must‑Know Spring Boot 3.5 Features with Ready‑to‑Use Code Samples
Architect
Architect
May 22, 2025 · Backend Development

How to Build Real‑Time Device Monitoring with WebSocket and Spring Boot

This article demonstrates how to implement a real‑time device‑monitoring system using WebSocket, covering the problem scenario, front‑end Vue.js visualization, Spring Boot back‑end configuration, WebSocket server setup, and step‑by‑step testing to achieve instant status updates.

Backend DevelopmentFrontend DevelopmentJava
0 likes · 11 min read
How to Build Real‑Time Device Monitoring with WebSocket and Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
May 22, 2025 · Backend Development

Root Cause Analysis of Excessive Native Memory Usage in a Spring Boot Application after Migrating to MDP Framework

After migrating a project to the MDP framework based on Spring Boot, the system repeatedly reported high swap usage; the author investigated JVM settings, used tools like jcmd, pmap, gperftools, strace, and GDB, identified native memory leaks caused by Spring Boot’s Reflections scanning and Inflater usage, and resolved the issue by configuring scan paths and fixing Inflater handling.

Memory LeakNative MemorySpring Boot
0 likes · 13 min read
Root Cause Analysis of Excessive Native Memory Usage in a Spring Boot Application after Migrating to MDP Framework
Lin is Dream
Lin is Dream
May 22, 2025 · Backend Development

Mastering API Management with Swagger and Spring Boot: A Complete Guide

This tutorial walks you through API protocol types, Swagger/OpenAPI documentation setup, advanced configuration, environment‑specific activation, UI enhancement with Knife4j, and practical versioning strategies to efficiently manage and evolve your backend APIs.

API ManagementApifoxKnife4j
0 likes · 10 min read
Mastering API Management with Swagger and Spring Boot: A Complete Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 21, 2025 · Backend Development

Enabling Underscore Headers in Nginx for Spring Boot Applications

This article demonstrates how Nginx’s default behavior ignores request headers containing underscores, causing missing parameters in a Spring Boot application, and shows how to configure the 'underscores_in_headers on;' directive to correctly forward such headers, with code examples and testing via Postman.

Spring BootUnderscore headershttp-headers
0 likes · 4 min read
Enabling Underscore Headers in Nginx for Spring Boot Applications
Java Captain
Java Captain
May 21, 2025 · Backend Development

Graceful Shutdown of Spring Boot Applications Using JVM Signals and Actuator

The article explains how to achieve graceful shutdown of Spring Boot services by handling Linux kill signals, registering JVM shutdown hooks, and exposing an Actuator REST endpoint that safely releases resources, stops beans, and terminates the JVM without data loss.

ActuatorGraceful ShutdownJVM
0 likes · 11 min read
Graceful Shutdown of Spring Boot Applications Using JVM Signals and Actuator
macrozheng
macrozheng
May 19, 2025 · Backend Development

Generate Zero‑Code Backend APIs with APIJSON and Spring Boot

This guide shows how to use Tencent's open‑source APIJSON library with a Spring Boot demo to automatically generate full‑stack CRUD REST endpoints from database tables, covering project setup, configuration, table creation, and example requests for querying, adding, updating, deleting, and paginating product brand data.

APIJSONBackend DevelopmentCRUD
0 likes · 10 min read
Generate Zero‑Code Backend APIs with APIJSON and Spring Boot
Code Ape Tech Column
Code Ape Tech Column
May 19, 2025 · Backend Development

Mastering CQRS in Spring Microservices: From Basics to Event Sourcing

This article explains the CQRS architectural pattern, its benefits and pitfalls, and provides a step‑by‑step guide to implementing CQRS with Spring Boot, Axon, and Kafka, including command and query handling, event sourcing, and practical considerations for microservice architectures.

AxonBackend ArchitectureCQRS
0 likes · 13 min read
Mastering CQRS in Spring Microservices: From Basics to Event Sourcing
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
May 19, 2025 · Cloud Native

Master Spring Cloud Gateway in 3 Minutes – Complete Service Gateway Guide

This article introduces Spring Cloud Gateway as a high‑performance replacement for Zuul, explains its core components (Route, Predicate, Filter) and request flow, provides step‑by‑step setup of a gateway project, demonstrates route configuration, custom GlobalFilter and GatewayFilter implementations, and validates the behavior with example requests.

Custom FilterJavaSpring Boot
0 likes · 17 min read
Master Spring Cloud Gateway in 3 Minutes – Complete Service Gateway Guide
Architect's Tech Stack
Architect's Tech Stack
May 18, 2025 · Backend Development

Six Practical File Upload and Download Solutions for Spring Boot

This article presents six commonly used file upload and download techniques for Spring Boot, covering basic Multipart handling, stream-based download, integration with Alibaba Cloud OSS and MinIO, as well as high‑concurrency chunked uploads with Nginx, each accompanied by complete code examples and usage scenarios.

File DownloadJavaMinio
0 likes · 16 min read
Six Practical File Upload and Download Solutions for Spring Boot
Programmer DD
Programmer DD
May 16, 2025 · Backend Development

Choosing the Right Real‑Time Web Technique: SSE, WebSocket or Long Polling?

This article compares three classic real‑time web technologies—Server‑Sent Events, WebSocket, and Long Polling—explaining their principles, Spring Boot implementations, advantages, disadvantages, and suitable scenarios to help developers select the optimal solution for live data updates.

BackendSSESpring Boot
0 likes · 6 min read
Choosing the Right Real‑Time Web Technique: SSE, WebSocket or Long Polling?