Tagged articles

Spring

1809 articles · Page 1 of 19
Java Tech Workshop
Java Tech Workshop
Jul 4, 2026 · Backend Development

Why Spring Chooses Its Own SPI Over Java’s Native ServiceLoader

The article compares Java’s native SPI with Spring’s custom SPI, explains the fundamental flaws of ServiceLoader, details SpringFactoriesLoader’s lazy loading and conditional filtering, and shows why SpringBoot auto‑configuration relies entirely on its own SPI mechanism.

AutoConfigurationJavaSPI
0 likes · 13 min read
Why Spring Chooses Its Own SPI Over Java’s Native ServiceLoader
Java Tech Workshop
Java Tech Workshop
Jul 1, 2026 · Backend Development

Resolving AOP + IOC Circular Dependency Conflicts in Spring

The article explains why Spring's three‑level cache solves simple circular dependencies but fails for AOP‑enhanced beans, describes the timeline mismatch that causes BeanCurrentlyInCreationException, and presents tiered solutions including @Lazy injection, setter refactoring, early proxy processing, and architectural redesign.

AOPBeanIOC
0 likes · 14 min read
Resolving AOP + IOC Circular Dependency Conflicts in Spring
Java Tech Workshop
Java Tech Workshop
Jun 28, 2026 · Backend Development

Inside Spring AOP: Full Lifecycle of Proxy Object Creation

The article provides a step‑by‑step analysis of Spring AOP’s proxy creation process, explaining why some beans are proxied, how @Order, @EnableAspectJAutoProxy, proxyTargetClass and exposeProxy affect proxying, the differences between JDK and CGLIB proxies, and why private, static or final methods cannot be intercepted.

AOPAspectJBean Lifecycle
0 likes · 15 min read
Inside Spring AOP: Full Lifecycle of Proxy Object Creation
Coder Trainee
Coder Trainee
Jun 27, 2026 · Backend Development

Mastering Java Thread‑Pool Tuning: Practical Performance Tips

This article explains why Java thread pools need tuning, walks through the seven core ThreadPoolExecutor parameters, provides formula‑based sizing, offers configuration templates for different workloads, shows monitoring and dynamic adjustment techniques, and highlights common pitfalls with concrete code examples.

ConcurrencyJavaMonitoring
0 likes · 8 min read
Mastering Java Thread‑Pool Tuning: Practical Performance Tips
Java Tech Workshop
Java Tech Workshop
Jun 27, 2026 · Backend Development

Why Do final, static, and private Methods Escape Spring AOP Proxying?

The article explains that Spring AOP cannot intercept methods marked as private, static, or final because JDK dynamic proxies only work on public interface methods and CGLIB subclasses cannot override such methods, leading to static matching but dynamic execution failure, self‑invocation bypass, and complete loss of advice for these method types.

AOPCGLIBJDK Proxy
0 likes · 11 min read
Why Do final, static, and private Methods Escape Spring AOP Proxying?
Linyb Geek Road
Linyb Geek Road
Jun 25, 2026 · Backend Development

8 Hard‑Earned Rules for Using Spring @Transactional Correctly

Drawing on a decade of production experience, the article presents eight concrete rules for Spring @Transactional—covering transaction duration, proxy limitations, rollback settings, exception handling, read‑only flags, method visibility, bean separation for retries, and logging—to prevent common bugs and ensure reliable database operations.

@TransactionalBest PracticesJava
0 likes · 12 min read
8 Hard‑Earned Rules for Using Spring @Transactional Correctly
Java Tech Workshop
Java Tech Workshop
Jun 24, 2026 · Backend Development

Mastering Spring AOP: All Four Types of Advice Explained

Spring AOP provides five distinct advice types—@Before, @AfterReturning, @AfterThrowing, @After, and @Around—each with specific execution timing; this guide explains their purposes, execution order, common pitfalls, and offers a complete SpringBoot example with code, Maven setup, and logging demonstrations.

AOPJavaLogging
0 likes · 13 min read
Mastering Spring AOP: All Four Types of Advice Explained
Java Tech Workshop
Java Tech Workshop
Jun 21, 2026 · Backend Development

Mastering Spring’s BeanPostProcessor: The Ultimate Hook for Advanced Container Customization

Spring’s BeanPostProcessor is a global container hook that intercepts every bean’s lifecycle, enabling custom initialization, dynamic proxying, annotation processing, and resource cleanup; the article explains its three-tier hierarchy, execution order, priority rules, practical use‑cases like auto‑injection, logging, data masking, and common pitfalls.

AOPBeanPostProcessorData Masking
0 likes · 18 min read
Mastering Spring’s BeanPostProcessor: The Ultimate Hook for Advanced Container Customization
Java Tech Workshop
Java Tech Workshop
Jun 20, 2026 · Backend Development

How Custom Spring Converters Eliminate Date and Enum Parameter Pain Points

The article explains why front‑end date and enum parameters often cause parsing errors in Spring applications, describes the two independent conversion mechanisms in Spring MVC and Jackson, and provides a step‑by‑step guide to building global custom converters that unify date formats and enum mappings across the whole project.

