Tagged articles
3838 articles
Page 8 of 39
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.

LiteFlowbackend-developmentjava
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.

PathVariableStatic ResourcesWebMvcConfigurer
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.

Custom MappingInterceptoraop
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 Handlingbest practices
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 documentationCompatibilityJakarta
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.

Custom ScopeException HandlingInterceptor
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-developmentduplicate submission
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.

Distributed TransactionsDubboMicroservices
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.

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

Graceful Shutdown of Spring Boot Applications: kill Commands, Signal Handlers, and Runtime Hooks

This article explains how to achieve graceful shutdown for Java applications by using Linux kill signals, JVM SignalHandler registration, Runtime.addShutdownHook, and Spring Boot's actuator shutdown endpoint, providing code examples and configuration details for safe resource cleanup.

Graceful ShutdownKill CommandRuntime Hook
0 likes · 13 min read
Graceful Shutdown of Spring Boot Applications: kill Commands, Signal Handlers, and Runtime Hooks
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.

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

Dynamic ToolsMCPbackend-development
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.

DataSourcebackend-developmentjava
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 Composebackend-developmentjava
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.

PerformanceSpring Factoriesgraalvm
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.

Backendcronspring
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 VersioningSpring Framework 7backend-development
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-RPCRPCbackend-development
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.

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

UIcode-generationmybatis-plus
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.

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

HTTPSSSLTLS
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 TemplatesTemplate Engine
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.

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

Miniofile uploadjava
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 Samplesconfiguration
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.

Frontend DevelopmentVue.jsbackend-development
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.

Native MemoryPerformancememory leak
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.

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

APIJSONCRUDZero-Code API
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 FilterMicroservicesSpring Cloud Gateway
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 DownloadMinioOSS
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.

BackendReal-TimeSSE
0 likes · 6 min read
Choosing the Right Real‑Time Web Technique: SSE, WebSocket or Long Polling?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2025 · Backend Development

Explore 8 Ways to Define Web Interfaces in Spring Boot 3 – Practical Code Samples

This article presents a comprehensive collection of 124 Spring Boot 3 practical cases, detailing eight distinct methods for defining web interfaces—including @Controller, @RestController, HttpRequestHandler, ServletRegistrationBean, HandlerFunction, @HttpExchange, and static resource registration—complete with code snippets, configuration steps, and usage explanations.

Code ExamplesWeb Interfacebackend-development
0 likes · 11 min read
Explore 8 Ways to Define Web Interfaces in Spring Boot 3 – Practical Code Samples
Java Tech Enthusiast
Java Tech Enthusiast
May 15, 2025 · Backend Development

Automate CRUD with a Generic BaseController in Spring Boot

This guide shows how to create a reusable BaseController using MyBatis‑Plus, reflection utilities, and Spring Boot annotations to provide automatic CRUD, list, pagination and count endpoints for any entity with minimal code.

CRUDGeneric ControllerREST API
0 likes · 10 min read
Automate CRUD with a Generic BaseController in Spring Boot
Java Captain
Java Captain
May 15, 2025 · Backend Development

Automating CRUD Operations with MyBatisPlus and a Generic BaseController in Spring Boot

This article demonstrates how to automate CRUD functionality in a Spring Boot application by adding MyBatisPlus, creating utility methods for query building and reflection, implementing a generic BaseController, configuring pagination support, and extending the controller for specific entities, providing a reusable RESTful API template.

BaseControllerCRUDMyBatisPlus
0 likes · 11 min read
Automating CRUD Operations with MyBatisPlus and a Generic BaseController in Spring Boot
Programmer DD
Programmer DD
May 15, 2025 · Backend Development

Boost Spring Boot Performance 3× with JVM Tuning: Practical Parameters

After caching, indexing, and async optimizations still leave a Spring Boot REST API sluggish, this guide shows how fine‑tuning JVM options—such as enabling G1GC, adjusting pause targets, compressing class metadata, shrinking thread stacks, and pre‑touching memory—can triple response speed without changing application code.

JVMPerformance Tuningg1gc
0 likes · 7 min read
Boost Spring Boot Performance 3× with JVM Tuning: Practical Parameters
macrozheng
macrozheng
May 14, 2025 · Backend Development

Why PowerJob Is the Next‑Gen Distributed Scheduler You Should Try

This article introduces PowerJob, a next‑generation distributed scheduling and computing framework, outlines its key advantages, compares it with other schedulers, and provides a step‑by‑step guide for local deployment, web console usage, and creating a scheduled task.

