Tagged articles

Spring Boot

4358 articles · Page 6 of 44
Cloud Architecture
Cloud Architecture
Mar 18, 2026 · Backend Development

10 Classic Spring Boot Design Patterns to Refactor Your Business Code

This article walks through ten classic design patterns—Factory, Proxy, Template Method, Strategy, Observer, Chain of Responsibility, Singleton, Builder, Adapter, and Decorator—showing how they are realized in Spring Boot 3.x with concrete e‑commerce, payment, and user‑system examples, and explains their benefits, trade‑offs, and best‑practice usage.

BuilderDesign PatternsFactory Pattern
0 likes · 39 min read
10 Classic Spring Boot Design Patterns to Refactor Your Business Code
Yunqi AI+
Yunqi AI+
Mar 18, 2026 · Artificial Intelligence

Making AI Write Production-Ready Code via Context Engineering (COLA 5.0 & Spring Boot 3.x)

The article presents a systematic context‑engineering method that feeds project‑level, file‑level and task‑level knowledge to Claude/Claude‑CLI or Cursor, turning AI from an inconsistent code generator into a reliable collaborator, and quantifies token savings and consistency gains in a COLA 5.0 + Spring Boot 3.x project.

AI codingCOLACode consistency
0 likes · 14 min read
Making AI Write Production-Ready Code via Context Engineering (COLA 5.0 & Spring Boot 3.x)
LuTiao Programming
LuTiao Programming
Mar 18, 2026 · Backend Development

Spring Boot 4 + Project Leyden: How Java’s Startup Now Rivals Go in 2026

The article explains how Java’s long‑standing startup latency problem is solved by Project Leyden and Spring Boot 4’s snapshot‑based launch, delivering sub‑150 ms startup, under 120 MB memory, and near‑real‑time scaling that bring Java’s performance on par with Go for cloud‑native workloads.

Cloud NativeGo comparisonJava performance
0 likes · 7 min read
Spring Boot 4 + Project Leyden: How Java’s Startup Now Rivals Go in 2026
Cloud Architecture
Cloud Architecture
Mar 17, 2026 · Information Security

Secure API Communication with AES+RSA Hybrid Encryption in Spring Boot

This article walks through the design and implementation of a robust API security solution using a hybrid AES‑RSA encryption architecture, covering threat analysis, algorithm selection, key exchange, signature verification, replay‑attack defenses, and a complete Spring Boot codebase with best‑practice recommendations.

AESAPI securityHybrid Encryption
0 likes · 39 min read
Secure API Communication with AES+RSA Hybrid Encryption in Spring Boot
Architect's Ambition
Architect's Ambition
Mar 17, 2026 · Backend Development

How to Equip Cursor AI with a Project‑Management Brain Using Superpowers MCP

The article explains why AI‑generated code often requires rework, introduces the Superpowers MCP tool that enforces a structured three‑step workflow, details its core commands and installation, and demonstrates a real‑world Spring Boot payment‑callback implementation that boosts code pass rate from 40% to 95% and cuts rework tenfold.

AI coding workflowCursor AIMCP
0 likes · 11 min read
How to Equip Cursor AI with a Project‑Management Brain Using Superpowers MCP
macrozheng
macrozheng
Mar 17, 2026 · Artificial Intelligence

Why AgentScope Java Is the Game‑Changer for Enterprise AI Agents

This article introduces AgentScope Java 1.0, an enterprise‑grade AI agent framework for Java that solves stack fragmentation, security, operations, and multi‑agent collaboration challenges by adopting the ReAct paradigm, offering real‑time interruption, sandbox isolation, RocketMQ‑based A2A communication, visual debugging, and deep Spring Cloud integration.

AI agentsAgentScopeReAct
0 likes · 15 min read
Why AgentScope Java Is the Game‑Changer for Enterprise AI Agents
Java Companion
Java Companion
Mar 17, 2026 · Backend Development

Three Hot‑Reload Methods for Spring Boot in IDEA – Why JRebel Is the Best

When Spring Boot projects grow, restart times can reach minutes, slowing development, so the article compares three hot‑reload approaches—spring‑boot‑devtools, IDEA’s built‑in HowSwap, and the JRebel plugin—detailing their setup, limitations, and why JRebel is the most effective.

IntelliJ IDEAJRebelSpring Boot
0 likes · 5 min read
Three Hot‑Reload Methods for Spring Boot in IDEA – Why JRebel Is the Best
LuTiao Programming
LuTiao Programming
Mar 15, 2026 · Backend Development

How Java Virtual Threads Eliminate Thread‑Pool Bottlenecks and Enable a Single Machine to Handle 100k Requests

The article explains why traditional OS‑based thread pools choke under 100,000 concurrent Java requests, introduces Java 21's Virtual Threads from Project Loom, shows their low‑memory, high‑throughput characteristics, provides Spring Boot configuration and code samples, and warns about synchronization, ThreadLocal and CPU‑bound pitfalls.

I/OProject LoomSpring Boot
0 likes · 10 min read
How Java Virtual Threads Eliminate Thread‑Pool Bottlenecks and Enable a Single Machine to Handle 100k Requests
SpringMeng
SpringMeng
Mar 15, 2026 · Backend Development

Boost Your Spring Boot APIs with a DIY Anti‑Duplicate and Rate‑Limiting Starter

Guardian is a lightweight Spring Boot starter that provides independent anti‑duplicate submission and rate‑limiting modules, offering annotation and YAML configuration, multi‑dimensional key scopes, customizable response modes, Redis or local storage, and built‑in monitoring, all illustrated with step‑by‑step code examples.

API protectionAnnotationRedis
0 likes · 17 min read
Boost Your Spring Boot APIs with a DIY Anti‑Duplicate and Rate‑Limiting Starter
Cloud Architecture
Cloud Architecture
Mar 14, 2026 · Backend Development

Java Integration of Alipay Recurring Payments: End‑to‑End Production‑Ready Implementation