Backend DevelopmentEnum MappingSpring
0 likes · 17 min read
How Custom Spring Converters Eliminate Date and Enum Parameter Pain Points
Java Tech Workshop
Java Tech Workshop
Jun 19, 2026 · Backend Development

BeanFactory vs ApplicationContext: The Real Differences You Must Know

The article explains how BeanFactory is a minimal, lazy‑loading container that only creates and caches beans, while ApplicationContext extends it with eager pre‑loading, full annotation, AOP, transaction, environment and event support, and outlines their respective use cases and pitfalls.

ApplicationContextBeanFactoryDependency Injection
0 likes · 9 min read
BeanFactory vs ApplicationContext: The Real Differences You Must Know
Java Tech Workshop
Java Tech Workshop
Jun 18, 2026 · Backend Development

Understanding @Lazy in Spring: Solving Circular Dependencies and Accelerating Startup

The article explains that Spring's @Lazy annotation has two distinct mechanisms—class‑level lazy bean creation and dependency‑level proxy placeholders—detailing how each works, when to apply them, common pitfalls such as transaction and aspect failures, and best‑practice scenarios for reducing startup time while safely handling circular dependencies.

@LazyBean ProxyLazy Initialization
0 likes · 12 min read
Understanding @Lazy in Spring: Solving Circular Dependencies and Accelerating Startup
Java Tech Workshop
Java Tech Workshop
Jun 16, 2026 · Backend Development

How Spring’s Third‑Level Cache Resolves Circular Dependencies

The article explains Spring’s three kinds of circular dependencies, the role of the first, second, and third‑level caches in the DefaultSingletonBeanRegistry, how the third‑level cache works with AOP proxies, why constructor injection cannot be solved, the @Lazy workaround, and the hidden bugs and best‑practice recommendations.

AOPBean LifecycleConstructor Injection
0 likes · 12 min read
How Spring’s Third‑Level Cache Resolves Circular Dependencies
Java Tech Workshop
Java Tech Workshop
Jun 15, 2026 · Backend Development

Understanding the Full Spring Bean Lifecycle: From Instantiation to Destruction

This article walks through the complete Spring Bean lifecycle—covering scanning, instantiation, dependency injection, initialization, AOP proxy creation, and destruction—while highlighting common pitfalls, the differences for prototype and lazy‑loaded beans, and practical debugging tips.

AOPBean LifecycleDependency Injection
0 likes · 10 min read
Understanding the Full Spring Bean Lifecycle: From Instantiation to Destruction
Programmer XiaoFu
Programmer XiaoFu
Jun 15, 2026 · Backend Development

Why a Simple Redis Mutex Lock Isn’t Enough for Cache Breakdown – When to Use Never‑Expire or Logical Expiration

The article analyzes why a basic Redis mutex lock can cause thread blocking, latency spikes, and service collapse under high concurrency, and compares it with logical expiration and never‑expire with proactive updates, explaining their trade‑offs and how to choose the right cache‑breakdown mitigation strategy.

CacheDistributed LockJava
0 likes · 12 min read
Why a Simple Redis Mutex Lock Isn’t Enough for Cache Breakdown – When to Use Never‑Expire or Logical Expiration
Java Tech Workshop
Java Tech Workshop
Jun 14, 2026 · Backend Development

Spring Bean Scopes: 5 Types, Common Pitfalls and Concurrency Gotchas

The article explains the five Spring Bean scopes, clarifies that scope only controls instance count and not thread safety, and walks through real‑world concurrency bugs such as mutable singleton fields, prototype beans losing their prototype nature, and request‑scoped beans failing in async threads, offering concrete fixes and usage recommendations.

Bean ScopeConcurrencyJava
0 likes · 10 min read
Spring Bean Scopes: 5 Types, Common Pitfalls and Concurrency Gotchas
Java Tech Workshop
Java Tech Workshop
Jun 13, 2026 · Backend Development

Which DI Injection Method Should You Use in Production? Field vs Setter vs Constructor

The article compares Spring's three dependency‑injection styles—field, setter, and constructor—showing code, execution order, source‑code mechanics, risks such as null‑pointer windows and reflection tampering, and concludes that constructor injection (preferably with Lombok @RequiredArgsConstructor) is the production‑grade choice.

Constructor InjectionDependency InjectionField Injection
0 likes · 10 min read
Which DI Injection Method Should You Use in Production? Field vs Setter vs Constructor
ITPUB
ITPUB
Jun 9, 2026 · Backend Development

How to Prevent Server Crashes from Concurrent Excel Exports with a Queue

The article explains why simultaneous Excel exports can overload a server, proposes a fixed‑size FIFO queue to serialize export tasks, and provides a complete Spring‑Boot implementation—including the ExportQueue, abstract export logic with EasyExcel, and a test controller—to demonstrate the queuing mechanism in action.

ConcurrencyEasyExcelExcel Export
0 likes · 11 min read
How to Prevent Server Crashes from Concurrent Excel Exports with a Queue
The Dominant Programmer
The Dominant Programmer
Jun 7, 2026 · Backend Development

Executing Asynchronous Operations After Spring Transaction Commit: Principles, Pitfalls, and Best Practices