Distributed Schedulingbackend-developmentpowerjob
0 likes · 6 min read
Why PowerJob Is the Next‑Gen Distributed Scheduler You Should Try
Senior Tony
Senior Tony
May 13, 2025 · Backend Development

Master WebSocket: From Handshake to Real‑Time Messaging with Java & Spring

This tutorial explains WebSocket’s full‑duplex protocol, compares it with HTTP polling, outlines typical real‑time use cases, details the handshake and frame structure, and provides complete client‑side JavaScript and Spring Boot server examples to help developers quickly implement bi‑directional communication.

JavaScriptbackend-developmentfull-duplex
0 likes · 9 min read
Master WebSocket: From Handshake to Real‑Time Messaging with Java & Spring
Su San Talks Tech
Su San Talks Tech
May 13, 2025 · Backend Development

Mastering Spring Boot Parameter Validation: 6 Powerful Techniques

This article walks you through six essential validation strategies for Spring Boot applications, from using JSR‑303 annotations and global exception handling to custom validators, validation groups, cross‑field checks, and integrating a Drools rule engine, all illustrated with complete code examples and best‑practice tips.

Custom AnnotationDroolsException Handling
0 likes · 13 min read
Mastering Spring Boot Parameter Validation: 6 Powerful Techniques
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
May 12, 2025 · Backend Development

How to Use SpringBoot, Dubbo, and Seata to Solve Distributed Transaction Data Inconsistency

This article walks through integrating SpringBoot, Dubbo, and Seata to implement reliable distributed transactions, covering project setup, Maven dependencies, service definitions, Nacos registration, configuration files, testing normal commits and rollbacks, and troubleshooting version incompatibilities.

Distributed TransactionsDubboMicroservices
0 likes · 17 min read
How to Use SpringBoot, Dubbo, and Seata to Solve Distributed Transaction Data Inconsistency
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 12, 2025 · Backend Development

Mastering Feature Toggles in Spring Boot 3: 6 Practical Implementations

This article explains why feature flags are essential in Spring Boot projects and walks through six concrete ways to implement dynamic toggles—including @Profile, @Conditional, @RefreshScope, database‑backed scheduling, Apache Commons Configuration, and Togglz—complete with code snippets and usage tips.

Dynamic Refreshbackend-developmentconfiguration
0 likes · 9 min read
Mastering Feature Toggles in Spring Boot 3: 6 Practical Implementations
Architecture Digest
Architecture Digest
May 11, 2025 · Backend Development

Integrating Dataway with Spring Boot for Zero‑Code API Configuration

This tutorial walks through adding Dataway to a Spring Boot project, covering Maven dependencies, configuration properties, required database tables, data‑source setup, Hasor module integration, enabling Hasor, launching the application, and creating and testing APIs using both SQL and DataQL without writing any service code.

API ConfigurationDataQLDataway
0 likes · 14 min read
Integrating Dataway with Spring Boot for Zero‑Code API Configuration
Java Tech Enthusiast
Java Tech Enthusiast
May 10, 2025 · Backend Development

Why IDEA Blocks Java 8 Spring Boot Projects—and How to Bypass It

IDEA no longer offers Java 8 when creating Spring Boot projects because it relies on Spring Initializr, which now only supports Spring Boot 3.x and Java 17+, but you can still generate Java 8‑compatible projects by switching to alternative starter services like Alibaba Cloud’s start.aliyun.com.

Alibaba CloudIntelliJ IDEAJava 8
0 likes · 8 min read
Why IDEA Blocks Java 8 Spring Boot Projects—and How to Bypass It
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 10, 2025 · Backend Development

7 Advanced Spring Boot Cases: Resilience4j, Actuator, Cache & More

This article presents seven advanced Spring Boot topics—including Resilience4j circuit breaking, custom Actuator health checks, Saga-based distributed transactions, cache optimization, asynchronous processing, Gateway vs. Zuul, and OAuth2/JWT security—each illustrated with concise explanations, implementation steps, and code samples.

ActuatorCacheOAuth2
0 likes · 11 min read
7 Advanced Spring Boot Cases: Resilience4j, Actuator, Cache & More
Java Architect Essentials
Java Architect Essentials
May 9, 2025 · Backend Development

Using @ConversionService in Spring Boot for Automatic Request Parameter Conversion