This guide walks through a complete Java implementation for Alipay's periodic (cycle) payment service, covering business prerequisites, Spring Boot configuration, signing and deduction APIs, callback verification, retry mechanisms, scheduled tasks, and reconciliation, with production‑grade code examples.

API integrationAlipayRecurring Payments
0 likes · 46 min read
Java Integration of Alipay Recurring Payments: End‑to‑End Production‑Ready Implementation
LuTiao Programming
LuTiao Programming
Mar 14, 2026 · Backend Development

Why Your Spring Boot App Freezes at One Million Records – 5 Proven Techniques to Double Performance

When a Spring Boot application reaches millions of rows, it often suffers from OutOfMemoryErrors, slow queries, and high CPU, but by applying five proven strategies—pagination, streaming, batch processing, indexing, and asynchronous execution—you can halve memory usage and achieve up to ten‑fold speed gains.

Asynchronous ExecutionBatch ProcessingIndexing
0 likes · 11 min read
Why Your Spring Boot App Freezes at One Million Records – 5 Proven Techniques to Double Performance
LuTiao Programming
LuTiao Programming
Mar 13, 2026 · Backend Development

Why Your Spring Boot Code Is Hard to Maintain—and How the Builder Pattern Solves It

The article explains how the Builder pattern in Spring Boot eliminates the telescoping‑constructor and unsafe‑setter problems of complex objects, improves readability, immutability and maintainability, shows hand‑written and Lombok implementations, provides usage examples for DTOs, API responses and queries, and offers best‑practice guidelines.

Builder PatternDesign PatternsImmutable
0 likes · 10 min read
Why Your Spring Boot Code Is Hard to Maintain—and How the Builder Pattern Solves It
macrozheng
macrozheng
Mar 12, 2026 · Operations

How to Deploy Apps Visually with Dockge – A Docker Compose GUI Guide

This guide introduces Dockge, a sleek Docker Compose visual manager, and walks through installing it via Docker, creating stacks, and deploying a Spring Boot and MySQL application with one‑click operations, including logs, terminal access, and API testing.

Container ManagementDevOpsDocker
0 likes · 5 min read
How to Deploy Apps Visually with Dockge – A Docker Compose GUI Guide
Coder Trainee
Coder Trainee
Mar 12, 2026 · Backend Development

Building a County Cultural Heritage & Creative Marketplace with Spring Boot and Vue.js

This article outlines the design and implementation of a three‑day graduation demo system that digitizes county cultural heritage, offers searchable displays, a creative product marketplace, user authentication, and monitoring, using a Spring Boot back‑end, Vue.js front‑end, MySQL, Redis, Docker, and CI/CD pipelines.

Cultural HeritageDockerSpring Boot
0 likes · 5 min read
Building a County Cultural Heritage & Creative Marketplace with Spring Boot and Vue.js
Java Companion
Java Companion
Mar 12, 2026 · Artificial Intelligence

AgentScope Java: Alibaba’s Enterprise‑Grade AI Agent Framework for Java

AgentScope Java 1.0, open‑sourced by Alibaba, provides a production‑ready AI agent framework built for Java ecosystems, addressing stack fragmentation, security, operations, and multi‑agent collaboration through ReAct reasoning, real‑time interruption, sandboxing, RocketMQ‑based A2A communication, and visual debugging, with detailed integration guides and comparison to LangChain4j and Spring AI.

AI agentsAgentScope JavaEnterprise AI
0 likes · 14 min read
AgentScope Java: Alibaba’s Enterprise‑Grade AI Agent Framework for Java
Java Backend Technology
Java Backend Technology
Mar 12, 2026 · Artificial Intelligence

Why a Decade‑Old Java Library Is Jumping Into the AI Race with TOON

The article introduces TOON, a token‑oriented data format that cuts JSON token usage by 30‑60%, and explains how the veteran Java serialization library json‑io has added full TOON support, offering zero‑config, cyclic‑reference handling, and seamless Spring Boot integration for cost‑effective LLM applications.

LLMSpring Bootjson-io
0 likes · 7 min read
Why a Decade‑Old Java Library Is Jumping Into the AI Race with TOON
LuTiao Programming
LuTiao Programming
Mar 11, 2026 · Backend Development

Why Do Spring Boot Projects Get Messier? 10 Common Anti‑Patterns Teams Fall Into

The article dissects ten frequent Spring Boot anti‑patterns—such as bloated controllers, SQL in services, overused @Autowired, exposing entities, misuse of @Transactional, N+1 queries, missing exception handling, hard‑coded configs, lack of caching, and careless logging—explaining why they degrade maintainability, performance, and testability, and shows how to refactor each with proper layered architecture, DTOs, repository abstraction, constructor injection, scoped transactions, eager fetching, global exception handling, externalized configuration, caching annotations, and structured logging.

Anti-PatternControllerDTO
0 likes · 9 min read
Why Do Spring Boot Projects Get Messier? 10 Common Anti‑Patterns Teams Fall Into
macrozheng
macrozheng
Mar 11, 2026 · Backend Development

Why json-io’s New TOON Support Could Cut LLM Token Costs by Up to 60%

The article introduces json-io’s recent addition of full TOON format support—a token‑oriented data notation that removes JSON’s syntactic noise, saving 30‑60% of tokens for LLM APIs, and shows how to integrate it with Java, Maven, and Spring Boot.

LLMSpring Bootjson-io
0 likes · 7 min read
Why json-io’s New TOON Support Could Cut LLM Token Costs by Up to 60%
LuTiao Programming
LuTiao Programming
Mar 10, 2026 · Artificial Intelligence

Why Most Java Teams Miss the Quiet AI Revolution Brought by Spring AI

Spring AI eliminates SDK fragmentation, side‑car Python services, and operational complexity by providing a unified AI abstraction layer for Java, enabling seamless model switching, RAG, tool calling, and offering concrete performance data and best‑practice guidance for production use.

AI integrationChatClientRAG
0 likes · 12 min read
Why Most Java Teams Miss the Quiet AI Revolution Brought by Spring AI
Cloud Architecture
Cloud Architecture
Mar 10, 2026 · Backend Development