The article explains why sending messages before a Spring transaction commits can cause data inconsistency, and demonstrates how to reliably execute asynchronous actions such as MQ notifications after a successful commit using TransactionSynchronization, custom collectors, and @TransactionalEventListener, while highlighting common pitfalls and mitigation strategies.

JavaMQSpring
0 likes · 16 min read
Executing Asynchronous Operations After Spring Transaction Commit: Principles, Pitfalls, and Best Practices
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 3, 2026 · Backend Development

Can We Achieve Seamless Account Interoperability Across Multiple Company Systems?

The article examines the challenges of multiple corporate systems requiring separate logins, explains traditional session mechanisms and their limitations in clustered environments, compares session replication versus centralized storage, and presents a complete Java Spring implementation of CAS‑based single sign‑on with code samples and a discussion of differences from OAuth2.

CASJavaRedis
0 likes · 13 min read
Can We Achieve Seamless Account Interoperability Across Multiple Company Systems?
ITPUB
ITPUB
May 28, 2026 · Backend Development

Skipping Spring Upgrades: Hidden Risks or Upgrade Hazards? Tanzu Spring’s Answer

Enterprise Java teams face mounting technical debt and accelerating security vulnerabilities from outdated Spring versions, a problem amplified by AI‑driven attacks, and Tanzu Spring offers a six‑year extended lifecycle, automated upgrade tooling, AI‑integrated governance, and 24/7 vendor support to safely modernize their applications.

AIEnterpriseJava
0 likes · 11 min read
Skipping Spring Upgrades: Hidden Risks or Upgrade Hazards? Tanzu Spring’s Answer
Architect's Guide
Architect's Guide
May 27, 2026 · Backend Development

Comprehensive Collection of Java Backend Architecture Diagrams

This article compiles over thirty detailed architecture diagrams covering Java class loaders, JVM, Spring, Hibernate, Android, Linux kernel, cloud computing, and various enterprise technologies, offering developers a visual reference library for understanding and designing Java backend systems.

Enterprise ArchitectureHibernateJVM
0 likes · 5 min read
Comprehensive Collection of Java Backend Architecture Diagrams
Java Architect Handbook
Java Architect Handbook
May 23, 2026 · Backend Development

How to Preheat Cache During Spring Startup – Interview Guide

The article explains four ways to preheat caches in Spring during startup, recommends CommandLineRunner/ApplicationRunner as the safest option, and discusses timing, async handling, error protection, and distributed‑lock strategies to avoid common pitfalls in production environments.

CommandLineRunnerSpringSpring Boot
0 likes · 13 min read
How to Preheat Cache During Spring Startup – Interview Guide
Java Tech Enthusiast
Java Tech Enthusiast
May 13, 2026 · Backend Development

Why Adding Spring HATEOAS Stops Front‑End Teams From Chasing Swagger Updates

The article explains how integrating Spring HATEOAS transforms a Level‑2 REST API into a hypermedia‑driven Level‑3 API, automatically exposing actionable links, reducing front‑end state‑handling, enabling type‑safe URL generation, and simplifying RBAC integration, thereby eliminating the need for constant Swagger revisions.

API designRESTSpring
0 likes · 7 min read
Why Adding Spring HATEOAS Stops Front‑End Teams From Chasing Swagger Updates
Coder Trainee
Coder Trainee
May 8, 2026 · Backend Development

How Spring Boot Instantiates Beans and Resolves Circular Dependencies

This article walks through Spring Boot's bean creation pipeline—from the initial getBean call through doGetBean, the three‑level singleton cache, and the detailed steps of createBean, populateBean, and initializeBean—explaining how circular dependencies are safely resolved and where AOP proxies are generated.

AOPBeanBean Lifecycle
0 likes · 14 min read
How Spring Boot Instantiates Beans and Resolves Circular Dependencies
CodeNotes
CodeNotes
May 4, 2026 · Backend Development

Mastering ThreadLocal in Java: Core Principles, Real‑World Scenarios & Best Practices

This article explains how ThreadLocal provides per‑thread variable copies in Java web applications, details its internal storage in Thread objects, showcases ten practical scenarios—from request tracing to async tasks—and highlights common pitfalls such as memory leaks and thread‑pool data contamination, offering concrete best‑practice recommendations.

ConcurrencyJavaLogging
0 likes · 23 min read
Mastering ThreadLocal in Java: Core Principles, Real‑World Scenarios & Best Practices
Java Tech Workshop
Java Tech Workshop
May 3, 2026 · Backend Development

Mastering Java Annotations: From Basic Usage to Custom Annotation Processors

This article explains the fundamentals of Java annotations, their core purposes, built‑in annotations, meta‑annotations, and provides step‑by‑step practical examples for creating a runtime @Sensitive annotation and a compile‑time @AutoGetter processor, while also dissecting how Spring leverages annotations for component scanning, dependency injection, and request mapping.

Annotation ProcessorJavaMeta‑annotations
0 likes · 27 min read
Mastering Java Annotations: From Basic Usage to Custom Annotation Processors
java1234
java1234
Apr 30, 2026 · Backend Development

Designing Clean Backend APIs: Unified Responses, Validation, and Exception Handling in Spring