Spring Boot's @ConversionService annotation simplifies request parameter conversion by automatically transforming string inputs into target types such as dates or numbers, eliminating repetitive manual parsing code, supporting custom converters, and enhancing code maintainability and development efficiency, as demonstrated with practical examples.

ConversionServiceRequest Parameter Conversionbackend-development
0 likes · 6 min read
Using @ConversionService in Spring Boot for Automatic Request Parameter Conversion
macrozheng
macrozheng
May 9, 2025 · Backend Development

Master Spring Boot Parameter Validation: From Bean Validation to Global Exception Handling

This tutorial walks through the need for robust API parameter validation in Spring Boot, introduces the Bean Validation specification and its implementations, explains key constraint annotations, demonstrates a quick start with Maven dependencies, shows how to build DTOs and controllers, and details a unified global exception handling strategy for clean error responses.

API ValidationBean ValidationException Handling
0 likes · 22 min read
Master Spring Boot Parameter Validation: From Bean Validation to Global Exception Handling
Su San Talks Tech
Su San Talks Tech
May 9, 2025 · Backend Development

Master Spring Boot Interceptors: Filters, Handlers, AOP, RestTemplate & Feign

This article explores the hierarchy of Spring Boot interception mechanisms—Filter, HandlerInterceptor, AOP, RestTemplate, Feign, and WebFilter—detailing their typical use cases, implementation code, pitfalls, and best‑practice ordering, while providing practical tips and performance monitoring advice for robust backend development.

Interceptoraopfeign
0 likes · 8 min read
Master Spring Boot Interceptors: Filters, Handlers, AOP, RestTemplate & Feign
Java Captain
Java Captain
May 8, 2025 · Backend Development

Guide to Using easy-data-scope for Dynamic SQL Data Permissions in Spring Boot

This tutorial explains how to set up and use the easy-data-scope library in a Spring Boot project to implement dynamic SQL data‑permission rules with MyBatis, covering database preparation, Maven dependencies, core annotations, configuration files, and example queries for various permission scenarios.

Data Permissionjavamybatis
0 likes · 10 min read
Guide to Using easy-data-scope for Dynamic SQL Data Permissions in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 8, 2025 · Backend Development

Master Spring Boot 3 Controllers: Real‑World Cases & Advanced Techniques

Explore a comprehensive Spring Boot 3 tutorial featuring 122 real‑world controller examples—from basic @RestController setup and dynamic URL configuration to advanced SpEL usage, interface default methods, exception handling, data binding, and custom endpoints—complete with code snippets and test results.

ControllerREST APIbackend-development
0 likes · 8 min read
Master Spring Boot 3 Controllers: Real‑World Cases & Advanced Techniques
Java Tech Enthusiast
Java Tech Enthusiast
May 7, 2025 · Backend Development

Why Redis Increment Returns Null When Using @Transactional with Transaction Support in Spring Boot

The production failure where a customer‑service event creation stopped each morning was traced to RedisTemplate’s increment returning null because @Transactional combined with enabled Redis transaction support caused the command to be queued in a MULTI/EXEC block, which is fixed by using separate non‑transactional and transactional StringRedisTemplate beans.

debuggingjavaredis
0 likes · 11 min read
Why Redis Increment Returns Null When Using @Transactional with Transaction Support in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
May 7, 2025 · Backend Development

Easy-Data-Scope: A Simple Data‑Permission Library for MyBatis and Spring Boot

This article introduces easy-data-scope, a lightweight Java library that enables dynamic SQL‑based data permission control for MyBatis, MyBatis‑Plus, and MyBatis‑Flex, showing how to set up the project, configure dependencies, define annotations, and apply various permission scenarios with code examples.

Data Permissionannotationeasy-data-scope
0 likes · 9 min read
Easy-Data-Scope: A Simple Data‑Permission Library for MyBatis and Spring Boot
macrozheng
macrozheng
May 7, 2025 · Backend Development

Mastering Date and Time Handling in Java: Thread Safety, Time Zones, and Performance

This article explores common pitfalls in Java date handling, explains thread‑unsafe SimpleDateFormat issues, demonstrates safe alternatives with ThreadLocal, Java 8 Time API, and zone‑aware calculations, and provides performance‑optimized patterns for high‑throughput applications.

Time Zonespring-bootthread safety
0 likes · 10 min read
Mastering Date and Time Handling in Java: Thread Safety, Time Zones, and Performance
macrozheng
macrozheng
May 7, 2025 · Backend Development

What’s New in Spring Boot 3.5? 13 Must‑Know Features for Java Backend Developers

