Tagged articles

Spring Boot

4358 articles · Page 7 of 44
Senior Xiao Ying
Senior Xiao Ying
Jan 22, 2026 · Backend Development

Mastering Strategy and Factory Patterns in Spring Boot for Flexible Payments

This tutorial shows how to combine the Strategy and Factory patterns in a Spring Boot payment system, separating algorithm definition, creation, and execution to achieve a flexible, extensible, and maintainable architecture that adheres to the Open/Closed principle.

Design PatternsFactory PatternPayment Integration
0 likes · 7 min read
Mastering Strategy and Factory Patterns in Spring Boot for Flexible Payments
macrozheng
macrozheng
Jan 22, 2026 · Backend Development

Mastering Java SPI: Build a Pluggable Authentication System with Spring Boot

This guide explains Java's Service Provider Interface (SPI) mechanism, compares it with APIs, and walks through creating a multi‑module Maven project that defines SPI interfaces, implements plugins, loads external JARs with a custom class loader, and integrates the plugins into a Spring Boot application for dynamic authentication.

Custom ClassLoaderDynamic LoadingJava SPI
0 likes · 15 min read
Mastering Java SPI: Build a Pluggable Authentication System with Spring Boot
java1234
java1234
Jan 22, 2026 · Backend Development

From Heavyweights to Obscurities: A Critical Review of 13 Java Web Frameworks

The article evaluates 13 Java web frameworks across performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation, providing concrete metrics, strengths, suitable scenarios, and a tiered ranking from dominant to legacy options.

MicronautQuarkusSpring Boot
0 likes · 9 min read
From Heavyweights to Obscurities: A Critical Review of 13 Java Web Frameworks
LuTiao Programming
LuTiao Programming
Jan 21, 2026 · Information Security

Stop Hand‑Coding Login Checks: One Spring Boot 4.0 Annotation Enables Full MFA

The article explains why relying solely on username‑password authentication is risky, introduces multi‑factor authentication (MFA) as the only effective solution, and shows how Spring Boot 4.0’s @EnableMultiFactorAuthentication annotation together with Spring Security 7 lets developers implement MFA with just an annotation, automatic factor tracking, smart redirects, and minimal configuration.

MFASpring Bootauthentication
0 likes · 11 min read
Stop Hand‑Coding Login Checks: One Spring Boot 4.0 Annotation Enables Full MFA
macrozheng
macrozheng
Jan 20, 2026 · Backend Development

How to Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3

This guide explains how to build a complete multi‑dimensional network bandwidth throttling solution in Spring Boot 3 using a custom token‑bucket algorithm, HandlerInterceptor, HttpServletResponseWrapper, and RateLimitedOutputStream to precisely control download, video streaming, and API traffic.

HandlerInterceptorSpring Bootbackend
0 likes · 14 min read
How to Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3
Java Companion
Java Companion
Jan 20, 2026 · Backend Development

How to Integrate Spring Boot with Third‑Party APIs: HTTP Clients, Sync Strategies, and Code Samples

This article explains how to connect Spring Boot to external services by choosing the appropriate HTTP client (RestTemplate, Feign, WebClient), configuring beans, implementing service methods, and applying various data‑synchronization techniques such as full sync, UPSERT, incremental sync, webhook callbacks, and message‑queue based replication.

FeignMessage QueueSpring Boot
0 likes · 20 min read
How to Integrate Spring Boot with Third‑Party APIs: HTTP Clients, Sync Strategies, and Code Samples
Java Companion
Java Companion
Jan 20, 2026 · Backend Development

13 Java Web Frameworks Ranked: From Industry Leaders to Obsolete Choices

The article evaluates 13 Java web frameworks across performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation, classifying them into tiers—from the dominant Spring Boot to legacy Struts 2—based on objective metrics such as GitHub stars, benchmark results, and market usage.

Framework ComparisonJava WebMicronaut
0 likes · 9 min read
13 Java Web Frameworks Ranked: From Industry Leaders to Obsolete Choices
LuTiao Programming
LuTiao Programming
Jan 19, 2026 · Backend Development

How to Build a High‑Concurrency Flash‑Sale System with Spring Boot, Redis, and Lua

The article analyzes why flash‑sale systems often crash under extreme traffic and presents a step‑by‑step solution using Spring Boot, Redis, and Lua that prevents overselling, pre‑warms stock, applies token‑bucket rate limiting, executes atomic stock deductions, and decouples order creation asynchronously while adding monitoring and safety measures.

Atomic ScriptFlash SaleLua
0 likes · 9 min read
How to Build a High‑Concurrency Flash‑Sale System with Spring Boot, Redis, and Lua
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 19, 2026 · Backend Development

How to Ensure Single-Node Execution of Spring Boot @Scheduled Tasks in Distributed Environments

This guide explains why @Scheduled jobs run on every Spring Boot instance in a cluster, and presents three practical solutions—Spring Integration's Redis lock, Redisson, and ShedLock—complete with Maven dependencies, configuration snippets, code examples, and runtime screenshots to guarantee that only one node executes the scheduled task at a time.