Spring Boot Built-in Filters Explained: Usage, Customization, and Performance Tips

This article provides a comprehensive guide to Spring Boot's built-in servlet filters, shows how to implement custom filters using the Filter interface, OncePerRequestFilter, and FilterRegistrationBean, explains filter ordering and configuration, and presents practical scenarios with performance‑optimisation best practices.

Custom FiltersServlet FiltersSpring Boot
0 likes · 34 min read
Spring Boot Built-in Filters Explained: Usage, Customization, and Performance Tips
Top Architect
Top Architect
Mar 9, 2026 · Backend Development

How to Auto‑Cancel Unpaid Orders in Spring Boot: 3 Practical Approaches

This guide explains three ways to automatically cancel orders that remain unpaid for 30 minutes in a Spring Boot application, covering scheduled tasks, RabbitMQ delayed queues, and Redis key‑expiration events, with complete code examples and configuration details.

RedisScheduled TasksSpring Boot
0 likes · 7 min read
How to Auto‑Cancel Unpaid Orders in Spring Boot: 3 Practical Approaches
Java Architect Handbook
Java Architect Handbook
Mar 9, 2026 · Backend Development

How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes

This article explains three practical ways to automatically cancel orders that remain unpaid for 30 minutes in a Spring Boot application, covering a scheduled task, a RabbitMQ delayed queue, and Redis key‑expiration events, with complete code examples and configuration steps.

Delayed QueueRedisSpring Boot
0 likes · 8 min read
How to Auto‑Cancel Unpaid Orders in Spring Boot Within 30 Minutes
LuTiao Programming
LuTiao Programming
Mar 9, 2026 · Backend Development

Spring Boot’s Hidden Power: 10‑Step Bean Lifecycle Most Developers Miss

Most Spring Boot developers use @Service, @Component and @Autowired daily, yet few understand the ten‑step lifecycle a bean undergoes—from loading its definition to destruction—information that unlocks advanced features such as custom initialization, AOP, and dynamic proxy creation.

Bean LifecycleBeanPostProcessorDisposableBean
0 likes · 7 min read
Spring Boot’s Hidden Power: 10‑Step Bean Lifecycle Most Developers Miss
LuTiao Programming
LuTiao Programming
Mar 8, 2026 · Backend Development

Stop Hand‑Writing Logs: One‑Click Full‑Trace Monitoring with Spring Boot AOP

After a system has been running, developers often drown in manual log statements to answer questions like why an interface is slow, who called a method, or what parameters were passed, but Spring Boot AOP lets you replace all that with a single annotation and aspect that automatically records calls, execution time, parameters, exceptions, and call chains, keeping business code clean.

AOPAnnotationAspectJ
0 likes · 8 min read
Stop Hand‑Writing Logs: One‑Click Full‑Trace Monitoring with Spring Boot AOP
Cloud Architecture
Cloud Architecture
Mar 7, 2026 · Backend Development

Mastering Spring MVC Configuration: In‑Depth Guide to WebMvcConfigurer

This guide explains how the WebMvcConfigurer callback interface lets developers extend Spring MVC behavior without disabling Spring Boot’s auto‑configuration, covering the full request lifecycle, common customizations such as interceptors, CORS, message converters, static resources, async support, and production‑grade pitfalls.

AsyncSupportCORSInterceptor
0 likes · 10 min read
Mastering Spring MVC Configuration: In‑Depth Guide to WebMvcConfigurer
Xike
Xike
Mar 7, 2026 · Artificial Intelligence

Spring AI Hands‑On Introduction: Build AI‑Powered Apps with the Spring Ecosystem

This guide walks you through setting up Spring AI, configuring OpenAI credentials, using ChatClient for basic and advanced interactions, enabling function calling, managing conversation memory, and building real‑world projects such as a smart customer‑service bot, document summarizer, and code assistant, while also comparing Spring AI with LangChain4j and addressing common setup issues.

ChatClientFunction CallingRAG
0 likes · 15 min read
Spring AI Hands‑On Introduction: Build AI‑Powered Apps with the Spring Ecosystem
Cloud Architecture
Cloud Architecture
Mar 6, 2026 · Backend Development

From Blocking Threads to Million‑Request Reactive Architecture: A Spring WebFlux Practical Guide

This guide explains why traditional Spring MVC struggles under high concurrency, introduces Spring WebFlux’s asynchronous non‑blocking model, compares its performance to MVC, walks through core reactive concepts, shows practical code for controllers, functional endpoints, R2DBC integration, backpressure, scheduling, SSE, gateway usage, and real‑world benchmarking results.

R2DBCReactive ProgrammingSSE
0 likes · 17 min read
From Blocking Threads to Million‑Request Reactive Architecture: A Spring WebFlux Practical Guide
Architecture Digest
Architecture Digest
Mar 6, 2026 · Artificial Intelligence

AgentScope Java: Unlock Multi‑Agent AI Development Without Leaving Java

This article introduces AgentScope Java, a multi‑agent development framework that lets Java developers build intelligent assistants and collaborative agents with built‑in reasoning, tool use, memory, RAG, and Spring Boot integration, providing production‑grade performance and easy setup.

AI FrameworkAgentScopeRAG
0 likes · 9 min read
AgentScope Java: Unlock Multi‑Agent AI Development Without Leaving Java
Java Tech Enthusiast
Java Tech Enthusiast
Mar 6, 2026 · Backend Development

Simplify Spring Boot Authentication with Sa-Token: A Complete Guide

This article introduces Sa-Token, a lightweight Java authentication framework, explains why it outperforms Spring Security, shows how to configure it in Spring Boot, and provides multiple code examples—including login, logout, role and permission checks, global interceptors, front‑end token handling, and Redis storage.

Sa-TokenSpring Bootauthentication
0 likes · 7 min read
Simplify Spring Boot Authentication with Sa-Token: A Complete Guide
Senior Xiao Ying
Senior Xiao Ying
Mar 6, 2026 · Backend Development

5 Ways to Inject Spring Boot Implementations (Qualifier, Collections, Profile)