Spring Boot 3.5 introduces a suite of enhancements—including task decorator support, the Vibur connection pool, SSL health metrics, flexible configuration loading, automatic Trace‑ID headers, richer Actuator capabilities, functional programming hooks, and many more—each explained with code examples and practical usage tips for modern Java backend development.

DevOpsMicroservicesObservability
0 likes · 10 min read
What’s New in Spring Boot 3.5? 13 Must‑Know Features for Java Backend Developers
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
May 7, 2025 · Backend Development

How Seata Guarantees Zero-Error Cross-Database Transactions: Theory and Full Demo

This article explains Seata's distributed transaction architecture, details the AT transaction mode, walks through single‑node and cluster deployments, and provides complete code examples for stock and order services that demonstrate both successful commits and automatic rollbacks in a microservice environment.

AT ModeDistributed TransactionsMicroservices
0 likes · 25 min read
How Seata Guarantees Zero-Error Cross-Database Transactions: Theory and Full Demo
Java Architecture Diary
Java Architecture Diary
May 6, 2025 · Backend Development

Spring Boot 3.5 Release: Top 13 New Features You Must Know

Spring Boot 3.5 introduces a suite of powerful enhancements—including task decorator support, a new Vibur connection pool, SSL monitoring, flexible environment variable loading, Actuator-triggered Quartz jobs, automatic Trace ID headers, structured log customization, functional routing insights, expanded SSL client support, OpenTelemetry upgrades, Spring Batch tweaks, OAuth 2.0 JWT profiling, and functional bean registration—providing developers with richer capabilities for modern Java backend applications.

Observabilitybackend-developmentspring-boot
0 likes · 11 min read
Spring Boot 3.5 Release: Top 13 New Features You Must Know
Architect's Guide
Architect's Guide
May 6, 2025 · Backend Development

Using Lua Scripts with Spring Boot and Redis for Performance and Atomic Operations

This article explains how to integrate Lua scripts into Spring Boot applications to leverage Redis for atomic operations, performance optimization, and complex data processing, providing detailed Lua fundamentals, practical use‑cases, implementation steps, error handling, security considerations, and best‑practice recommendations.

BackendLua scriptingPerformance
0 likes · 21 min read
Using Lua Scripts with Spring Boot and Redis for Performance and Atomic Operations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 6, 2025 · Backend Development

Why @Transactional Fails with @Async in Spring Boot 3 – A Deep Dive

This article explains how @Transactional and @Async normally cooperate in Spring Boot, demonstrates cases where the transaction does not roll back when @EnableAsync order is changed, analyzes the underlying AOP proxy creation and bean post‑processor execution order, and introduces new Spring 6.2 transaction‑rollback configuration options.

Asyncaopasynchronous processing
0 likes · 9 min read
Why @Transactional Fails with @Async in Spring Boot 3 – A Deep Dive
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 5, 2025 · Backend Development

Explore 100+ Spring Boot 3 Real-World Cases: DB Init, Redis, Security & More

This article presents a continuously updated collection of over 120 Spring Boot 3 practical examples, covering database initialization scripts, switching Redis clients, disabling and customizing security, configuring HTTP clients, and fine‑tuning Spring MVC behavior with code snippets and configuration details.

Database InitializationHTTP clientSpring MVC
0 likes · 9 min read
Explore 100+ Spring Boot 3 Real-World Cases: DB Init, Redis, Security & More
Top Architect
Top Architect
May 3, 2025 · Backend Development

Implementing an OA Workflow Approval System with Activiti

This article explains how to design and implement a multi‑level approval workflow for an office automation system using the Activiti BPMN engine, covering process diagram creation, Spring Boot configuration, Java code for deployment and task handling, database tables, API overview, and comparisons with similar frameworks.

ActivitiBPMNWorkflow Engine
0 likes · 25 min read
Implementing an OA Workflow Approval System with Activiti
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 3, 2025 · Backend Development

Mastering Resilience4j: Real-World Spring Boot 3 Circuit Breaker Cases

This article explains why circuit breakers are essential for third‑party API calls, introduces the lightweight Resilience4j library, and provides step‑by‑step Spring Boot 3 examples—including Maven setup, RestTemplate and WebClient integrations, annotation usage, and both default and custom configurations—complete with code snippets and result screenshots.

backend-developmentcircuit breakerjava
0 likes · 8 min read
Mastering Resilience4j: Real-World Spring Boot 3 Circuit Breaker Cases