The article explains how to refactor Spring controller code by introducing a unified response structure, using ResponseBodyAdvice for automatic wrapping, fixing String conversion issues through message‑converter ordering, applying JSR‑303 validation (including custom validators), and implementing custom exceptions with a global exception handler, resulting in concise, maintainable backend APIs.

ControllerExceptionHandlingResponseBodyAdvice
0 likes · 18 min read
Designing Clean Backend APIs: Unified Responses, Validation, and Exception Handling in Spring
dbaplus Community
dbaplus Community
Apr 29, 2026 · Backend Development

Choosing a Scheduling Solution: Quartz vs XXL‑Job vs @Scheduled – Core Principles, Use Cases, Pros & Cons

The article provides a detailed comparison of three Java scheduling solutions—Spring's @Scheduled, Quartz, and XXL‑Job—covering their underlying mechanisms, key features, typical scenarios, common pitfalls, and practical recommendations to help developers select the most suitable option for their projects.

@ScheduledDistributedQuartz
0 likes · 18 min read
Choosing a Scheduling Solution: Quartz vs XXL‑Job vs @Scheduled – Core Principles, Use Cases, Pros & Cons
Top Architect
Top Architect
Apr 28, 2026 · Backend Development

Elegant API Rate Limiting with Spring Interceptor and Redis

This article demonstrates a step‑by‑step implementation of API anti‑brush (rate limiting) using a Spring Interceptor combined with Redis, explains how to configure time windows and request limits, introduces a custom @AccessLimit annotation for fine‑grained control, discusses path‑parameter pitfalls, real‑IP handling, and shares practical testing results.

API SecurityJavaRedis
0 likes · 20 min read
Elegant API Rate Limiting with Spring Interceptor and Redis
Java Architect Handbook
Java Architect Handbook
Apr 22, 2026 · Backend Development

How Changing Five Lines of Code Boosted API Throughput Over 10×

A low‑traffic B2B service struggled to meet a 500 req/s demand, achieving only 50 req/s with high CPU usage; through systematic profiling, lock analysis, async refactoring, thread‑pool tuning, and eliminating costly Spring bean creation, the team dramatically improved response times and throughput, revealing deeper CPU‑usage mysteries.

ConcurrencyJavaProfiling
0 likes · 16 min read
How Changing Five Lines of Code Boosted API Throughput Over 10×
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 22, 2026 · Artificial Intelligence

Spring AI Agent Demo: Architecture, RAG, Tools & Sub‑Agents Explained

An in‑depth walkthrough of a Spring AI‑based AI Agent demo showcases its core modules—including AgentCore orchestration, multi‑layer conversation memory compression, function‑calling tool registration, RAG retrieval pipelines, markdown‑driven Commands and Skills, Sub‑Agent isolation, and MCP integration—complete with code snippets, design rationale, and runtime configuration details.

AIAgentFunctionCalling
0 likes · 27 min read
Spring AI Agent Demo: Architecture, RAG, Tools & Sub‑Agents Explained
Java Backend Full-Stack
Java Backend Full-Stack
Apr 20, 2026 · Backend Development

What Skills Should a 3‑Year Java Backend Developer Master?

The article outlines a comprehensive skill matrix for a three‑year Java backend engineer, covering core Java and JVM knowledge, mainstream frameworks, storage, messaging, containerization, architecture, engineering practices, soft skills, and emerging trends such as AI integration and reactive programming.

ConcurrencyDockerJVM
0 likes · 9 min read
What Skills Should a 3‑Year Java Backend Developer Master?
IT Services Circle
IT Services Circle
Apr 18, 2026 · Backend Development

7 Common Spring Backend Code Review Mistakes and Their Fixes

This article shares seven frequent pitfalls discovered during Spring backend code reviews—such as misuse of @Async, exposing exception details, non‑unique lock values, deep pagination, missing batch operations, lack of authorization, and insecure file uploads—and provides concrete corrected examples and best‑practice recommendations.

Backend DevelopmentBest PracticesJava
0 likes · 13 min read
7 Common Spring Backend Code Review Mistakes and Their Fixes
Coder Trainee
Coder Trainee
Apr 18, 2026 · Backend Development

Building a Tech Blog from Scratch: Implementing a Comment System and Full‑Text Search

This article walks through the design and implementation of a nested comment system with likes, @‑mentions, and sensitive‑word filtering, plus full‑text search using Elasticsearch, covering database schema changes, backend services, Vue components, and recommendation logic for a technical blog platform.

Comment SystemElasticsearchFull-Text Search
0 likes · 23 min read
Building a Tech Blog from Scratch: Implementing a Comment System and Full‑Text Search
Java Tech Workshop
Java Tech Workshop
Apr 18, 2026 · Backend Development

Deep Dive into SpringBoot @Transactional: How It Works and Common Pitfalls

This article explains the fundamentals of transaction management in SpringBoot, detailing the ACID properties, the @Transactional annotation’s AOP‑based implementation, core attributes such as propagation, isolation, rollback rules, timeout and read‑only mode, and provides practical code examples for single‑ and multi‑datasource scenarios.