RedisRedissonScheduled Tasks
0 likes · 9 min read
How to Ensure Single-Node Execution of Spring Boot @Scheduled Tasks in Distributed Environments
Selected Java Interview Questions
Selected Java Interview Questions
Jan 18, 2026 · Backend Development

How to Seamlessly Integrate Arthas into Spring Boot for Real‑Time Monitoring

This guide explains how to embed the Arthas online monitoring tool into a Spring Boot application using the Arthas Spring Boot Starter, configure telnet and HTTP ports, access the console via terminal or web, and extend debugging across multiple services with Arthas Tunnel while addressing security considerations.

ArthasDebuggingSpring Boot
0 likes · 12 min read
How to Seamlessly Integrate Arthas into Spring Boot for Real‑Time Monitoring
Code Ape Tech Column
Code Ape Tech Column
Jan 16, 2026 · Backend Development

Master JSONPath in Spring Boot: Simplify Complex JSON Extraction

JSONPath offers a concise, XPath‑like syntax for extracting data from complex JSON structures, and this guide shows how to integrate it into Spring Boot, compare FastJSON, Jackson, and Gson implementations, and provides practical code examples, advanced configurations, and selection advice for Java projects.

FastjsonGsonJackson
0 likes · 13 min read
Master JSONPath in Spring Boot: Simplify Complex JSON Extraction
Java Companion
Java Companion
Jan 15, 2026 · Backend Development

Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3

This article presents a complete Spring Boot 3 solution for multi‑dimensional network bandwidth throttling using a manually implemented token‑bucket algorithm, custom HandlerInterceptor, HttpServletResponseWrapper, and RateLimitedOutputStream, with detailed code samples, configuration options, and performance tuning guidance.

HandlerInterceptorSpring Bootbandwidth throttling
0 likes · 13 min read
Implement Multi‑Dimensional Bandwidth Throttling in Spring Boot 3
Java Web Project
Java Web Project
Jan 14, 2026 · Backend Development

How to Turn Bloated Spring Controllers into Clean, Maintainable Code

The article analyzes why Spring MVC controllers often become massive with repetitive validation, logging, and business logic, demonstrates an ugly controller example, then shows step‑by‑step refactoring using @Valid, assertion utilities, and a global exception handler to dramatically reduce code size and improve readability.

@ValidController RefactoringException Handling
0 likes · 8 min read
How to Turn Bloated Spring Controllers into Clean, Maintainable Code
macrozheng
macrozheng
Jan 13, 2026 · Backend Development

Master Spring Boot Validation: 10 Essential Tips for Secure APIs

This guide explains why parameter validation is crucial for Spring Boot applications and walks through ten practical techniques—including built‑in annotations, custom constraints, server‑side checks, meaningful error messages, i18n, validation groups, cross‑field validation, exception handling, testing, and client‑side considerations—to help developers build robust, secure APIs.

Custom ConstraintException HandlingSpring Boot
0 likes · 14 min read
Master Spring Boot Validation: 10 Essential Tips for Secure APIs
java1234
java1234
Jan 13, 2026 · Backend Development

How to Write Elegant Spring Controllers and Slash Your Blood Pressure

The article shows how cluttered Spring controllers filled with try‑catch blocks, manual field checks, and business logic can be refactored into concise, readable code by using @Valid, assertion utilities, and a global exception handler, cutting the code size roughly in half.

@ValidControllerException Handling
0 likes · 9 min read
How to Write Elegant Spring Controllers and Slash Your Blood Pressure
LuTiao Programming
LuTiao Programming
Jan 12, 2026 · Information Security

Still Sending Plaintext? Spring Boot’s RSA + AES Automatic API Decryption for Full‑Scale Security

This article explains why API data must be encrypted, compares RSA and AES, presents a hybrid RSA‑AES scheme, and walks through a complete Spring Boot implementation—including encryption utilities, request wrappers, interceptors, parameter resolvers, key management, signature validation, batch processing, caching, and best‑practice recommendations—to achieve zero‑intrusion, high‑performance API security.

AESAPI EncryptionAutomatic Decryption
0 likes · 13 min read
Still Sending Plaintext? Spring Boot’s RSA + AES Automatic API Decryption for Full‑Scale Security
LuTiao Programming
LuTiao Programming
Jan 11, 2026 · Backend Development

Beyond HTTP: Building a Custom TCP Protocol with Spring Boot and Netty from Scratch

This article walks through why raw ServerSocket code is unsuitable for high‑concurrency custom protocols, explains Netty’s event‑driven architecture, and provides a step‑by‑step Spring Boot integration—including Maven setup, boss/worker groups, pipeline configuration, a ByteToMessageDecoder for a 49‑byte binary format, and a business handler—to achieve a clean, maintainable TCP solution.

Custom TCP ProtocolDevice CommunicationJava NIO
0 likes · 9 min read
Beyond HTTP: Building a Custom TCP Protocol with Spring Boot and Netty from Scratch
Java Web Project
Java Web Project
Jan 11, 2026 · Backend Development

Why Your Spring @Transactional Fails: 7 Common Pitfalls and How to Fix Them