When a Spring Boot interface has several implementations, injecting the correct bean can cause NoUniqueBeanDefinitionException; this article explains five injection techniques—@Qualifier with constructor injection, @Primary, @Resource, collection or Map injection, and @Profile-based environment isolation—showing code examples, usage rules, and best‑practice recommendations.

@Primary@Profile@Qualifier
0 likes · 7 min read
5 Ways to Inject Spring Boot Implementations (Qualifier, Collections, Profile)
LuTiao Programming
LuTiao Programming
Mar 5, 2026 · Cloud Native

How to Achieve 99.99% Availability in Spring Boot Microservices: 7 Essential Steps

This article outlines seven production‑grade design principles—design for failure, circuit breaking, timeout control, service isolation, automatic retries, multi‑instance deployment, and comprehensive monitoring—each illustrated with Spring Boot and Resilience4j configurations to help microservices consistently meet four‑nine availability.

High AvailabilityKubernetesMonitoring
0 likes · 7 min read
How to Achieve 99.99% Availability in Spring Boot Microservices: 7 Essential Steps
macrozheng
macrozheng
Mar 5, 2026 · Backend Development

Rapid API Development with magic‑api: No Controllers, No Boilerplate

This guide shows how to use the Java‑based magic‑api framework to generate CRUD REST endpoints directly from a UI, covering Maven setup, datasource configuration, script‑based request handling, validation, result mapping, transactions, and Swagger integration.

API generationCRUDSpring Boot
0 likes · 10 min read
Rapid API Development with magic‑api: No Controllers, No Boilerplate
LuTiao Programming
LuTiao Programming
Mar 4, 2026 · Backend Development

Flyway vs Liquibase in Spring Boot: Which Database Migration Tool Wins?

The article compares Flyway and Liquibase for database version control in Spring Boot applications, explaining their core philosophies, integration steps, configuration examples, advantages, and trade‑offs, and provides guidance on selecting the appropriate tool based on project size, team skills, multi‑database needs, and rollback requirements.

Database MigrationLiquibaseSpring Boot
0 likes · 7 min read
Flyway vs Liquibase in Spring Boot: Which Database Migration Tool Wins?
macrozheng
macrozheng
Mar 3, 2026 · Backend Development

Explore Free FS: A Modern Spring Boot File Management System with Full Stack Demo

Free FS is an enterprise‑grade, Spring Boot‑based file management system that offers high‑performance storage, plug‑in architecture, and real‑time progress, with detailed backend and frontend installation guides, multi‑format preview, sharing, and support for various storage backends, all available via its public Git repository.

Full-StackSpring Bootbackend development
0 likes · 6 min read
Explore Free FS: A Modern Spring Boot File Management System with Full Stack Demo
SpringMeng
SpringMeng
Mar 2, 2026 · Backend Development

Deep Dive into an Asynchronous Spring Boot + Tesseract OCR Pipeline for Invoice Recognition

This article presents a complete design and implementation of a high‑throughput, asynchronous OCR pipeline built with Spring Boot and Tesseract, covering distributed architecture, thread‑pool tuning, image‑preprocessing, multi‑engine recognition, data extraction strategies, Kubernetes deployment, security compliance, chaos testing, and future AI‑driven enhancements.

AsynchronousGPUKubernetes
0 likes · 10 min read
Deep Dive into an Asynchronous Spring Boot + Tesseract OCR Pipeline for Invoice Recognition
LuTiao Programming
LuTiao Programming
Mar 1, 2026 · Backend Development

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

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

Spring BootSpring Boot 4api-versioning
0 likes · 11 min read
Spring Boot 4 Reduces API Versioning Code from Hundreds to Three Lines
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 1, 2026 · Backend Development

8 Common Java Collection Mistakes That Kill Performance (and How to Fix Them)

This article reveals eight frequent Java collection pitfalls—such as costly ArrayList insertions, inefficient LinkedList access, repeated contains checks, missing initial capacities, unordered HashMaps, modifying collections during streams, misuse of parallelStream, and in‑memory caches—explaining why they degrade performance and providing concrete, code‑driven alternatives.

CollectionsSpring Bootbackend development
0 likes · 10 min read
8 Common Java Collection Mistakes That Kill Performance (and How to Fix Them)
LuTiao Programming
LuTiao Programming
Mar 1, 2026 · Backend Development

How to Elegantly Handle Dynamic Request Bodies in Spring Boot

This article explains why using a fixed DTO for a constantly changing /orders endpoint is problematic, compares simple Map and JsonNode approaches, and presents a robust polymorphic @JsonTypeInfo solution that provides type safety, IDE support, and easy extensibility.

Dynamic JSONJacksonJsonNode
0 likes · 9 min read
How to Elegantly Handle Dynamic Request Bodies in Spring Boot
Java Architect Handbook
Java Architect Handbook
Feb 28, 2026 · Backend Development

Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter

This article introduces Guardian, a lightweight Spring Boot starter that provides anti‑duplicate‑submission protection and request rate limiting, explains how to integrate it via Maven, configure it with annotations or YAML, and details its internal workflow, storage options, concurrency handling, and monitoring capabilities.

RedisSpring Bootanti-duplicate
0 likes · 17 min read
Prevent Duplicate Submissions and Rate‑Limit APIs with the Guardian Spring Boot Starter
LuTiao Programming
LuTiao Programming
Feb 25, 2026 · Backend Development

Beyond DTOs: 5 Advanced Java Record Techniques Most Developers Miss

This article reveals how Java records serve as immutable data‑modeling tools, demonstrating compact constructors for validation, embedding business logic, static factory methods, pattern‑matching integration, and response‑object usage, while also outlining their thread‑safety benefits and scenarios where records are unsuitable.

Compact ConstructorDDDImmutable
0 likes · 8 min read
Beyond DTOs: 5 Advanced Java Record Techniques Most Developers Miss
IT Services Circle
IT Services Circle
Feb 25, 2026 · Cloud Native

Nacos vs Apollo: Which Config Center Is Faster and Easier for Microservices?