@TransactionalJavaSpring
0 likes · 20 min read
Deep Dive into SpringBoot @Transactional: How It Works and Common Pitfalls
Java Architect Essentials
Java Architect Essentials
Apr 15, 2026 · Backend Development

Spring 7.0.4: Hidden Deadlock Fix and 30‑50% Startup Boost for K8s Apps

The article analyzes a nondeterministic deadlock bug in Spring 7.0.0‑7.0.3 that surfaces in Kubernetes pods, explains how Spring 7.0.4 resolves it with a revised shutdown state machine, details additional performance‑related fixes and new features, and provides practical upgrade guidance based on JDK version and deployment scenario.

BugFixJavaKubernetes
0 likes · 14 min read
Spring 7.0.4: Hidden Deadlock Fix and 30‑50% Startup Boost for K8s Apps
Top Architect
Top Architect
Apr 13, 2026 · Backend Development

Why Did a Forgotten Transaction Block Payments? A Deep Dive into Spring’s Transaction Management

An online payment service suffered invisible data loss and lock timeouts because a newly deployed business branch failed to commit its transaction, leading to polluted connections that were reused by other services, and the article explains the root cause, debugging steps, code fixes, and preventive measures.

Connection PoolDatabaseSpring
0 likes · 11 min read
Why Did a Forgotten Transaction Block Payments? A Deep Dive into Spring’s Transaction Management
Java Tech Workshop
Java Tech Workshop
Apr 12, 2026 · Backend Development

Understanding SpringBoot’s Environment and PropertySource: Core Concepts and Practical Usage

The article explains SpringBoot’s configuration architecture, detailing how the Environment facade and PropertySource abstractions manage all settings, the loading order, key APIs, debugging techniques, custom PropertySource extensions, and dynamic refresh, enabling developers to resolve priority conflicts and implement advanced configuration scenarios.

JavaPropertySourceSpring
0 likes · 22 min read
Understanding SpringBoot’s Environment and PropertySource: Core Concepts and Practical Usage
Architect's Tech Stack
Architect's Tech Stack
Apr 10, 2026 · Backend Development

Replace RabbitMQ with Spring Events for Cleaner Order Processing

This article explains how to refactor a monolithic order‑creation method by using Spring's built‑in ApplicationEvent mechanism, separating core logic from side‑effects such as SMS, points, and notifications, and clarifies when to choose Spring events over a message queue.

JavaMQ AlternativeSpring
0 likes · 7 min read
Replace RabbitMQ with Spring Events for Cleaner Order Processing
Coder Circle
Coder Circle
Apr 9, 2026 · Artificial Intelligence

Mastering Agent Harness: An Architecture Guide for Java Developers

This article deeply analyzes the Agent Harness framework, mapping its concepts to familiar Spring components, detailing its layered design, lifecycle management, skill registration, memory handling, security sandboxing, checkpointing, multi‑model adapters, and multi‑agent collaboration, and even provides a minimal 20‑line implementation.

AI AgentsAgent HarnessJava
0 likes · 15 min read
Mastering Agent Harness: An Architecture Guide for Java Developers
Code Ape Tech Column
Code Ape Tech Column
Apr 9, 2026 · Artificial Intelligence

Spring AI Alibaba vs AgentScope-Java: Which AI Framework Fits Your Java Projects?

This article compares Spring AI Alibaba and AgentScope-Java, examining their distinct design philosophies—graph‑based workflow versus agentic autonomy—core architectures, key capabilities, code examples, and practical selection guidance, while also highlighting the emerging trend of merging both approaches for optimal Java AI development.

AI FrameworkAgentScopeArtificial Intelligence
0 likes · 14 min read
Spring AI Alibaba vs AgentScope-Java: Which AI Framework Fits Your Java Projects?
macrozheng
macrozheng
Apr 7, 2026 · Backend Development

Boost Your MyBatis Workflow in IDEA with MyBatisCodeHelper-Pro – A Complete Guide

This article introduces the MyBatisCodeHelper-Pro IntelliJ IDEA plugin, outlines its popular features such as mapper navigation, @Param generation, XML creation, pagination support, Spring integration, and SQL log conversion, and provides step‑by‑step installation and usage instructions with screenshots.

Backend DevelopmentIntelliJ IDEAMyBatis
0 likes · 5 min read
Boost Your MyBatis Workflow in IDEA with MyBatisCodeHelper-Pro – A Complete Guide
Java Companion
Java Companion
Apr 7, 2026 · Backend Development

A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature

The article explains how Spring’s built‑in ApplicationEvent and @EventListener mechanism provides a lightweight, zero‑dependency alternative to external message queues for decoupling logic within the same JVM, covering core components, implementation styles, async execution, transactional listeners, pitfalls, performance comparison, and production best practices.

ApplicationEventBest PracticesSpring
0 likes · 23 min read
A Lighter‑Than‑MQ Asynchronous Solution: Spring’s Hidden Event‑Driven Feature
Top Architect
Top Architect
Apr 5, 2026 · Backend Development

Designing a Robust Asynchronous Processing SDK with Spring, Kafka and MySQL