This article analyzes seven typical reasons why Spring transactions become ineffective or fail to roll back—such as wrong method visibility, final modifiers, self‑invocation, unmanaged beans, multithreading, non‑transactional tables, mis‑configured propagation or exception handling—and provides concrete code examples and practical solutions.

AOPSpringSpring Boot
0 likes · 21 min read
Why Your Spring @Transactional Fails: 7 Common Pitfalls and How to Fix Them
Java Architect Handbook
Java Architect Handbook
Jan 11, 2026 · Backend Development

Why @Configuration + @Bean Overrides @Component in Spring Boot: Deep Dive and Version Differences

A detailed analysis shows that when a class is annotated with both @Configuration/@Bean and @Component, Spring creates only one bean—the one defined by @Configuration/@Bean—overriding the @Component definition, and explains how this behavior changed across Spring and Spring Boot versions.

Bean OverridingComponentConfiguration
0 likes · 10 min read
Why @Configuration + @Bean Overrides @Component in Spring Boot: Deep Dive and Version Differences
java1234
java1234
Jan 10, 2026 · Backend Development

Designing a Highly Available Service Registry: Key Principles and Java Example

This article explains how to design a highly available service registry for microservice architectures, covering high‑availability mechanisms, performance optimizations, scalability strategies, core registry functions, and provides a complete Java Spring Boot implementation using Redis.

High AvailabilityRedisSpring Boot
0 likes · 6 min read
Designing a Highly Available Service Registry: Key Principles and Java Example
Java Architect Handbook
Java Architect Handbook
Jan 10, 2026 · Backend Development

Boost API Speed 14× with a 3‑Level Cache Pyramid in Spring Boot

By combining a local Caffeine cache, a remote Redis layer, and a MySQL database into a three‑tier cache pyramid, this guide shows how to reduce API response time from 28 ms to 2 ms, cut CPU usage by 35 %, and achieve up to 14‑fold performance gains, complete with configuration, code, and monitoring tips.

CaffeineRedisSpring Boot
0 likes · 12 min read
Boost API Speed 14× with a 3‑Level Cache Pyramid in Spring Boot
LuTiao Programming
LuTiao Programming
Jan 9, 2026 · Backend Development

Tame Messy Login Logic: 3‑Step Spring Boot Factory & Strategy Pattern for Multi‑Channel Auth

The article shows how tangled if‑else login code caused by adding password, SMS, WeChat, and Alipay authentication can be refactored using the Strategy and Factory patterns in Spring Boot, resulting in a clean, extensible, plug‑in‑style login module that requires no changes to existing code when new methods are added.

Design PatternsFactory PatternLogin
0 likes · 10 min read
Tame Messy Login Logic: 3‑Step Spring Boot Factory & Strategy Pattern for Multi‑Channel Auth
Su San Talks Tech
Su San Talks Tech
Jan 9, 2026 · Backend Development

Mastering Seata TCC: Theory, Types, and Practical Implementation

This article explains the TCC (Try‑Confirm‑Cancel) transaction model, its three practical variants, and provides a step‑by‑step guide with code examples for integrating Seata TCC into a Spring‑Boot e‑commerce order service, while addressing common pitfalls such as idempotency, empty rollbacks, and hanging transactions.

SeataSpring BootTCC
0 likes · 18 min read
Mastering Seata TCC: Theory, Types, and Practical Implementation
LuTiao Programming
LuTiao Programming
Jan 8, 2026 · Backend Development

Spring Boot Advanced Trick: Proper Way to Make RequestBody Readable Multiple Times

The article explains why Spring Boot's RequestBody can only be read once due to servlet stream constraints, and provides a complete solution using a custom HttpServletRequestWrapper and a high‑priority filter to cache and replay the body for annotations, validation, logging and other pre‑processing steps.

HttpServletRequestWrapperIdempotencyRequestBody
0 likes · 8 min read
Spring Boot Advanced Trick: Proper Way to Make RequestBody Readable Multiple Times
Architecture Digest
Architecture Digest
Jan 8, 2026 · Backend Development

Why Do Jackson 2 and 3 Coexist? Uncover the 4 Breaking Changes in Jackson 3

After upgrading to Spring Boot 4, the article explains why both Jackson 2 and Jackson 3 appear together, outlines the four major breaking changes—including package reorganization, the shift from ObjectMapper to JsonMapper, new default date serialization, and the removal of checked exceptions—and offers migration tips.

JacksonMigrationSpring Boot
0 likes · 6 min read
Why Do Jackson 2 and 3 Coexist? Uncover the 4 Breaking Changes in Jackson 3
IT Services Circle
IT Services Circle
Jan 8, 2026 · Backend Development

How to Seamlessly Upgrade to Spring Boot 4.0: A Step‑by‑Step Guide

This guide walks you through upgrading a Spring Boot project from 3.x to 4.0, covering Gradle version bump, dependency version catalog updates, starter module changes, Jackson 3 migration, Redisson API adjustments, and verification steps, while highlighting common pitfalls and official upgrade paths.

JacksonMigrationSpring AI
0 likes · 13 min read
How to Seamlessly Upgrade to Spring Boot 4.0: A Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 8, 2026 · Backend Development

Master Short‑Lived Microservices with Spring Cloud Task: A Hands‑On Guide

