Tagged articles

Spring Boot

4358 articles · Page 12 of 44
Code Ape Tech Column
Code Ape Tech Column
Jul 3, 2025 · Backend Development

How to Detect and Fix Memory Leaks in Spring Boot Applications

This guide explains the fundamentals of memory leaks in Java, outlines common causes in Spring Boot, and provides step‑by‑step techniques—including GC log analysis, JConsole, VisualVM, MAT, Actuator, custom endpoints, jstack, BTrace, and best‑practice recommendations—to identify, diagnose, and prevent memory leaks for stable long‑running services.

Heap DumpJVMSpring Boot
0 likes · 18 min read
How to Detect and Fix Memory Leaks in Spring Boot Applications
Programmer Null's Self-Cultivation
Programmer Null's Self-Cultivation
Jul 2, 2025 · Cloud Native

What Makes Spring Cloud the Ultimate ‘Full‑Stack’ for Microservices?

This article provides a comprehensive overview of Spring Cloud, explaining its two generations (Netflix and Alibaba), versioning scheme, core components such as Eureka, Ribbon, Hystrix, Feign, Gateway, Config, Bus, Nacos, Sentinel and Seata, and compares the capabilities of the two implementations for building cloud‑native microservice systems.

Cloud NativeMicroservicesSpring Boot
0 likes · 24 min read
What Makes Spring Cloud the Ultimate ‘Full‑Stack’ for Microservices?
Top Architect
Top Architect
Jul 2, 2025 · Backend Development

Quickly Bootstrap a Spring Boot Project and Dodge Version Compatibility Issues

This guide walks you through initializing a Spring Boot project, handling IDE setup frustrations, managing Spring Cloud and Kafka version compatibility, leveraging Maven for dependencies, implementing global exception handling, logging, CORS, and Swagger configurations, and recommends essential tools for efficient backend development.

Exception HandlingMavenSpring Boot
0 likes · 10 min read
Quickly Bootstrap a Spring Boot Project and Dodge Version Compatibility Issues
Java Tech Enthusiast
Java Tech Enthusiast
Jul 2, 2025 · Backend Development

Why Your Java Projects Keep Failing and How to Fix Common Spring Boot Pitfalls

The article examines recurring Java backend problems such as duplicated configuration files, hard‑coded parameters, mixed logging practices, unchecked code releases, unsynchronized databases, and Maven dependency issues, then offers concrete solutions like externalized configuration, standardized logging, proper code review, and correct Maven pom settings.

ConfigurationMavenSpring Boot
0 likes · 5 min read
Why Your Java Projects Keep Failing and How to Fix Common Spring Boot Pitfalls
Java Backend Technology
Java Backend Technology
Jul 2, 2025 · Backend Development

Generate Spring Boot CRUD Code Instantly with EasyCode Plugin

This tutorial walks you through installing the EasyCode IntelliJ plugin, creating a MySQL database, configuring IDEA’s database connection, setting up Maven dependencies and application.yml, generating entity, DAO, service, and controller code automatically, and finally running the Spring Boot project.

EasyCodeIntelliJ IDEAMySQL
0 likes · 6 min read
Generate Spring Boot CRUD Code Instantly with EasyCode Plugin
Lin is Dream
Lin is Dream
Jul 2, 2025 · Databases

Master Redis in Spring Boot: From RedisTemplate to Redisson Integration

This tutorial walks Java developers through using Redis in Spring Boot projects, covering the essential spring-boot-starter-data-redis dependency, RedisTemplate basics, the underlying RedisConnectionFactory design, custom connection configurations for single‑node and sentinel modes, and seamless integration of the Redisson client for advanced distributed features.

RedisRedisTemplateRedisson
0 likes · 10 min read
Master Redis in Spring Boot: From RedisTemplate to Redisson Integration
Java Architect Essentials
Java Architect Essentials
Jul 1, 2025 · Backend Development

Why Postman Fails and MockMvc Wins: Real‑World API Testing Secrets

This article recounts a midnight production outage caused by inadequate Postman tests, explains three hidden pitfalls of Postman, demonstrates how MockMvc provides precise, code‑level assertions and automated scenarios, and offers a step‑by‑step guide to boost API test automation from 30% to 90% coverage.

MockMvcPostmanSpring Boot
0 likes · 9 min read
Why Postman Fails and MockMvc Wins: Real‑World API Testing Secrets
Architect
Architect
Jul 1, 2025 · Operations

Mastering ELK: Build a Real‑Time Log Analysis Platform for Spring Boot & Nginx

This guide walks you through the fundamentals of the ELK stack—Elasticsearch, Logstash, and Kibana—explaining its architecture, installation on Ubuntu, configuration of Logstash shipper and indexer roles, integration with Spring Boot and Nginx logs, and how to run the components as background services using Supervisor.

ELKElasticsearchKibana
0 likes · 20 min read
Mastering ELK: Build a Real‑Time Log Analysis Platform for Spring Boot & Nginx
Architect's Guide
Architect's Guide
Jul 1, 2025 · Backend Development

Spring Boot API Validation, Global Exception Handling & Secure Versioning

This guide walks through building robust Spring Boot backend APIs by detailing request parameter validation with @Validator, implementing global exception handling, standardizing unified response structures, applying custom annotations for response control, managing API versioning via path and header strategies, and enhancing security with token authentication, timestamps, signatures, and HTTPS.

API ValidationAPI securityResponse Wrapping
0 likes · 24 min read
Spring Boot API Validation, Global Exception Handling & Secure Versioning
Programmer XiaoFu
Programmer XiaoFu
Jul 1, 2025 · Backend Development