This article explains the design, principles, components, database schema, configuration, and usage of a generic asynchronous processing SDK that leverages Spring AOP, transactional events, Kafka, and a Vue UI to achieve reliable async execution and eventual consistency in Java backend systems.

Design PatternsMySQLSpring
0 likes · 11 min read
Designing a Robust Asynchronous Processing SDK with Spring, Kafka and MySQL
java1234
java1234
Apr 5, 2026 · Backend Development

Why Spring and Spring MVC Use Parent‑Child Containers

The article explains how Spring’s parent‑child container pattern separates core beans like DataSource and TransactionManager from business‑level beans, improving modularity, configuration reuse, decoupling, and flexible bean management, and shows concrete XML and Spring Boot examples for defining and loading these containers.

Bean ConfigurationIOCParent-Child Container
0 likes · 7 min read
Why Spring and Spring MVC Use Parent‑Child Containers
Top Architect
Top Architect
Apr 3, 2026 · Backend Development

Why Did My Payment Service Lose Data? Uncovering Hidden Transaction Bugs in Spring

A mysterious payment failure where orders appeared successful but were never persisted was traced to a missing transaction commit in a special code path, leading to polluted connections that silently broke subsequent transactions, and the article explains the root cause, debugging steps, fix, and preventive measures.

Connection PoolDatabaseMySQL
0 likes · 11 min read
Why Did My Payment Service Lose Data? Uncovering Hidden Transaction Bugs in Spring
WeiLi Technology Team
WeiLi Technology Team
Mar 31, 2026 · Backend Development

Why ThreadLocal Leaks Cause Full GC in Thread Pools and How to Fix It

An online service experienced frequent Full GC due to a ThreadLocal memory leak in a thread‑pool scenario; the article walks through GC log analysis, heap dump inspection, root‑cause discovery in ThreadFactory logic, and presents a robust fix using Spring’s TaskDecorator to ensure proper cleanup.

GCJavaSpring
0 likes · 14 min read
Why ThreadLocal Leaks Cause Full GC in Thread Pools and How to Fix It
JavaGuide
JavaGuide
Mar 30, 2026 · Backend Development

Interviewers Ask About Claude Code Skills—What If You Haven’t Used /simplify?

The article explains the built‑in Claude Code /simplify command, how it uses three parallel AI agents to review and automatically fix code, demonstrates real‑world bugs it uncovered in Java projects, compares it with traditional linters, and offers practical tips and integration guidance.

/simplifyAI AgentsClaude Code
0 likes · 16 min read
Interviewers Ask About Claude Code Skills—What If You Haven’t Used /simplify?
Top Architect
Top Architect
Mar 29, 2026 · Backend Development

Auto‑Inject UserId and OrderId into Logs with Spring AOP and MDC

This article explains how to automatically include userId and orderId in log messages of an e‑commerce system by defining log placeholders, storing IDs in ThreadLocal, and using a custom @UserLog annotation with Spring AOP to push the values into MDC, complete with configuration, code examples, and verification steps.

AOPAnnotationJava
0 likes · 9 min read
Auto‑Inject UserId and OrderId into Logs with Spring AOP and MDC
SpringMeng
SpringMeng
Mar 29, 2026 · Industry Insights

IntelliJ IDEA 2026.1: Full AI Integration Makes This Upgrade Truly Safe

JetBrains' IntelliJ IDEA 2026.1 introduces an AI agent marketplace, quota‑free smart completion, enhanced Git Worktree support, full Java 26 features, deep Spring tooling, Wayland as the default display protocol, and a system‑level recycle bin, turning the IDE into a developer cognition‑enhancing platform and justifying an immediate upgrade.

AI integrationGit worktreeIntelliJ IDEA
0 likes · 9 min read
IntelliJ IDEA 2026.1: Full AI Integration Makes This Upgrade Truly Safe
Java Architecture Diary
Java Architecture Diary
Mar 27, 2026 · Industry Insights

How IntelliJ IDEA 2026.1 Turns Your IDE into an AI Open Platform

IntelliJ IDEA 2026.1 introduces the ACP open protocol for any AI agent, native Git worktree support, direct database querying by agents, enhanced code completion without quota limits, Spring Runtime Insight, and brings a full suite of web development features to the free Community edition, reshaping the Java development workflow.

ACP ProtocolAI integrationGit worktree
0 likes · 6 min read
How IntelliJ IDEA 2026.1 Turns Your IDE into an AI Open Platform
java1234
java1234
Mar 24, 2026 · Backend Development

Key Design Patterns Used in the Spring Framework

This article explains how Spring employs five core design patterns—Factory, Singleton, Proxy, Observer, and Template Method—detailing their roles, code examples, and how they contribute to Spring's modular, extensible architecture.

Design PatternsFactory PatternObserver
0 likes · 8 min read
Key Design Patterns Used in the Spring Framework
MeowKitty Programming
MeowKitty Programming
Mar 20, 2026 · Backend Development

Spring 7 Deep Dive: Architecture Upgrade, New HTTP Client, and Migration Guide

The article examines Spring Framework 7’s architecture-level changes, including Jakarta EE 11 baseline, Kotlin 2.2 support, module refactoring, the new @HttpExchange client, built-in API versioning, startup and WebFlux performance gains, native image enhancements, and provides a step-by-step migration checklist for Java developers.