This article explains how to build short‑lived microservices using Spring Cloud Task on Spring Boot 3.5.0, covering environment setup, Maven dependencies, quick start code, configuration files, first task implementation, advanced options like custom table prefixes, external and parent task IDs, and task execution listeners with full code examples and screenshots.

Spring BootSpring Cloud Taskjava
0 likes · 9 min read
Master Short‑Lived Microservices with Spring Cloud Task: A Hands‑On Guide
Top Architect
Top Architect
Jan 7, 2026 · Backend Development

Customize Spring Boot Startup Banner with ASCII Art and ANSI Colors

This guide shows how to replace Spring Boot's default console banner by creating a custom banner.txt with ASCII graphics, using built‑in placeholders for version, port, profile and date, adding ANSI color codes, and optionally disabling the default banner to print a fully customized startup message from Java code.

ANSI ColorASCII artBanner
0 likes · 9 min read
Customize Spring Boot Startup Banner with ASCII Art and ANSI Colors
Eric Tech Circle
Eric Tech Circle
Jan 7, 2026 · Backend Development

Why IntelliJ IDEA 2025.3’s New Islands Theme and AI Features Matter for Java Developers

The article shares a seasoned Java developer’s hands‑on review of IntelliJ IDEA 2025.3, highlighting the new Islands theme, built‑in support for Spring Boot 4 and Java 25, full‑line code completion, and integration of the Claude Code AI plugin, while offering practical usage tips and personal recommendations.

AI pluginIDE FeaturesIntelliJ IDEA
0 likes · 5 min read
Why IntelliJ IDEA 2025.3’s New Islands Theme and AI Features Matter for Java Developers
Top Architect
Top Architect
Jan 6, 2026 · Backend Development

Spring Boot vs Quarkus: Performance Test, Migration Guide, and When to Choose Each

An in‑depth comparison of Spring Boot and Quarkus evaluates startup time, build speed, binary size, CPU, memory, and response latency using reactive APIs and native images, then outlines migration steps, Spring API compatibility, and practical benefits for developers moving Java microservices to Kubernetes‑native environments.

KubernetesPerformance TestingQuarkus
0 likes · 16 min read
Spring Boot vs Quarkus: Performance Test, Migration Guide, and When to Choose Each
java1234
java1234
Jan 6, 2026 · Backend Development

What’s the Difference Between @Autowired and @Resource in Spring Boot?

This article explains how @Autowired and @Resource differ in Spring Boot, covering their injection mechanisms, priority rules, applicable environments, and code examples, helping developers choose the appropriate annotation based on type‑based or name‑based injection needs.

AutowiredResourceSpring Boot
0 likes · 4 min read
What’s the Difference Between @Autowired and @Resource in Spring Boot?
java1234
java1234
Jan 6, 2026 · Backend Development

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

The article explains why adding Redis alone often remains slow, introduces a three‑level cache pyramid (L1 Caffeine, L2 Redis, L3 MySQL) built with Spring Boot 3, and shows how this design reduces request latency from 28 ms to 2 ms, cuts CPU usage by 35 % and achieves up to 14‑fold throughput improvement.

CaffeineRedisSpring Boot
0 likes · 10 min read
Boost API Latency 10× with Spring Boot 3 and a Three‑Level Local Cache Pyramid
LuTiao Programming
LuTiao Programming
Jan 5, 2026 · Backend Development

8 Spring Boot Trends Shaping 2026: What You Must Adopt Now

The article outlines eight pivotal 2026 Spring Boot trends—from mandatory migration to Java 17 and Jakarta namespaces, GraalVM native images, reactive WebFlux, OpenAPI/GraphQL APIs, zero‑trust Spring Security 6, Spring Cloud governance, Actuator observability, to AI integration—explaining why each matters and how to prepare.

AI integrationGraalVMJava 17
0 likes · 8 min read
8 Spring Boot Trends Shaping 2026: What You Must Adopt Now
LuTiao Programming
LuTiao Programming
Jan 4, 2026 · Backend Development

Why ‘How Much Concurrency Can Spring Boot 3 Handle?’ Is Misleading – A Deep Dive into Max Connections

The article shows that Spring Boot itself does not limit concurrency; the true ceiling is set by Linux TCP parameters, Tomcat's acceptCount and maxConnections, its thread‑pool strategy, and KeepAlive settings, and it walks through source code, default values, and practical experiments to reveal where requests are blocked.

Spring BootTomcatconcurrency
0 likes · 9 min read
Why ‘How Much Concurrency Can Spring Boot 3 Handle?’ Is Misleading – A Deep Dive into Max Connections
Java Companion
Java Companion
Jan 4, 2026 · Backend Development

Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid

The article demonstrates how to combine Spring Boot 3, Caffeine local cache, and Redis into a three‑level cache pyramid, reducing API response time from 28 ms to 2 ms, cutting CPU usage by 35 %, and providing detailed configuration, code examples, performance benchmarks, and mitigation strategies for common high‑concurrency pitfalls.

CaffeineRedisSpring Boot
0 likes · 10 min read
Achieve 10× Faster APIs with Spring Boot 3’s Three‑Level Cache Pyramid
Java Tech Enthusiast
Java Tech Enthusiast
Jan 3, 2026 · Backend Development