Plug‑and‑Play Spring Boot: Building a Plugin Architecture

This article explains how to implement a plug‑and‑play development model in Spring Boot using Java SPI, custom configuration, and Spring Factories, providing step‑by‑step code examples, a multi‑module microservice case study, and practical guidance for creating extensible, decoupled applications.

Java SPIMicroservicesPlugin architecture
0 likes · 22 min read
Plug‑and‑Play Spring Boot: Building a Plugin Architecture
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 1, 2025 · Backend Development

Master Dynamic Expression Engines in Spring Boot 3: 7 Real‑World Examples

This article introduces dynamic expression parsing for enterprise Java applications, compares seven Spring Boot‑compatible expression engines (SpEL, MVEL, Aviator, JEP, OGNL, JEXL, QLExpress) across performance, security and syntax, and provides complete code samples, execution results and pros‑cons for each engine.

AviatorExpression EngineJEP
0 likes · 19 min read
Master Dynamic Expression Engines in Spring Boot 3: 7 Real‑World Examples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 30, 2025 · Backend Development

Secure File Downloads in Spring Boot 3: Token‑Based Links & Path‑Traversal Protection

This article explains how to protect file downloads in Spring Boot by generating short‑lived or token‑based URLs, preventing static URL exposure, handling path‑traversal attacks, supporting in‑memory or streamed files, and optionally tying downloads to authenticated users.

File protectionSecure DownloadSpring Boot
0 likes · 13 min read
Secure File Downloads in Spring Boot 3: Token‑Based Links & Path‑Traversal Protection
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.

Chunked UploadLarge FilesResumable 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.

MavenMicroservicesMulti-module
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 RetrievalSpring Bootcode examples
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.

LLMSpring BootWorkflow
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.

Spring BootTomcatdependency-upgrade
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.

HTTP clientInterceptorRetrofit
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.

Message QueueMessaging APIRocketMQ
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.

Class LoadingCustom ClassLoaderJVM
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.

ShardingSpring Bootasynchronous-initialization
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.

AOPConfigurationSpring Boot
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 JarMicroservices
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 18, 2025 · Backend Development

Master Polymorphic Deserialization in Spring Boot 3 with Jackson

This tutorial shows how to use Jackson's polymorphic deserialization in Spring Boot 3 to handle variable JSON request bodies by defining a common Order interface, concrete implementations, and a REST controller that routes calculations based on the order type, eliminating redundant endpoints.

JacksonPolymorphic DeserializationREST API
0 likes · 6 min read
Master Polymorphic Deserialization in Spring Boot 3 with Jackson
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.

CRUDMulti-DataSourceORM
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 DeploymentSpring Bootdependency injection
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.

Design PatternsSpring Bootbest practices
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 vulnerabilitySpring Bootcontent-disposition
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.

Instant MessagingReal‑time communicationSpring Boot
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 integrationMCPModel Context Protocol
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.

JavaScriptQR Code LoginREST API
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.

Modular DesignPlugin architectureSpring 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.

FiltersInterceptorsSpring 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.

Data MappingJSON transformationJolt
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.

Data PermissionMyBatisSpring Boot
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.

JpaRepositorySpring Bootbackend development
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.

LiteFlowSpring BootWorkflow
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.

PathVariableSpring BootWebMvcConfigurer
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.

AOPCustom MappingInterceptor
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.

BaseControllerCRUDREST API
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 clientInterceptorMicroservices
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.

Controller RefactoringException HandlingSpring Boot
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 documentationConfigurationJakarta
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.

MavenSpring BootVersion management
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.

Bean LifecycleCustom 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 securitySignatureSpring 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 securitySpring Bootauthentication
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.

DubboMicroservicesSeata
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.

@ValidControllerException Handling
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.

AsynchronousSpring BootThreadPool
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.

JWTSpring Bootauthentication
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.

JSpecifySpELSpring Boot
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.

DubboFeignKubernetes
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 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.

DataSourceSpring BootTransaction Management
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.

Docker ComposeSpring Bootbackend development
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.

DeserializationJacksonObjectMapper
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.

Null SafetySpring Bootapi-versioning
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.

GraalVMMigrationSpring Boot
0 likes · 18 min read
Why Spring Boot 3 Removed spring.factories & How to Migrate to imports
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 30, 2025 · Backend Development

Spring Boot 3: 7 Key Differences Between Filters and Interceptors

This article explains the fundamental distinctions between Spring Boot filters and interceptors—including execution timing, scope, registration methods, request handling, modification capabilities, exception mechanisms, and typical use cases—while providing practical code examples for each.

InterceptorSpring Bootbackend development
0 likes · 9 min read
Spring Boot 3: 7 Key Differences Between Filters and Interceptors
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.

CronSpringSpring Boot
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.

JacksonSpring Bootdate-formatting
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.

Spring BootSpring Framework 7api-versioning
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.

JSON-RPCRPCSpring Boot
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.

LiteFlowSpring BootWorkflow
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.

Spring BootUIcode generation
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.

AsynchronousSpring BootThreadPool
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.

Performance TestingProject 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.

ElasticsearchMySQLRepository
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.

HTTPSKeytoolSSL
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.

Form HandlingPartial TemplatesSpring Boot
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.

DebuggingSpring Bootbackend
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.

MinIOSpring BootToken Authentication
0 likes · 10 min read
Secure File Upload and Preview with Spring Boot, Minio, and KKFile