This article compares Nacos and Apollo, the two most popular configuration centers in the microservice ecosystem, covering their design philosophies, quick‑start procedures, core features, data models, architecture, performance, operational costs, community support, and provides guidance on when to choose each solution.

ApolloCloud NativeNacos
0 likes · 21 min read
Nacos vs Apollo: Which Config Center Is Faster and Easier for Microservices?
Architect's Guide
Architect's Guide
Feb 25, 2026 · Backend Development

Convert Word (.docx) to PDF in Spring Boot with docx4j – A Complete Guide

Learn how to seamlessly convert uploaded .docx files to PDF in a Spring Boot application using the pure‑Java docx4j library, covering solution comparison, Maven dependencies, a utility class, controller implementation, and Windows/Linux font‑encoding fixes for reliable, high‑fidelity document rendering.

MavenPDF conversionSpring Boot
0 likes · 11 min read
Convert Word (.docx) to PDF in Spring Boot with docx4j – A Complete Guide
LuTiao Programming
LuTiao Programming
Feb 25, 2026 · Backend Development

Which Entity‑to‑DTO Mapping Is Fastest? Benchmark of 3 Approaches

By benchmarking manual mapping, MapStruct, and JPQL projection across simple and relational scenarios, the article shows that JPQL is slightly faster in raw tests, but the real performance impact stems from N+1 queries, making query strategy the key factor rather than the mapping technique itself.

DTOEntity MappingN+1
0 likes · 8 min read
Which Entity‑to‑DTO Mapping Is Fastest? Benchmark of 3 Approaches
macrozheng
macrozheng
Feb 24, 2026 · Backend Development

How to Package Spring Boot Apps into Native Installers with JPackage

This guide explains how to use the JPackage tool introduced in JDK 14/16 to create platform‑specific native installers for Spring Boot applications, covering environment setup, custom JRE creation with jlink, Maven integration, and examples for Windows, macOS, and Linux.

JLinkJava PackagingMaven
0 likes · 11 min read
How to Package Spring Boot Apps into Native Installers with JPackage
Java Companion
Java Companion
Feb 24, 2026 · Backend Development

Spring Boot Online Dependency Vulnerability Scanner: One‑Click Detection of Potential Security Issues

This guide presents a lightweight Spring Boot dependency vulnerability scanner that automatically collects all project JARs, matches them against a CVE database, visualizes risk levels, provides detailed remediation steps and can be integrated into local development, emergency response, and CI/CD pipelines.

CI/CDCVEDependency Scanning
0 likes · 20 min read
Spring Boot Online Dependency Vulnerability Scanner: One‑Click Detection of Potential Security Issues
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 23, 2026 · Backend Development

8 Essential Null‑Handling Rules for Spring Boot 3 to Prevent NPEs

This article presents eight concrete rules for handling null values in Spring Boot 3 applications, illustrating common pitfalls with code snippets, explaining production‑impact risks, and offering best‑practice solutions such as using empty collections, explicit null checks, proper Optional usage, and consistent API design.

CollectionsNPE preventionNULL handling
0 likes · 11 min read
8 Essential Null‑Handling Rules for Spring Boot 3 to Prevent NPEs
Java Companion
Java Companion
Feb 22, 2026 · Backend Development

Why Most Backend Architecture Patterns Are Over‑engineered

A recent code review reveals a colleague using strategy, factory, and abstract‑factory patterns to build a payment system that only needs two methods, exposing how 90 % of classic backend architecture patterns become unnecessary over‑design in modern microservice and cloud‑native environments, and offering practical guidelines for when such complexity truly adds value.

Code ReviewDesign PatternsSpring Boot
0 likes · 13 min read
Why Most Backend Architecture Patterns Are Over‑engineered
LuTiao Programming
LuTiao Programming
Feb 22, 2026 · Backend Development

Mastering Spring Boot 4 Declarative HTTP Client: A Complete Practical Guide

This article walks through Spring Boot 4's built‑in HTTP Interface, showing how to replace RestTemplate/WebClient with a type‑safe, annotation‑driven RestClient, covering Maven setup, DTO and interface definitions, configuration, error handling, header injection, timeout control, reactive alternatives, design principles, and a side‑by‑side comparison with the legacy approach.

RestClientSpring Bootdeclarative-client
0 likes · 11 min read
Mastering Spring Boot 4 Declarative HTTP Client: A Complete Practical Guide
Java Companion
Java Companion
Feb 21, 2026 · Backend Development

Build Your Own Spring Boot API Guard: Anti‑Duplicate Submissions and Rate Limiting

The article introduces Guardian, a lightweight Spring Boot starter that provides independent anti‑duplicate‑submission and rate‑limiting modules, explains why a custom solution is preferable to raw Redis locks, and walks through annotation and YAML configurations, key generation, response handling, storage options, concurrency safety, and observability.

API GuardAnnotationAnti-duplicate Submission
0 likes · 17 min read
Build Your Own Spring Boot API Guard: Anti‑Duplicate Submissions and Rate Limiting
LuTiao Programming
LuTiao Programming
Feb 18, 2026 · Backend Development

5 Advanced Spring Boot Database Configurations to Make Your Code Reviews Shine

This article explains why basic Spring Boot datasource settings are insufficient for production and walks through five advanced configurations—HikariCP tuning, transaction timeout and isolation, read‑write splitting, slow‑SQL monitoring, and security hardening—each illustrated with concrete code snippets and rationale.

Database SecurityHikariCPSlow SQL Monitoring
0 likes · 8 min read
5 Advanced Spring Boot Database Configurations to Make Your Code Reviews Shine
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 16, 2026 · Backend Development

7 Common Spring Boot 3 Performance Pitfalls and How to Fix Them

This article examines seven frequent performance problems when using Spring Data JPA in Spring Boot 3—such as eager loading, N+1 queries, returning entities from controllers, eager fetch misuse, oversized transactions, count‑heavy pagination, and logging entities—and provides concrete code‑level solutions like DTO projections, EntityGraph, slice pagination, and proper transaction separation.