How to Propagate TraceId with Spring MDC Across HTTP, MQ, Thread Pools, and Jobs

This guide explains how to use Spring's built‑in Mapped Diagnostic Context (MDC) to generate a traceId for each request, configure Logback to include it in logs, and propagate the traceId through HTTP filters, RabbitMQ messages, thread‑pool tasks, and XXL‑Job scheduled jobs, complete with code examples and configuration snippets.

MDCSpringSpring Boot
0 likes · 11 min read
How to Propagate TraceId with Spring MDC Across HTTP, MQ, Thread Pools, and Jobs
Java Captain
Java Captain
Jan 3, 2026 · Backend Development

Integrate Apache Tika with Spring Boot for Powerful Document Parsing

This guide shows how to integrate Apache Tika into a Spring Boot application by adding Maven dependencies, configuring a tika-config.xml file, creating a @Configuration class that provides a Tika bean, and using the bean to detect, translate, and parse various document formats.

Apache TikaSpring Bootbackend development
0 likes · 5 min read
Integrate Apache Tika with Spring Boot for Powerful Document Parsing
Top Architect
Top Architect
Jan 2, 2026 · Backend Development

Mastering Apollo Config Center: Dynamic Spring Boot Configuration from Basics to Kubernetes Deployment

This comprehensive guide walks you through the fundamentals, architecture, and key features of Ctrip's Apollo configuration center, then shows step‑by‑step how to create a Spring Boot client, manage environments, clusters, and namespaces, and finally package and deploy the application on Kubernetes with live configuration updates.

ApolloKubernetesSpring Boot
0 likes · 27 min read
Mastering Apollo Config Center: Dynamic Spring Boot Configuration from Basics to Kubernetes Deployment
java1234
java1234
Jan 1, 2026 · Backend Development

Spring Task Scheduling in 3 Lines: Automate Jobs and Eliminate Repetitive Code

This guide explains how Spring Task turns Java applications into self‑managed schedulers, showing three quick steps to add the dependency, enable @EnableScheduling, and write @Scheduled methods, then dives into cron syntax, common use cases, pitfalls, performance tuning, and future enhancements.

Cron ExpressionSpring Bootbackend development
0 likes · 8 min read
Spring Task Scheduling in 3 Lines: Automate Jobs and Eliminate Repetitive Code
Top Architect
Top Architect
Jan 1, 2026 · Backend Development

Spring Boot 4.0 & Spring Framework 7: Deep Dive into New Features and Migration Guide

Spring Boot 4.0 and Spring Framework 7 introduce a comprehensive overhaul—including Jakarta EE 11, JDK 25, JSpecify null‑safety, Project Leyden AOT, declarative HTTP clients, Jackson 3, native API versioning, built‑in resilience, OpenTelemetry, and a dual‑track Spring AI roadmap—providing developers with a modern, cloud‑native Java stack.

AISpring Bootbackend
0 likes · 9 min read
Spring Boot 4.0 & Spring Framework 7: Deep Dive into New Features and Migration Guide
Architecture Digest
Architecture Digest
Dec 30, 2025 · Backend Development

Master Java SPI: Build a Pluggable Authentication System with Spring Boot

This article explains Java's Service Provider Interface (SPI), compares it with traditional APIs, and provides a step‑by‑step guide to create a multi‑module Maven project, custom class loader, and Spring Boot application that dynamically loads authentication plugins from external JARs.

ClassLoaderMavenPlugin architecture
0 likes · 13 min read
Master Java SPI: Build a Pluggable Authentication System with Spring Boot
macrozheng
macrozheng
Dec 30, 2025 · Backend Development

Mastering Druid Connection Pool in Spring Boot: Advanced Optimization Guide

This comprehensive guide walks through preparing the environment, fine‑tuning core Druid pool parameters, building a robust monitoring system, strengthening security, detecting connection leaks, applying advanced runtime tweaks, and avoiding common pitfalls to achieve high performance and stability in production Spring Boot applications.

Connection PoolDruidMonitoring
0 likes · 12 min read
Mastering Druid Connection Pool in Spring Boot: Advanced Optimization Guide
Tech Freedom Circle
Tech Freedom Circle
Dec 30, 2025 · Backend Development

How Java Virtual Threads Supercharge Spring Boot: 3× QPS Boost and 67% Memory Savings

This article explains how Java's new virtual threads (Project Loom) can transform Spring Boot applications, delivering up to three‑fold QPS improvements and up to 67% lower memory usage, by replacing heavyweight platform threads with lightweight coroutine‑style execution, and provides detailed comparisons, benchmarks, code samples, and migration guidance.

Project LoomSpring BootVirtual Threads
0 likes · 51 min read
How Java Virtual Threads Supercharge Spring Boot: 3× QPS Boost and 67% Memory Savings
Tech Musings
Tech Musings
Dec 28, 2025 · Backend Development

Speed Up Spring Boot Docker Builds with Jarmode Layered Images