JavaMigrationPerformance
0 likes · 9 min read
Spring 7 Deep Dive: Architecture Upgrade, New HTTP Client, and Migration Guide
Su San Talks Tech
Su San Talks Tech
Mar 19, 2026 · Backend Development

Unlock Ultimate Spring Support in IDEA Community with the Free Spring Explyt Plugin

This article introduces Spring Explyt, a free open‑source IntelliJ IDEA Community plugin that adds full Spring development features—including accurate bean detection, advanced code completion, endpoint management, built‑in HTTP client, and enhanced debugging—by using a lightweight runtime analysis, and provides installation, usage steps, and a feature comparison with IDEA Ultimate.

IntelliJ IDEAJavaSpring
0 likes · 6 min read
Unlock Ultimate Spring Support in IDEA Community with the Free Spring Explyt Plugin
macrozheng
macrozheng
Mar 18, 2026 · Backend Development

Unlock Ultimate Spring Support in Free IDEA with Spring Explyt Plugin

This guide introduces Spring Explyt, an open‑source IntelliJ IDEA Community plugin that brings full‑featured Spring support—including precise bean detection, advanced code completion, endpoint tools, and built‑in HTTP client—to the free IDE, with installation steps, usage tips, and a feature comparison.

IDEA PluginIntelliJ IDEAJava
0 likes · 6 min read
Unlock Ultimate Spring Support in Free IDEA with Spring Explyt Plugin
java1234
java1234
Mar 17, 2026 · Backend Development

Understanding the Core Mechanism Behind Spring Event Listening

The article explains Spring’s event-driven model, detailing how ApplicationEventPublisher, ApplicationListener, and ApplicationEventMulticaster work together to publish, multicast, and handle events, and provides code examples for defining custom events, implementing listeners via interfaces or @EventListener annotations, and configuring asynchronous handling.

ApplicationEventPublisherJavaSpring
0 likes · 6 min read
Understanding the Core Mechanism Behind Spring Event Listening
Top Architect
Top Architect
Mar 16, 2026 · Backend Development

Refactoring Spring Controllers: Unified Responses, Validation, and Exception Handling

This article explains how to redesign Spring MVC controllers by extracting common responsibilities, defining a standard response wrapper, using ResponseBodyAdvice for automatic packaging, handling String return types, and implementing comprehensive validation and custom exception handling to produce clean, maintainable backend code.

ControllerRESTResponseBodyAdvice
0 likes · 17 min read
Refactoring Spring Controllers: Unified Responses, Validation, and Exception Handling
java1234
java1234
Mar 15, 2026 · Backend Development

BeanFactory vs ApplicationContext in Spring: Key Differences Explained

This article compares Spring's BeanFactory and ApplicationContext, detailing their roles, loading strategies, feature sets, code examples, and recommended usage scenarios, helping developers choose the appropriate container for their projects.

ApplicationContextBeanFactoryDependency Injection
0 likes · 6 min read
BeanFactory vs ApplicationContext in Spring: Key Differences Explained
MeowKitty Programming
MeowKitty Programming
Mar 10, 2026 · Industry Insights

Why Java Remains the Undying Choice for Enterprise Development

The article analyzes Java's enduring dominance in enterprise software by examining its cross‑platform runtime, extensive ecosystem, continuous language and runtime innovations, performance and security breakthroughs, and the resulting cost, stability, and talent advantages that keep 90% of Fortune 500 companies invested.

Enterprise DevelopmentJVMJava
0 likes · 8 min read
Why Java Remains the Undying Choice for Enterprise Development
Architect's Guide
Architect's Guide
Mar 6, 2026 · Backend Development

Mastering Java and Spring SPI: From Basics to Advanced Implementation

This article explains Java's built‑in Service Provider Interface (SPI) mechanism, demonstrates how to create and load SPI implementations with ServiceLoader, and then shows how Spring extends SPI using spring.factories with detailed code examples and source‑code analysis.

Backend DevelopmentDependency InjectionSPI
0 likes · 8 min read
Mastering Java and Spring SPI: From Basics to Advanced Implementation
Coder Trainee
Coder Trainee
Feb 26, 2026 · Backend Development

Understanding the Detailed Usage of @Nullable Annotation

This article explains how the @Nullable annotation can be applied to methods, fields, and parameters in Java, provides concrete code examples for each case, and shows a real‑world usage from Spring's StringUtils utility.

@NullableAnnotationJava
0 likes · 4 min read
Understanding the Detailed Usage of @Nullable Annotation
Java Architect Handbook
Java Architect Handbook
Feb 25, 2026 · Backend Development

Why IDEA Warns on @Autowired but Not @Resource? A Deep Dive into Spring DI

This article examines Spring's common dependency injection methods, compares @Autowired and @Resource annotations, outlines the pros and cons of constructor, setter, and field injection, highlights the drawbacks of field injection, and explains why IntelliJ IDEA only flags @Autowired with a warning.