DTOEntityGraphJPA
0 likes · 9 min read
7 Common Spring Boot 3 Performance Pitfalls and How to Fix Them
Java Tech Enthusiast
Java Tech Enthusiast
Feb 15, 2026 · Backend Development

Why Switch from Maven to Gradle? A Hands‑On Migration Guide

This article walks through converting a Maven‑based Java Spring Boot project (mall‑tiny) to Gradle, explains Gradle's key features and plugins, provides step‑by‑step setup with screenshots, shows the full build.gradle file, and compares build times to demonstrate Gradle's speed advantage.

Build ToolDependency ManagementGradle
0 likes · 10 min read
Why Switch from Maven to Gradle? A Hands‑On Migration Guide
Selected Java Interview Questions
Selected Java Interview Questions
Feb 14, 2026 · Backend Development

Master Dynamic Table Names in MyBatis‑Plus with a Simple Starter

This article introduces an open‑source MyBatis‑Plus dynamic‑table starter, explains why dynamic table names are needed for large‑scale data, outlines its key features, provides step‑by‑step installation and quick‑start instructions, demonstrates advanced usage, debugging tips, FAQs, and real‑world scenarios.

Dynamic TableSpring Bootjava
0 likes · 9 min read
Master Dynamic Table Names in MyBatis‑Plus with a Simple Starter
LuTiao Programming
LuTiao Programming
Feb 13, 2026 · Operations

Stop Relying Only on Logs: 8 Observability Tools to Supercharge Spring Boot Monitoring

The article explains why traditional log‑only debugging no longer works for modern Spring Boot microservices and systematically introduces eight observability solutions—OpenTelemetry, Prometheus, Grafana, Jaeger, Zipkin, Elastic Stack, Datadog, and eBPF—showing how each addresses the three core questions of what is happening, why it happens, and what will happen next.

DatadogElastic StackGrafana
0 likes · 9 min read
Stop Relying Only on Logs: 8 Observability Tools to Supercharge Spring Boot Monitoring
LuTiao Programming
LuTiao Programming
Feb 12, 2026 · Backend Development

Understanding @Resource in Spring Boot: Why 90% of Developers Misuse It

The article explains the JSR‑250 @Resource annotation in Spring Boot, detailing its name‑first injection logic, differences from @Autowired, common pitfalls with multiple implementations, and proper usage patterns—including explicit name specification and why constructor injection is preferred—providing code examples and interview‑ready explanations.

AutowiredResourceSpring Boot
0 likes · 9 min read
Understanding @Resource in Spring Boot: Why 90% of Developers Misuse It
LuTiao Programming
LuTiao Programming
Feb 11, 2026 · Backend Development

Why Spring Boot Is Moving From RestTemplate to WebClient

The article examines the evolution from the synchronous, blocking RestTemplate to the reactive, non‑blocking WebClient in Spring Boot, detailing their design principles, code examples, performance characteristics, and guidance on when to choose each for modern microservice and high‑concurrency applications.

HTTP clientReactive ProgrammingSpring Boot
0 likes · 10 min read
Why Spring Boot Is Moving From RestTemplate to WebClient
Top Architect
Top Architect
Feb 11, 2026 · Backend Development

Designing Clean API Response Wrappers in Spring Boot

This article explains how to design a consistent JSON response format for Spring Boot APIs, covering status‑code conventions, message handling, a reusable Result wrapper class, controller simplification, and a global @ResponseResult annotation with interceptor and advice for automatic response packaging.

API designAnnotationControllerAdvice
0 likes · 10 min read
Designing Clean API Response Wrappers in Spring Boot
Java Architect Handbook
Java Architect Handbook
Feb 11, 2026 · Backend Development

Convert Word (.docx) to PDF in Spring Boot with docx4j

This guide walks you through a fully open‑source, pure‑Java solution for converting uploaded .docx files to PDF in a Spring Boot application, covering library selection, Maven dependencies, a reusable utility class, controller implementation, and handling Chinese font issues on Windows and Linux.

MavenPDF conversionSpring Boot
0 likes · 12 min read
Convert Word (.docx) to PDF in Spring Boot with docx4j
LuTiao Programming
LuTiao Programming
Feb 9, 2026 · Backend Development

Stop Memorizing Design Patterns—Use This Engineering Decision Tree to Solve Spring Boot Complexity

The article explains why design patterns often feel useless in Spring Boot projects, introduces a three‑branch decision tree that maps common sources of complexity to suitable patterns, and demonstrates a concrete refactor of an if‑else payment service into a clean, Spring‑managed strategy‑based solution.

Backend ArchitectureDesign PatternsSpring Boot
0 likes · 9 min read
Stop Memorizing Design Patterns—Use This Engineering Decision Tree to Solve Spring Boot Complexity
Java Architect Handbook
Java Architect Handbook
Feb 7, 2026 · Backend Development

Master AsyncTask Orchestration in Spring Boot with asyncTool

This guide explains how to integrate the asyncTool library into a Spring Boot project, configure custom thread pools, understand core interfaces like IWorker and ICallback, and use the provided Builder API to define serial, parallel, and mixed task flows with detailed code examples and best‑practice cautions.

Spring BootTask orchestrationThread Pool
0 likes · 13 min read
Master AsyncTask Orchestration in Spring Boot with asyncTool
Java Backend Technology
Java Backend Technology
Feb 6, 2026 · Backend Development

What Breaking Changes Does Jackson 3 Introduce When Upgrading Spring Boot 4?

Upgrading to Spring Boot 4 brings Jackson 3, which reorganizes packages, replaces ObjectMapper with JsonMapper, changes the default date format to ISO‑8601, and converts checked exceptions to RuntimeException, requiring developers to adapt code, adjust configurations, and understand the design rationale to avoid runtime bugs.

API changesJackson 3Spring Boot
0 likes · 6 min read
What Breaking Changes Does Jackson 3 Introduce When Upgrading Spring Boot 4?
LuTiao Programming
LuTiao Programming
Feb 5, 2026 · Information Security