Learn how to dramatically reduce Docker build times for Spring Boot applications by using the official Jarmode=tools layered jar feature, extracting layers, and employing multi‑stage Dockerfiles with optimized runtime settings, caching strategies, and optional security and performance enhancements.

DockerJarmodeLayered Images
0 likes · 8 min read
Speed Up Spring Boot Docker Builds with Jarmode Layered Images
JavaGuide
JavaGuide
Dec 26, 2025 · Artificial Intelligence

MiniMax M2.1 Review: Can It Handle Real‑World Java and Multi‑Language Projects?

After testing MiniMax M2.1 on a full‑stack e‑commerce order‑management task, the author finds the model correctly implements DDD layers, transaction handling, custom exceptions, and even generates a polished cyber‑punk UI, while its Java‑to‑Go code respects each language’s concurrency model and scores over 88 on the VIBE benchmark.

AI codingDDDGo
0 likes · 8 min read
MiniMax M2.1 Review: Can It Handle Real‑World Java and Multi‑Language Projects?
Java Architecture Diary
Java Architecture Diary
Dec 26, 2025 · Information Security

Secure Your Spring Boot 4 Apps with One Annotation: MFA Made Easy

This article explains how Spring Boot 4.0’s @EnableMultiFactorAuthentication annotation simplifies the implementation of password‑plus‑one‑time‑token multi‑factor authentication, providing step‑by‑step code examples, custom token services, endpoint‑level MFA configuration, and production‑grade considerations.

MFASpring Bootjava
0 likes · 11 min read
Secure Your Spring Boot 4 Apps with One Annotation: MFA Made Easy
Java Web Project
Java Web Project
Dec 25, 2025 · Databases

How to Super‑Optimize Druid Connection Pool in Spring Boot for Production

This guide walks through preparing the environment, fine‑tuning core Druid parameters, managing connection lifecycles, building a monitoring stack, hardening security, detecting leaks, applying advanced runtime tweaks, and avoiding common pitfalls to achieve stable, high‑performance database pooling in Spring Boot.

Connection PoolDruidMonitoring
0 likes · 12 min read
How to Super‑Optimize Druid Connection Pool in Spring Boot for Production
JavaGuide
JavaGuide
Dec 25, 2025 · Interview Experience

How I Secured Offers from Top Tech Companies in 80 Days

The author, a non‑elite undergraduate and a modest 211 master’s graduate, shares a step‑by‑step 80‑day crash‑course that turned zero Java experience into multiple offers from major tech firms, emphasizing fundamental understanding, AI‑assisted learning, and thoughtful project trade‑offs.

AI-assisted learningAlgorithm PreparationInterview
0 likes · 8 min read
How I Secured Offers from Top Tech Companies in 80 Days
Java Companion
Java Companion
Dec 25, 2025 · Backend Development

Druid Crashed in Production? How to Optimize the Spring Boot Connection Pool

The article explains why Druid can fail in a live Spring Boot service and provides a comprehensive, step‑by‑step optimization guide covering core pool parameters, monitoring setup, security hardening, leak detection, dynamic tuning, and best‑practice pitfalls to achieve stable, high‑performance database connections.

Connection PoolDruidMonitoring
0 likes · 12 min read
Druid Crashed in Production? How to Optimize the Spring Boot Connection Pool
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 25, 2025 · Backend Development

Master Spring Boot 3 Functional Routing: Handlers, Reactive APIs, and Advanced Techniques

This article explains how to replace annotation‑based controllers with Spring Boot 3 functional routing, covering both servlet‑blocking and reactive WebFlux implementations, complete with code examples for handlers, routers, parameter validation, nested routes, filters, and resource redirects.

Functional RoutingHandlerFunctionRouterFunction
0 likes · 10 min read
Master Spring Boot 3 Functional Routing: Handlers, Reactive APIs, and Advanced Techniques
LuTiao Programming
LuTiao Programming
Dec 24, 2025 · Backend Development

Why High‑Concurrency Spring Boot APIs Fail and 6 Must‑Know Caching Strategies for 2026

The article explains that overwhelming request rates exceed database capacity, causing exponential latency, and presents six proven cache‑design techniques—including in‑process, Redis, multi‑level, cache‑aside, write‑through/write‑behind, and edge caching—to keep Spring Boot APIs stable, fast, and cost‑effective under high load.

Cache AsideCaffeineRedis
0 likes · 12 min read
Why High‑Concurrency Spring Boot APIs Fail and 6 Must‑Know Caching Strategies for 2026
Architecture Digest
Architecture Digest
Dec 24, 2025 · Databases

Mastering Druid: Extreme Performance and Security Tuning in Spring Boot

This guide walks through step‑by‑step how to prepare the environment, fine‑tune core Druid connection‑pool parameters, set up comprehensive monitoring, harden security, detect leaks, and apply advanced runtime optimizations to achieve stable, high‑throughput database access in Spring Boot applications.

Connection PoolDruidMonitoring
0 likes · 13 min read
Mastering Druid: Extreme Performance and Security Tuning in Spring Boot
Architect's Guide
Architect's Guide
Dec 24, 2025 · Backend Development

Why Scaffolding Frameworks Like Spring Boot Supercharge Your Development