AutowiredDependency InjectionIDEA
0 likes · 7 min read
Why IDEA Warns on @Autowired but Not @Resource? A Deep Dive into Spring DI
macrozheng
macrozheng
Feb 24, 2026 · Backend Development

Why IDEA Flags @Autowired but Ignores @Resource – A Deep Dive into Spring DI

This article explains the different dependency injection methods in Spring, compares @Autowired and @Resource, outlines the advantages and disadvantages of constructor, setter, and field injection, and clarifies why IntelliJ IDEA only warns about @Autowired usage.

AutowiredDependency InjectionIDEA
0 likes · 5 min read
Why IDEA Flags @Autowired but Ignores @Resource – A Deep Dive into Spring DI
Top Architect
Top Architect
Feb 21, 2026 · Backend Development

Mastering Unified Exception Handling in Spring: Clean Code, Enums, and Assertions

This article explains how to replace repetitive try‑catch blocks in Java Spring applications with a unified exception handling strategy that leverages @ControllerAdvice, custom enums, and assertion utilities, providing clean, maintainable code, internationalized error messages, and consistent response structures for both business and system errors.

EnumsJavaSpring
0 likes · 21 min read
Mastering Unified Exception Handling in Spring: Clean Code, Enums, and Assertions
Java Tech Enthusiast
Java Tech Enthusiast
Feb 18, 2026 · Backend Development

How Spring Debugger Enables Agent‑Free Remote Debugging of Java Apps

Spring Debugger’s new remote debugging feature lets developers inspect Spring beans, execute SQL, view configuration, and analyze transactions on running applications without using Java agents, leveraging container thread models like Tomcat’s persistent workers, with simple JDWP setup and a few limitations.

IDEJavaRemote Debugging
0 likes · 11 min read
How Spring Debugger Enables Agent‑Free Remote Debugging of Java Apps
Coder Trainee
Coder Trainee
Feb 17, 2026 · Backend Development

How @CachePut Updates Cache in Spring Cache

The article explains that @CachePut serves as a trigger to update or add cache entries in Spring Cache, contrasting its behavior with @Cacheable, detailing execution flow, handling of null results, and the recommendation against using both annotations on the same method.

CacheCachePutCacheable
0 likes · 3 min read
How @CachePut Updates Cache in Spring Cache
Top Architect
Top Architect
Feb 15, 2026 · Backend Development

Why Did My Payment Service Lose Data? Uncovering Hidden Transaction Bugs in Spring

A payment service failed to insert orders despite successful payments, showing no errors, occasional lock timeouts, and intermittent success, which was traced to a missing transaction commit that polluted reused connections, causing unrelated business failures until the bug was fixed and preventive measures were added.

Connection PoolDatabaseJava
0 likes · 11 min read
Why Did My Payment Service Lose Data? Uncovering Hidden Transaction Bugs in Spring
Coder Trainee
Coder Trainee
Feb 14, 2026 · Backend Development

Using RedisTemplate to Manage String and Hash Data in Spring

This article demonstrates how to encapsulate common RedisTemplate operations—such as deleting single or multiple keys, setting expiration, checking existence, and performing String and Hash CRUD actions—by providing concrete Java code examples and step‑by‑step method implementations.

CacheHashJava
0 likes · 4 min read
Using RedisTemplate to Manage String and Hash Data in Spring
Java Tech Enthusiast
Java Tech Enthusiast
Feb 10, 2026 · Backend Development

IntelliJ IDEA 2026.1 EAP 3: Recycle Bin Deletions, AI Boosts, and Git Worktree Support

The 2026.1 EAP 3 release of IntelliJ IDEA introduces several practical updates, including moving deleted files to the system recycle bin, deeper AI assistant integration with Roots and improved commands, automatic SQL dialect detection, enhanced Spring debugging, built‑in Git Worktree support, UI refinements, and numerous bug fixes across Java, Kotlin, Docker, and HTTP client features.

AI assistantGit worktreeIDE
0 likes · 9 min read
IntelliJ IDEA 2026.1 EAP 3: Recycle Bin Deletions, AI Boosts, and Git Worktree Support
Java Backend Technology
Java Backend Technology
Feb 5, 2026 · Backend Development

Why Your Spring @Transactional May Fail and How to Fix It

This article explains the common reasons Spring transactions become ineffective or fail to roll back—such as wrong method visibility, final modifiers, self‑invocation, non‑Spring beans, multithreading, unsupported table engines, misconfigured propagation, swallowed exceptions, and improper rollback settings—while providing practical code solutions and best‑practice recommendations.

AOPDatabaseJava
0 likes · 20 min read
Why Your Spring @Transactional May Fail and How to Fix It
Java Architecture Diary
Java Architecture Diary
Feb 5, 2026 · Backend Development

How Spring Debugger Enables Agent‑Free Remote Debugging of Java Apps

The article explains how JetBrains' Spring Debugger plugin provides remote debugging for Spring applications without using Java agents, detailing the underlying thread‑model tricks, supported containers, practical features like bean inspection and SQL execution, and step‑by‑step JDWP configuration.

IDE pluginJavaRemote Debugging
0 likes · 11 min read
How Spring Debugger Enables Agent‑Free Remote Debugging of Java Apps