Is Your Database Storing Plaintext? How Spring Boot Field‑Level Encryption Can Rescue You

The article explains why storing sensitive columns in plaintext leaves systems vulnerable even when the database is encrypted, and demonstrates a low‑intrusion, maintainable field‑level encryption solution for Spring Boot using JPA AttributeConverters, including code, pros, cons, and production best practices.

AESDatabase SecurityJPA
0 likes · 10 min read
Is Your Database Storing Plaintext? How Spring Boot Field‑Level Encryption Can Rescue You
Architecture Digest
Architecture Digest
Feb 5, 2026 · Backend Development

What Surprising Changes Await You When Upgrading to Jackson 3 in Spring Boot 4?

Upgrading to Spring Boot 4 brings Jackson 3, which introduces four major breaking changes—package reorganization, replacement of ObjectMapper with JsonMapper, a shift to ISO‑8601 date serialization, and the removal of checked exceptions—each explained with code examples, migration tips, and the rationale behind the design.

Dependency ManagementJacksonMigration
0 likes · 6 min read
What Surprising Changes Await You When Upgrading to Jackson 3 in Spring Boot 4?
java1234
java1234
Feb 5, 2026 · Backend Development

Convert DOCX to PDF in Spring Boot with docx4j: A Lightweight Open‑Source Solution

This article walks through building a pure‑Java DOCX‑to‑PDF converter in Spring Boot using docx4j, compares it with alternatives, shows Maven dependencies, provides a utility class and controller example, and explains how to resolve Chinese font garbling on both Windows and Linux.

MavenPDF conversionSpring Boot
0 likes · 11 min read
Convert DOCX to PDF in Spring Boot with docx4j: A Lightweight Open‑Source Solution
JakartaEE China Community
JakartaEE China Community
Feb 3, 2026 · Backend Development

Converting a Spring Boot Project to Helidon with AI

The author builds a lightweight Spring Pets test suite, evaluates three AI‑assisted migration strategies—contextual, incremental and hybrid—using OpenAI GPT‑4o, reports conversion coverage, performance, cost and practical challenges, and shares open‑source tooling for future Java framework migrations.

AI migrationGPT-4oHelidon
0 likes · 13 min read
Converting a Spring Boot Project to Helidon with AI
Java Companion
Java Companion
Feb 3, 2026 · Backend Development

Build Standalone Installers for Spring Boot Apps with JPackage

This guide walks through using JPackage (standard from JDK 16) to create native Windows, macOS, and Linux installers for Spring Boot applications, covering JDK requirements, platform‑specific tools, custom JRE creation with jlink, Maven integration, and step‑by‑step command examples.

JLinkLinuxMaven
0 likes · 12 min read
Build Standalone Installers for Spring Boot Apps with JPackage
java1234
java1234
Feb 3, 2026 · Backend Development

Boost API Latency 10× with Spring Boot 3 and a Local Cache Pyramid

The article demonstrates how to achieve a ten‑fold reduction in API response time by building a three‑level cache pyramid (Caffeine L1, Redis L2, DB L3) in Spring Boot 3, covering dependencies, configuration, core template code, warm‑up, monitoring, load‑test results and common high‑concurrency pitfalls.

CaffeineMonitoringRedis
0 likes · 8 min read
Boost API Latency 10× with Spring Boot 3 and a Local Cache Pyramid
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 3, 2026 · Backend Development

Master Java Reflection with the Reflector Library: Real‑World Examples

This article introduces the Reflector library—a comprehensive Java reflection utility—covers its core features, shows how to download it from GitHub, and provides step‑by‑step code examples for accessing private fields, invoking methods, creating instances, handling annotations, copying objects, and more, all with expected output.

Code ExampleReflectorSpring Boot
0 likes · 9 min read
Master Java Reflection with the Reflector Library: Real‑World Examples
Top Architect
Top Architect
Feb 2, 2026 · Backend Development

How to Build an Extensible Multi‑Method Login System with Strategy & Factory Patterns in Spring Boot

This article walks through designing a flexible login module that supports password, WeChat, and SMS authentication by applying the Strategy and Factory patterns in a Spring Boot project, showing code examples, project structure, and best‑practice tips for clean, maintainable backend development.

Factory PatternLoginSpring Boot
0 likes · 14 min read
How to Build an Extensible Multi‑Method Login System with Strategy & Factory Patterns in Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Feb 2, 2026 · Backend Development

Mastering High‑Concurrency Spring Boot: 7 Essential Load‑Balancing Strategies

To keep Spring Boot applications stable under tens of thousands to millions of requests per second, this guide explains why load balancing evolves from a simple traffic splitter to a multi‑layer system and details seven critical strategies—from edge CDN to service mesh—required for resilient, cost‑effective high‑concurrency deployments.

API GatewayKubernetesLoad Balancing
0 likes · 11 min read
Mastering High‑Concurrency Spring Boot: 7 Essential Load‑Balancing Strategies
Java Architecture Diary
Java Architecture Diary
Feb 2, 2026 · Artificial Intelligence

Why a 10‑Year‑Old Java JSON Library Is Now Targeting LLMs with TOON

json-io, a decade‑old Java JSON library known for zero‑config, circular‑reference support, and lightweight size, has added full TOON (Token‑Oriented Object Notation) read/write capabilities, a token‑efficient format designed for LLMs that can cut serialization costs by 30‑60% and integrates seamlessly with Spring Boot and Spring AI.

AILLMSerialization
0 likes · 9 min read
Why a 10‑Year‑Old Java JSON Library Is Now Targeting LLMs with TOON
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 30, 2026 · Backend Development

8 Hidden Hibernate Annotations That Supercharge Spring Boot 3

This guide explores eight lesser‑known Hibernate annotations—such as @EntityGraph, @Formula, @SQLRestriction, @SQLDelete, @JoinFormula, @Cache, @DynamicUpdate/Insert, and @Filter/FilterDef—demonstrating how they improve performance, simplify queries, and enhance data handling in Spring Boot 3 applications for developers.