This article explains the concept of software scaffolding, why it is essential for modern microservice development, and reviews popular scaffolding tools such as Spring Boot, Vue, Maven, Netty, Java EE, and Dropwizard, highlighting their benefits and practical usage.

Spring Bootmicroservicesscaffolding
0 likes · 11 min read
Why Scaffolding Frameworks Like Spring Boot Supercharge Your Development
Java Architecture Diary
Java Architecture Diary
Dec 24, 2025 · Backend Development

Why Spring Boot 4 Breaks Your Tests and How to Fix It

Upgrading to Spring Boot 4 can cause missing @WebMvcTest, MockMvc, and other compilation errors because the framework modularizes its large autoconfigure JAR into many smaller starters, requiring updated dependencies and configuration changes to restore test execution and improve startup performance.

MigrationSpring Bootjava
0 likes · 10 min read
Why Spring Boot 4 Breaks Your Tests and How to Fix It
LuTiao Programming
LuTiao Programming
Dec 23, 2025 · Cloud Native

Stop Fighting Microservice Complexity—Spring Boot 3.4.1 + Service Mesh Outsources the Burden

The article explains how microservice projects often become cluttered with retry, timeout, circuit‑breaker, TLS, logging and traffic‑splitting code, and shows that delegating these concerns to a Service Mesh such as Istio—combined with Spring Boot 3.4.1 and Gateway API—removes the burden from application code while providing traffic management, security and observability.

Gateway APIIstioKubernetes
0 likes · 8 min read
Stop Fighting Microservice Complexity—Spring Boot 3.4.1 + Service Mesh Outsources the Burden
Ray's Galactic Tech
Ray's Galactic Tech
Dec 23, 2025 · Backend Development

How Apache Ignite Powers Low‑Latency Real‑Time Bidding at Scale

This article explains how Apache Ignite's memory‑first architecture, distributed compute grid, and event‑driven streaming enable sub‑100 ms decision making, high throughput, and strong consistency for real‑time bidding platforms, with practical code examples, Spring Boot integration, monitoring tips, and security considerations.

Apache IgniteDistributed ComputingIn-Memory Data Grid
0 likes · 8 min read
How Apache Ignite Powers Low‑Latency Real‑Time Bidding at Scale
Senior Xiao Ying
Senior Xiao Ying
Dec 23, 2025 · Backend Development

Master Bidirectional JSON↔CSV Conversion in Spring Boot Quickly

This guide explains how to perform bidirectional conversion between JSON and CSV in Spring Boot using lightweight open‑source libraries such as Jackson, Apache Commons CSV or OpenCSV, as well as commercial APIs, covering serialization, deserialization, custom handling of nested objects, and provides complete code examples.

Apache Commons CSVCSVJackson
0 likes · 6 min read
Master Bidirectional JSON↔CSV Conversion in Spring Boot Quickly
Top Architect
Top Architect
Dec 22, 2025 · Backend Development

Graceful Shutdown of Java Applications: kill Commands, JVM Hooks, and Spring Boot Actuator

This article explains how to perform a graceful shutdown of Java services by using Linux kill signals, configuring JVM SignalHandler and Runtime shutdown hooks, releasing resources such as thread pools and sockets, and exposing a Spring Boot Actuator endpoint for controlled termination, complete with code examples and configuration details.

JVMKill CommandSpring Boot
0 likes · 16 min read
Graceful Shutdown of Java Applications: kill Commands, JVM Hooks, and Spring Boot Actuator
LuTiao Programming
LuTiao Programming
Dec 21, 2025 · Backend Development

Can Java 23 and Spring Boot 3.3.4 Double Your Development Speed with AI‑Generated Tests?

The article examines why test automation is essential for cloud‑native microservices, cites the 2024 DORA report, outlines a testing pyramid, reviews AI‑driven testing tools, demonstrates a Diffblue Cover setup with Java 23 and Spring Boot 3.3.4, and concludes that AI shifts testing from manual labor to intelligent engineering capability.

AI testingCloud NativeDiffblue
0 likes · 9 min read
Can Java 23 and Spring Boot 3.3.4 Double Your Development Speed with AI‑Generated Tests?
Java Companion
Java Companion
Dec 21, 2025 · Backend Development

Eliminate Messy Login Logic: Unified Multi‑Channel Authentication with Spring Boot Factory & Strategy Patterns

This article demonstrates how to replace tangled if‑else login code with a clean Spring Boot solution that combines the Factory and Strategy patterns, enabling easy addition of multiple authentication methods such as password, WeChat, SMS, and future providers while improving extensibility, readability, and testability.

Factory PatternSpring BootStrategy Pattern
0 likes · 12 min read
Eliminate Messy Login Logic: Unified Multi‑Channel Authentication with Spring Boot Factory & Strategy Patterns
Programmer1970
Programmer1970
Dec 19, 2025 · Industry Insights

Top 30 Must‑Watch Java Open‑Source Projects for 2025

This article ranks the 30 most popular Java open‑source projects in 2025, summarizing their stars, activity and core features while highlighting ecosystem trends such as AI integration, low‑code acceleration, cloud‑native maturity, domestic adoption and the evolution of microservice governance.