HibernateJPASpring Boot
0 likes · 11 min read
8 Hidden Hibernate Annotations That Supercharge Spring Boot 3
Architect's Guide
Architect's Guide
Jan 28, 2026 · Operations

How to Deploy and Use Arthas Tunnel for Real‑Time Java Diagnostics

This guide explains how to build, run, and deploy the open‑source Arthas Tunnel tool—including Maven compilation, Docker and Helm deployment, UI startup, and integration with Spring Boot via the eden‑architect framework—while providing configuration examples and repository links for quick setup.

ArthasDockerHelm
0 likes · 6 min read
How to Deploy and Use Arthas Tunnel for Real‑Time Java Diagnostics
dbaplus Community
dbaplus Community
Jan 27, 2026 · Backend Development

Master Java Logging: From Basics to Advanced Practices

This guide walks a junior developer through why logging is essential, how to configure Logback in Spring Boot, use Lombok @Slf4j, choose appropriate log levels, apply parameterized messages, control output volume, enable asynchronous logging, manage log files with rolling policies, and integrate a centralized ELK stack for distributed systems.

ELKSpring Bootjava
0 likes · 17 min read
Master Java Logging: From Basics to Advanced Practices
Su San Talks Tech
Su San Talks Tech
Jan 27, 2026 · Fundamentals

What’s New in IntelliJ IDEA 2025.3? Smaller Unified Edition and Full Spring Boot 4 Support

IntelliJ IDEA 2025.3 introduces a unified, 30% smaller edition, quieter development workflow, full Spring Framework 7 and Spring Boot 4 support, enhanced language features for Java, Kotlin and Scala, improved Git integration, terminal and build‑tool optimizations, plus performance upgrades for large web projects.

FrontendIDEIntelliJ IDEA
0 likes · 6 min read
What’s New in IntelliJ IDEA 2025.3? Smaller Unified Edition and Full Spring Boot 4 Support
Senior Xiao Ying
Senior Xiao Ying
Jan 27, 2026 · Backend Development

Why Is Your Spring Boot App Lagging? 10 Optimization Tips to Speed It Up

This guide walks through ten practical techniques—startup lazy initialization, scoped component scanning, selective auto‑configuration, async processing, connection‑pool tuning, JPA batch settings, multi‑level caching, multi‑stage Docker builds, JVM container‑aware flags, Tomcat thread tuning, Resilience4j, observability stack, and TDD—to diagnose and eliminate performance bottlenecks in Spring Boot applications.

DockerSpring BootTDD
0 likes · 12 min read
Why Is Your Spring Boot App Lagging? 10 Optimization Tips to Speed It Up
java1234
java1234
Jan 27, 2026 · Backend Development

7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time

This article presents seven concrete Spring Boot startup optimization techniques—including lazy bean initialization, precise component scanning, JVM flag tuning, auto‑configuration pruning, class‑loading shortcuts, lazy database connections, and GraalVM native compilation—backed by real‑world benchmarks that reduce launch times by up to 71% across e‑commerce, micro‑service, logistics and payment services.

Class LoadingDatabase ConnectionGraalVM
0 likes · 9 min read
7 Proven Spring Boot Startup Hacks to Slash Over 70% of Boot Time
java1234
java1234
Jan 27, 2026 · Backend Development

Why Can a Spring Boot JAR Run Directly?

Spring Boot packages all dependencies and an embedded web server into a single executable JAR, allowing developers to launch the application with a simple "java -jar" command without external configuration or server deployment.

Embedded ServerGradleMaven
0 likes · 4 min read
Why Can a Spring Boot JAR Run Directly?
Code Ape Tech Column
Code Ape Tech Column
Jan 26, 2026 · Backend Development

Prevent Duplicate Spring @Scheduled Jobs in Multi‑Instance Deployments with ShedLock

When a Spring Boot application using @Scheduled is deployed on multiple servers, each instance triggers the same job, leading to duplicate processing; this article explains why the problem occurs, reviews simple single‑node and Redis lock approaches, and provides a step‑by‑step guide to integrate the ShedLock framework for reliable, annotation‑driven distributed locking.

@ScheduledShedLockSpring Boot
0 likes · 8 min read
Prevent Duplicate Spring @Scheduled Jobs in Multi‑Instance Deployments with ShedLock
LuTiao Programming
LuTiao Programming
Jan 25, 2026 · Backend Development

12 2026 Java & Spring Boot Trends Reshaping Backend Development

The article outlines twelve concrete shifts—cloud‑native defaults, Project Loom virtual threads, selective reactive use, AI‑assisted coding, API‑first design, built‑in observability, modular monoliths, security‑by‑design, native images, confidence‑driven testing, DDD revival, and a move from code writing to system judgment—that will define Java backend engineering by 2026.

AI codingCloud NativeNative Image
0 likes · 8 min read
12 2026 Java & Spring Boot Trends Reshaping Backend Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 24, 2026 · Backend Development

10 Hidden Spring Boot 3 Settings to Supercharge Your Application Performance

This article reveals ten hidden Spring Boot 3 configuration tricks—from disabling the whitelabel error page and shrinking Tomcat threads to enabling HTTP/2, tuning HikariCP, caching static assets, and leveraging Actuator metrics—each illustrated with code snippets and practical steps to boost application performance.

ConfigurationOptimizationSpring Boot
0 likes · 7 min read
10 Hidden Spring Boot 3 Settings to Supercharge Your Application Performance
LuTiao Programming
LuTiao Programming
Jan 23, 2026 · Backend Development

Are You Still Using Old Java Patterns? 2026 Spring Boot Trends That May Obsolete Them

The article analyzes how Spring Boot 2026 reshapes Java backend development by embracing virtual threads, GraalVM native images, built‑in observability, modern security practices, immutable records, and cloud‑native defaults, urging developers to abandon legacy coding habits in favor of these emerging trends.

Cloud NativeGraalVMNative Image
0 likes · 8 min read
Are You Still Using Old Java Patterns? 2026 Spring Boot Trends That May Obsolete Them