AICloud NativeLow-code
0 likes · 9 min read
Top 30 Must‑Watch Java Open‑Source Projects for 2025
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Dec 17, 2025 · Backend Development

When to Share or Isolate Thread Pools? A Deep Dive for Java Backend Architects

This article explains the trade‑offs between using a shared thread pool and creating dedicated pools in Java backend services, outlines scenario‑based decision rules, provides concrete Spring‑Boot configuration examples, and offers advanced dynamic tuning and interview‑style Q&A for reliable concurrency management.

Spring BootThread Poolconcurrency
0 likes · 14 min read
When to Share or Isolate Thread Pools? A Deep Dive for Java Backend Architects
Su San Talks Tech
Su San Talks Tech
Dec 17, 2025 · Backend Development

Secure Your Spring Boot Apps: Easy Config and Field Encryption with Jasypt

This guide explains why sensitive configuration and user data must be encrypted in Spring Boot projects, demonstrates how to use Jasypt for property‑level encryption and custom AOP‑based field masking, and dives into the underlying PBE algorithm and source‑code mechanics.

AOPConfiguration EncryptionField Masking
0 likes · 14 min read
Secure Your Spring Boot Apps: Easy Config and Field Encryption with Jasypt
macrozheng
macrozheng
Dec 16, 2025 · Backend Development

Master Spring Task: Build, Schedule, and Optimize Timed Jobs in Spring Boot

This guide explains what Spring Task is, walks through three steps to set up scheduled jobs in Spring Boot, demystifies Cron expressions, showcases common use cases, offers advanced configuration tips, warns about pitfalls, and outlines performance‑tuning and future directions for reliable backend scheduling.

CronSchedulingSpring Boot
0 likes · 9 min read
Master Spring Task: Build, Schedule, and Optimize Timed Jobs in Spring Boot
LuTiao Programming
LuTiao Programming
Dec 16, 2025 · Cloud Native

How We Fully Squeezed Docker Performance: A Complete Record of Optimizing 40+ Spring Boot Services

After migrating over 40 Spring Boot microservices to Docker and Kubernetes, the authors encountered slow startups, OOM kills, unexpected latency, and pod restarts, and they detail a step‑by‑step analysis and concrete Dockerfile, JVM, CPU, GC, and Kubernetes configurations that turned the services into fast, stable, and observable production workloads.

DockerGCJVM
0 likes · 10 min read
How We Fully Squeezed Docker Performance: A Complete Record of Optimizing 40+ Spring Boot Services
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 15, 2025 · Backend Development

5 Efficient Ways to Check Record Existence in Spring Boot 3

This article compares five practical techniques—custom findBy, Query‑by‑Example, existsBy, COUNT aggregation, and native CASE WHEN EXISTS SQL—to determine whether a database record exists in Spring Boot 3.5.0, providing code examples, generated SQL, performance notes, and recommendations for each approach.

JPAQuery by ExampleSQL
0 likes · 9 min read
5 Efficient Ways to Check Record Existence in Spring Boot 3
Su San Talks Tech
Su San Talks Tech
Dec 13, 2025 · Information Security

How to Use Apache Tika in Spring Boot for Sensitive Data Detection and DLP

This article explains Apache Tika's core features, architecture, and common use cases, then provides a step‑by‑step Spring Boot tutorial that integrates Tika to extract file content, detect personal identifiers with regex, and return results via a REST API for data‑loss‑prevention.

Apache TikaDLPFile Parsing
0 likes · 24 min read
How to Use Apache Tika in Spring Boot for Sensitive Data Detection and DLP
LuTiao Programming
LuTiao Programming
Dec 12, 2025 · Backend Development

20 Must‑Know Architecture Patterns for Java Engineers Before 2026

This article enumerates twenty essential Java and Spring Boot architecture patterns—from monoliths and layered designs to microservices, event‑driven, cloud‑native, and AI‑driven systems—explaining their structure, typical use cases, advantages, drawbacks, and when to choose each for building stable, fast, and scalable applications.

Cloud NativeSpring Bootarchitecture
0 likes · 11 min read
20 Must‑Know Architecture Patterns for Java Engineers Before 2026
Java Architect Handbook
Java Architect Handbook
Dec 12, 2025 · Backend Development

Master Spring Task: Build, Optimize, and Scale Your Scheduled Jobs

This guide walks you through what Spring Task is, how to enable it in three simple steps, decode cron expressions, explore six real‑world use cases, unlock four advanced features, avoid common pitfalls, and apply performance‑tuning and future‑proofing techniques for robust Java scheduling.

CronSpringSpring Boot
0 likes · 11 min read
Master Spring Task: Build, Optimize, and Scale Your Scheduled Jobs
Top Architect
Top Architect
Dec 11, 2025 · Backend Development

Mastering Java Plugin Architecture: From SPI to Spring Factories

This article explains how to implement plugin mechanisms in Java using SPI and Spring Boot's spring.factories, covering benefits, common approaches, detailed code examples, custom configuration loading, and a complete real‑world case study to guide developers in building extensible applications.

Plugin architectureSPISpring Boot
0 likes · 22 min read
Mastering Java Plugin Architecture: From SPI to Spring Factories