Tagged articles

Java

5000 articles · Page 10 of 50
Top Architect
Top Architect
Apr 24, 2026 · Backend Development

How MyBatis‑Plus Handles Slow Queries on Massive Datasets

The article explains why ordinary MyBatisPlus pagination becomes slow and memory‑hungry when processing millions of rows, and demonstrates three alternatives—regular query, stream query, and cursor query—detailing their implementations, trade‑offs, and practical code snippets for MySQL and Oracle environments.

CursorJavaLarge Data
0 likes · 10 min read
How MyBatis‑Plus Handles Slow Queries on Massive Datasets
Java Tech Workshop
Java Tech Workshop
Apr 24, 2026 · Backend Development

SpringBoot Sensitive Data Desensitization via Jackson Serialization (Zero‑Intrusion, High‑Performance)

This article explains how to protect user privacy in SpringBoot applications by masking sensitive fields such as phone numbers, ID cards, emails, bank cards, names, and addresses during JSON serialization using a custom Jackson serializer and annotation, offering a zero‑intrusion, high‑performance solution compared to other approaches.

BackendJacksonJava
0 likes · 16 min read
SpringBoot Sensitive Data Desensitization via Jackson Serialization (Zero‑Intrusion, High‑Performance)
Java Architect Handbook
Java Architect Handbook
Apr 24, 2026 · Interview Experience

Why Use Coroutines When Threads Already Exist? Java Interview Deep Dive

An interview‑focused analysis explains how processes allocate resources, threads handle CPU scheduling, and coroutines act as lightweight user‑mode threads, comparing their creation costs, switching overhead, and memory usage, and highlights Java 19/21 virtual threads as the Java implementation of coroutines.

JavaVirtual Threadsconcurrency
0 likes · 13 min read
Why Use Coroutines When Threads Already Exist? Java Interview Deep Dive
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 24, 2026 · Backend Development

One Annotation Eliminates Redundant ID‑to‑Name, Dictionary, and Enum Translations in SpringBoot

Easy‑Trans is a SpringBoot starter that provides five translation modes—simple ID‑to‑name, dictionary code‑to‑text, enum mapping, RPC cross‑service, and custom data source—allowing developers to replace repetitive lookup code with a single @Trans annotation, optionally enabled with caching for high performance.

BackendData TranslationEasy-Trans
0 likes · 6 min read
One Annotation Eliminates Redundant ID‑to‑Name, Dictionary, and Enum Translations in SpringBoot
java1234
java1234
Apr 24, 2026 · Artificial Intelligence

Choosing Between Spring AI 2.0 and LangChain4j for Java AI Development

This article compares Spring AI 2.0 and LangChain4j, examining their positioning, version alignment, architecture, programming model, RAG support, observability, learning curve, and ecosystem integration to help Java teams decide which library best fits their AI project constraints.

AI librariesJavaLLM Integration
0 likes · 13 min read
Choosing Between Spring AI 2.0 and LangChain4j for Java AI Development
Java Web Project
Java Web Project
Apr 24, 2026 · Backend Development

Boost Java Productivity: Integrate Claude & Codex into IntelliJ IDEA Free

The article presents a step‑by‑step, three‑month‑tested workflow that embeds Anthropic Claude and OpenAI Codex into IntelliJ IDEA via the Continue plugin, enabling Java developers to auto‑generate CRUD code, unit tests, and refactorings, connect Claude to the database, and avoid repetitive coding tasks without purchasing a subscription.

AI-assisted developmentClaudeCodex
0 likes · 12 min read
Boost Java Productivity: Integrate Claude & Codex into IntelliJ IDEA Free
Lisa Notes
Lisa Notes
Apr 24, 2026 · Fundamentals

Java Inheritance from Scratch: Stage‑2 AI Learning Notes

This note explains Java inheritance, covering the single‑inheritance class hierarchy, a Car class example, a ChildCar subclass that adds a load field, and eight key inheritance capabilities such as member reuse, method overriding, and constructor chaining, illustrating why inheritance improves code reuse and quality.

Class HierarchyInheritanceJava
0 likes · 7 min read
Java Inheritance from Scratch: Stage‑2 AI Learning Notes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 24, 2026 · Backend Development

Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis

This article demonstrates how to create a millisecond‑level real‑time online user tracking system using Spring Boot 3.5, WebSocket with STOMP, and Redis pub/sub, covering environment setup, Maven dependencies, server‑side configuration, presence services, event listeners, and a simple front‑end page.

JavaRedisSpring Boot
0 likes · 10 min read
Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis
MeowKitty Programming
MeowKitty Programming
Apr 23, 2026 · Backend Development

Why Java Developers Should Re‑Emphasize API Design in the AI Era

Java developers using AI to generate code find speed gains, but vague API boundaries cause AI to misinterpret intent; clear, well‑named, constrained interfaces are essential for reliable AI assistance, making API design a core factor in future development productivity.

AI code generationAPI DesignBackend Development
0 likes · 6 min read
Why Java Developers Should Re‑Emphasize API Design in the AI Era
Cloud Architecture
Cloud Architecture
Apr 23, 2026 · Backend Development

Gracefully Stopping Java Threads: Kernel Mechanics to Cloud‑Native Guide

This article explains why Java threads cannot be force‑killed, how Thread.interrupt works, and provides a step‑by‑step framework—including cooperative cancellation, two‑phase termination, thread‑pool shutdown, Kafka consumer handling, Spring Boot lifecycle integration, and Kubernetes termination orchestration—to achieve safe, observable shutdown of production‑grade Java services.

Graceful ShutdownJavaKafka
0 likes · 31 min read
Gracefully Stopping Java Threads: Kernel Mechanics to Cloud‑Native Guide
Cloud Architecture
Cloud Architecture
Apr 23, 2026 · Backend Development

Three Practical Spring Boot Solutions for Auto‑Cancelling Orders After 30 Minutes

This article analyzes the challenges of automatically cancelling unpaid orders after 30 minutes in high‑traffic e‑commerce systems and compares three production‑grade approaches—simple scheduled polling, RabbitMQ delayed queues, and a time‑bucket plus MQ strategy—detailing their architectures, code, trade‑offs, and best‑practice recommendations.

JavaRabbitMQSpring Boot
0 likes · 41 min read
Three Practical Spring Boot Solutions for Auto‑Cancelling Orders After 30 Minutes
Ray's Galactic Tech
Ray's Galactic Tech
Apr 23, 2026 · Backend Development

Stop Treating LLMs as 'All‑Purpose Tools': Practical Spring AI Multi‑Agent Architecture for Production

This article analyses why a single‑agent LLM approach quickly hits scalability, context, and governance limits, and presents a production‑ready Spring AI Multi‑Agent design—including layered architecture, agent metadata, skill engineering, routing strategies, orchestration, resilience, A2A service discovery, Kubernetes deployment, observability, security, and cost‑control—backed by concrete Java code examples.

A2AJavaKubernetes
0 likes · 38 min read
Stop Treating LLMs as 'All‑Purpose Tools': Practical Spring AI Multi‑Agent Architecture for Production
IT Services Circle
IT Services Circle
Apr 23, 2026 · Backend Development

Why You Can Skip Consistency Checks When Using DB and MinIO Together

The article argues that for typical file‑upload scenarios you should upload to MinIO first and then write to the database without trying to enforce strong distributed consistency, explaining the pitfalls of transaction‑based solutions and offering simple async cleanup strategies.

@TransactionalAsync CleanupBackend
0 likes · 8 min read
Why You Can Skip Consistency Checks When Using DB and MinIO Together
Java Architect Handbook
Java Architect Handbook
Apr 23, 2026 · Interview Experience

Meituan Second Interview: Solving High RocketMQ Consumption Latency in Production

During a Meituan second-round interview, the candidate explains how to diagnose and resolve high RocketMQ consumption latency in production, outlining a three‑step approach—stop the bleeding, recover service, and cure the root cause—through consumer scaling, message forwarding, logic optimization, concurrency tuning, queue expansion, and monitoring.

Consumer LagJavaRocketMQ
0 likes · 14 min read
Meituan Second Interview: Solving High RocketMQ Consumption Latency in Production
Java Web Project
Java Web Project
Apr 23, 2026 · Artificial Intelligence

How a Single @Tool Annotation Lets AI Take Over Your Business System

The article explains how the Spring AI @Tool annotation transforms large language models from guesswork to real‑time data retrieval and action execution, presenting ten concrete scenarios—query, write, aggregation, cross‑system integration, proactive push, Text‑to‑SQL, role‑based access, external services, workflow triggers, and intelligent diagnostics—each illustrated with Java code, LLM decision flow, best‑practice tips, and cost considerations.

AI IntegrationBackendJava
0 likes · 51 min read
How a Single @Tool Annotation Lets AI Take Over Your Business System
Lisa Notes
Lisa Notes
Apr 23, 2026 · Fundamentals

Java Annotations from Scratch: A Step‑by‑Step Guide

The article explains Java annotations, covering their purpose, usage in compilation, documentation and runtime, demonstrates built‑in annotations such as @Deprecated, @Override and @SuppressWarnings, shows how to define custom annotations, set retention policies, and create annotation processors with concrete code examples.

CustomAnnotationJavaPredefinedAnnotations
0 likes · 11 min read
Java Annotations from Scratch: A Step‑by‑Step Guide
LuTiao Programming
LuTiao Programming
Apr 22, 2026 · Fundamentals

Stop Memorizing Design Patterns: Modern Strategy Pattern with Java 21+ Sealed Interfaces and Pattern Matching

The article critiques the classic interface‑plus‑N‑implementations Strategy Pattern for causing class explosion, then demonstrates how Java 17’s sealed interfaces and records together with Java 21’s pattern‑matching switch provide a more concise, type‑safe, and maintainable modern implementation.

Design PatternsJavaJava 21
0 likes · 7 min read
Stop Memorizing Design Patterns: Modern Strategy Pattern with Java 21+ Sealed Interfaces and Pattern Matching
Java Architect Essentials
Java Architect Essentials
Apr 22, 2026 · Fundamentals

Beware of BigDecimal Pitfalls: When Precision Errors Can Cost You

This article explains why using Java's BigDecimal for high‑precision calculations requires careful constructor selection, demonstrates the hidden errors of the double‑based constructor, shows how to format and compare values, and provides a utility class with safe arithmetic methods.

ArithmeticBigDecimalJava
0 likes · 24 min read
Beware of BigDecimal Pitfalls: When Precision Errors Can Cost You
Sohu Tech Products
Sohu Tech Products
Apr 22, 2026 · Artificial Intelligence

Practicing an AST‑Driven MCP Code Context Service for AI Code Review

The article describes how an AST‑based code‑context service, wrapped by an MCP middleware and built with Spring AI and Eclipse JDT, supplies structured Java code information to large models, addressing the context gaps of diff‑only AI code review and improving accuracy through concrete examples and evaluation.

AI code reviewASTEclipse JDT
0 likes · 16 min read
Practicing an AST‑Driven MCP Code Context Service for AI Code Review
Top Architect
Top Architect
Apr 22, 2026 · Backend Development

From Hottest to Obsolete: A Critical Review of 13 Java Web Frameworks

The article evaluates 13 Java web frameworks—Spring Boot, Quarkus, Micronaut, Vert.x, Helidon, Javalin, Dropwizard, Play Framework, Grails, Apache Wicket, Struts 2, JSF, and native Servlet+JSP—using six objective dimensions (performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation) and presents concrete usage statistics, benchmark numbers, and tiered rankings to guide technology selection.

Backend DevelopmentJavaMicronaut
0 likes · 10 min read
From Hottest to Obsolete: A Critical Review of 13 Java Web Frameworks
Top Architect
Top Architect
Apr 22, 2026 · Backend Development

Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns

Learn how to replace tangled if‑else login code with a clean, extensible architecture using Spring Boot, combining the Factory pattern to instantiate strategy beans and the Strategy pattern to encapsulate each login method (password, WeChat, SMS, etc.), enabling easy addition of new authentication types.

Design PatternsFactory PatternJava
0 likes · 14 min read
Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns
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.

JavaPerformance OptimizationProfiling
0 likes · 16 min read
How Changing Five Lines of Code Boosted API Throughput Over 10×
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 22, 2026 · Backend Development

Top IntelliJ IDEA Plugins for 2026 You Probably Haven’t Tried

IntelliJ IDEA already covers about 80% of development needs, but its rich plugin ecosystem lets you fine‑tune your workflow like a custom Vim setup; this article reviews essential plugins—including AceJump, Catppuccin Theme, CodeGlance Pro, Edit‑Tabs‑Location, GenerateAllSetter, GitHub Copilot, Inspection Lens, MyBatis Log Free, Power Mode II, IdeaVim, and Rainbow Brackets—detailing core features, configuration tips, and trade‑offs to help you choose wisely.

AI codingCode navigationIDE plugins
0 likes · 10 min read
Top IntelliJ IDEA Plugins for 2026 You Probably Haven’t Tried
java1234
java1234
Apr 22, 2026 · Artificial Intelligence

Getting Started with LangChain4j: Building Java AI Agents with a Mature LLM Framework

LangChain4j fills the long‑standing gap for Java developers by offering a Java‑native, enterprise‑grade LLM framework that abstracts model calls, prompts, memory, tools, RAG, streaming and structured output, enabling quick setup, clean AI Service definitions, and seamless integration into Spring Boot or Quarkus applications.

ChatMemoryJavaLLM
0 likes · 24 min read
Getting Started with LangChain4j: Building Java AI Agents with a Mature LLM Framework
Java Web Project
Java Web Project
Apr 22, 2026 · Backend Development

How to Build a Java MCP Server for AI Tools with Spring AI

This guide explains the Model Context Protocol (MCP), its JSON‑RPC communication modes, compares Java implementations, and provides a step‑by‑step tutorial—including project setup, configuration, tool creation, registration, and integration with Claude Desktop and IDEA—while covering description best practices, security, validation, and production considerations.

AIBackendJava
0 likes · 17 min read
How to Build a Java MCP Server for AI Tools with Spring AI
Java Architecture Diary
Java Architecture Diary
Apr 22, 2026 · Artificial Intelligence

Why OpenAI’s gpt-image-2 Turns Image Generation into a Practical Tool

OpenAI’s new gpt-image-2 model improves dense Chinese text rendering, follows detailed prompts more reliably, and offers precise edit capabilities, making it suitable for real‑world business graphics such as posters, banners, and dashboards, and the article shows how to integrate it with Spring AI in Java.

AI editingGPT Image 2Java
0 likes · 7 min read
Why OpenAI’s gpt-image-2 Turns Image Generation into a Practical Tool
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 22, 2026 · Backend Development

5 Common Spring Boot Filter Pitfalls and How to Avoid Them

This article examines five typical pitfalls when using Spring Boot filters—request body consumption, ThreadLocal leakage, duplicate execution, ordering conflicts, and async handling—provides concrete code examples, explains why each issue occurs, and offers reliable solutions to keep your applications stable and secure.

BackendJavaServlet
0 likes · 11 min read
5 Common Spring Boot Filter Pitfalls and How to Avoid Them
MeowKitty Programming
MeowKitty Programming
Apr 21, 2026 · Backend Development

Stop Hand‑Coding HTTP for AI: Adopt the Fast‑Updating OpenAI Java SDK

The OpenAI Java SDK has released three versions (4.29.0, 4.31.0, 4.32.0) within weeks, adding a Responses API, Spring Boot starter, webhook verification, request‑ID handling, automatic retries, and GraalVM compatibility, turning it from a simple HTTP wrapper into a production‑ready backend component for Java developers.

AI IntegrationGraalVMJava
0 likes · 6 min read
Stop Hand‑Coding HTTP for AI: Adopt the Fast‑Updating OpenAI Java SDK
Java Architect Handbook
Java Architect Handbook
Apr 21, 2026 · Information Security

How to Secure Spring Boot APIs with RSA Encryption: A Step‑by‑Step Guide

This article explains RSA encryption fundamentals, illustrates two practical scenarios, and walks through creating a Spring Boot project, adding Maven dependencies, configuring RSA keys, annotating controllers for automatic encryption/decryption, testing the endpoints, and handling client‑side encryption with JavaScript, while highlighting common pitfalls.

API SecurityBackendJava
0 likes · 13 min read
How to Secure Spring Boot APIs with RSA Encryption: A Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Apr 20, 2026 · Backend Development

How Groovy Scripts Enable Dynamic Business Rules in Spring Boot

This article explains why frequent business‑rule changes hurt backend release cycles, compares rule engines with Groovy dynamic scripts, walks through three integration methods, shows a Spring Boot implementation with caching and bean access, and details production pitfalls and best‑practice mitigations.

BackendDynamic ScriptingGroovy
0 likes · 16 min read
How Groovy Scripts Enable Dynamic Business Rules in Spring Boot
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.

DockerJVMJava
0 likes · 9 min read
What Skills Should a 3‑Year Java Backend Developer Master?
Java Architect Handbook
Java Architect Handbook
Apr 20, 2026 · Backend Development

Concurrency vs Parallelism in Java: Definitions, CPU Mechanics, and Interview Tips

The article explains how concurrency differs from parallelism by defining logical versus physical simultaneity, illustrates the concepts with everyday analogies and CPU scheduling details, provides Java code examples, lists common interview follow‑up questions, and offers a concise mnemonic for remembering the distinction.

Backend DevelopmentCPUJava
0 likes · 10 min read
Concurrency vs Parallelism in Java: Definitions, CPU Mechanics, and Interview Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 20, 2026 · Backend Development

Avoid Hidden Thread‑Safety Bugs in Spring Boot 3: 6 Common Pitfalls and Fixes

This article examines six typical concurrency mistakes in Spring Boot 3—misusing volatile, unsafe ConcurrentHashMap patterns, exposing mutable collections, removing synchronized, abusing parallel streams, and invisible shutdown flags—showing why they occur and providing concrete, thread‑safe code replacements.

ConcurrentHashMapJavaSpring Boot
0 likes · 9 min read
Avoid Hidden Thread‑Safety Bugs in Spring Boot 3: 6 Common Pitfalls and Fixes
Su San Talks Tech
Su San Talks Tech
Apr 20, 2026 · Artificial Intelligence

Master Spring AI: From Hello World to Advanced RAG, Tool Calling, and Agent Development

This step‑by‑step guide shows Java developers how to set up Spring AI, configure various model providers, build basic and streaming chat APIs, enable multi‑turn memory, implement RAG with vector stores, add tool‑calling and multimodal capabilities, integrate MCP, and create sophisticated agents, while comparing ChatModel and ChatClient and outlining strengths, weaknesses, and ideal use cases.

AI IntegrationChatClientJava
0 likes · 17 min read
Master Spring AI: From Hello World to Advanced RAG, Tool Calling, and Agent Development
Java Tech Workshop
Java Tech Workshop
Apr 20, 2026 · Backend Development

Optimizing SpringBoot Batch Insert/Update with MyBatis: Real‑World Tips for High‑Volume Data

This article explains why naïve per‑record inserts or updates in SpringBoot cause severe performance problems, analyzes three common mistakes, and demonstrates how MyBatis batch processing—through connection reuse, prepared‑statement reuse, and batch transaction commits—can speed up operations by tens of times, with practical code examples and configuration tips for handling millions of rows.

JavaMyBatisPerformance
0 likes · 21 min read
Optimizing SpringBoot Batch Insert/Update with MyBatis: Real‑World Tips for High‑Volume Data
Java Architecture Diary
Java Architecture Diary
Apr 20, 2026 · Backend Development

How to Build a Personal WeChat Bot with iLink and the JiLink Java SDK

Since March 2026, WeChat’s official iLink Bot API enables personal accounts to legally receive and send messages, and this article explains the protocol’s features, compares it with older reverse‑engineering methods, and provides a step‑by‑step guide to using the JiLink Java SDK, including code samples and pitfalls.

BotJavaSDK
0 likes · 12 min read
How to Build a Personal WeChat Bot with iLink and the JiLink Java SDK
Programmer XiaoFu
Programmer XiaoFu
Apr 20, 2026 · Artificial Intelligence

How Java + LangChain4j Can Eliminate Messy Chunking for High‑Quality RAG Document Splitting

The article explains why fixed‑size chunking harms RAG recall, demonstrates three semantic‑chunking strategies—including recursive punctuation splitting, overlapping windows, and parent‑child document mapping—and provides complete Java/LangChain4j code that integrates tokenizers, Redis, and Qdrant to boost retrieval performance.

EmbeddingJavaLangChain4j
0 likes · 10 min read
How Java + LangChain4j Can Eliminate Messy Chunking for High‑Quality RAG Document Splitting
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 20, 2026 · Backend Development

Rewrite Spring Boot Request Body: Filter, RequestBodyAdvice, and Custom Processor

This article compares three Spring Boot techniques—using a Filter with a custom HttpServletRequestWrapper, a global RequestBodyAdvice, and a custom RequestResponseBodyMethodProcessor—to transparently decrypt or modify the request body, providing code samples, configuration tips, and testing guidance for each approach.

BackendCustom ProcessorJava
0 likes · 8 min read
Rewrite Spring Boot Request Body: Filter, RequestBodyAdvice, and Custom Processor
MeowKitty Programming
MeowKitty Programming
Apr 19, 2026 · Artificial Intelligence

Why Java Developers Can Now Treat AI as a Full Engineering Stack

The article explains how recent releases like Java 26 and Spring AI 2.0 have turned Java‑AI from a hobbyist demo into a mature, production‑ready engineering stack, outlining the practical steps Java teams should follow to integrate AI into existing systems.

AIAI EngineeringBackend
0 likes · 8 min read
Why Java Developers Can Now Treat AI as a Full Engineering Stack
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 DevelopmentJavaSpring
0 likes · 13 min read
7 Common Spring Backend Code Review Mistakes and Their Fixes
Java Companion
Java Companion
Apr 18, 2026 · Backend Development

How Arthas + MCP Enable AI-Powered Java Runtime Diagnosis

The article explains how the open‑source Java diagnostic tool Arthas now supports the Model Context Protocol (MCP), allowing AI assistants to invoke Arthas commands directly for CPU, latency, version, and Spring Bean issues, while covering installation, usage scenarios, and production safeguards.

AIArthasJava
0 likes · 13 min read
How Arthas + MCP Enable AI-Powered Java Runtime Diagnosis
Lisa Notes
Lisa Notes
Apr 18, 2026 · Fundamentals

Java Basics: Building a Car Class from Scratch

This learning note walks through a complete Java Car class example, explaining its instance fields (brand, color, speed, id), a static count field, a parameterized constructor that auto‑increments the count, and accessor methods that illustrate core object‑oriented concepts.

Javaclassconstructor
0 likes · 4 min read
Java Basics: Building a Car Class from Scratch
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
LuTiao Programming
LuTiao Programming
Apr 18, 2026 · Backend Development

Beyond @Transactional: Build a Java Ticket System, Master Deadlocks & Isolation Levels

The article shows why a simple @Transactional approach fails under 300,000 concurrent users, explains MVCC behavior, demonstrates how to use row‑level pessimistic locks, sorting, FOR NO KEY UPDATE, short transactions, optimistic locking, and proper isolation levels, and outlines a production‑ready architecture with read/write splitting, Redis rate limiting and connection‑pool tuning.

Isolation LevelJavaOptimistic Lock
0 likes · 10 min read
Beyond @Transactional: Build a Java Ticket System, Master Deadlocks & Isolation Levels
Java Architect Essentials
Java Architect Essentials
Apr 17, 2026 · Backend Development

How to Integrate Tess4J OCR into a Spring Boot Application

This article explains OCR fundamentals, introduces Tesseract and its Java wrapper Tess4J, guides you through downloading language data, shows step‑by‑step Spring Boot integration with Maven dependencies and configuration classes, and provides test code for Chinese, English, and mixed‑language image recognition.

JavaLanguage DataOCR
0 likes · 9 min read
How to Integrate Tess4J OCR into a Spring Boot Application
Cloud Architecture
Cloud Architecture
Apr 17, 2026 · Backend Development

The Distributed Transaction ‘Silver Bullet’ Myth: Practical SAGA, TCC, and Outbox Implementation

Distributed transactions have no universal silver bullet; architects must balance consistency, latency, throughput, complexity, and operational cost, and choose among SAGA, TCC, and Outbox patterns based on concrete trade‑offs, failure handling, and real‑world engineering constraints.

Distributed TransactionsJavaMicroservices
0 likes · 47 min read
The Distributed Transaction ‘Silver Bullet’ Myth: Practical SAGA, TCC, and Outbox Implementation
Ray's Galactic Tech
Ray's Galactic Tech
Apr 17, 2026 · Backend Development

Build a Million-Connection Audio Gateway with Java WebFlux – Engineering Practices

This article explains how to design and implement a production‑grade, million‑scale long‑connection audio gateway using Java WebFlux, covering architecture decomposition, capacity planning, back‑pressure handling, routing, Kubernetes deployment, monitoring, and real‑world pitfalls for reliable real‑time voice services.

AudioGatewayDistributedSystemsJava
0 likes · 39 min read
Build a Million-Connection Audio Gateway with Java WebFlux – Engineering Practices
Java Tech Workshop
Java Tech Workshop
Apr 17, 2026 · Backend Development

Spring AOP Proxy Modes: Differences Between CGLIB and JDK Dynamic Proxies

This article explains the two proxy mechanisms used by Spring AOP—JDK dynamic proxy and CGLIB—detailing their core principles, required conditions, code examples, performance trade‑offs, how Spring chooses between them, common pitfalls that cause proxy failure, and practical solutions.

CGLIB proxyJDK Dynamic ProxyJava
0 likes · 17 min read
Spring AOP Proxy Modes: Differences Between CGLIB and JDK Dynamic Proxies
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Apr 16, 2026 · Artificial Intelligence

Can AI Generate Full Repositories from a README? Inside Microsoft’s RepoGenesis Benchmark

RepoGenesis, a new ACL 2026 benchmark introduced by Microsoft Research, evaluates whether large‑language‑model agents can turn a structured README into a complete, deployable microservice repository, measuring Pass@1, API coverage and deployment success across 106 Python and Java projects.

Code GenerationJavaPython
0 likes · 8 min read
Can AI Generate Full Repositories from a README? Inside Microsoft’s RepoGenesis Benchmark
Top Architect
Top Architect
Apr 16, 2026 · Backend Development

Which Java Backend Framework Reigns Supreme? A Data‑Driven Comparison of Spring Boot, Quarkus, Micronaut, and More

This article presents an objective, data‑backed comparison of popular Java backend frameworks—evaluating performance, ecosystem maturity, learning curve, development efficiency, and enterprise adoption—to help developers choose the most suitable technology for their specific scenarios.

Backend FrameworksJavaMicroservices
0 likes · 10 min read
Which Java Backend Framework Reigns Supreme? A Data‑Driven Comparison of Spring Boot, Quarkus, Micronaut, and More
Java Tech Workshop
Java Tech Workshop
Apr 16, 2026 · Backend Development

Implementing API Rate Limiting in Spring Boot with AOP

This tutorial walks through why API rate limiting is a critical first line of defense for backend services, compares fixed‑window and sliding‑window strategies, and shows how to create a custom @RateLimit annotation, utility classes, an AOP aspect, Redis or local storage, and unified exception handling, providing complete code and test scenarios for Spring Boot 2.7.x.

AOPFixed WindowJava
0 likes · 31 min read
Implementing API Rate Limiting in Spring Boot with AOP
Senior Xiao Ying
Senior Xiao Ying
Apr 16, 2026 · Backend Development

Say Goodbye to Data Chaos: Using CloudEvents to Standardize Event Formats in Spring Boot

Spring Boot can adopt the CloudEvents specification to unify event payloads across microservices, eliminating format inconsistencies; the article explains the spec, shows structured and binary HTTP modes, provides Maven dependencies, configuration, and code examples for producers, consumers, and reactive handling with Spring Cloud Function.

CloudEventsHTTPJava
0 likes · 12 min read
Say Goodbye to Data Chaos: Using CloudEvents to Standardize Event Formats in Spring Boot
Coder Circle
Coder Circle
Apr 16, 2026 · Artificial Intelligence

Add Context Memory to Your AI in 5 Lines with Spring AI ChatMemory

The article demonstrates how to give a Spring Boot AI chatbot persistent context using Spring AI's ChatMemory, showing the problem of stateless requests, explaining the ChatMemory architecture, providing a five‑line code example, comparing storage options (InMemory, JDBC, Redis), and sharing practical tips and pitfalls.

AI conversationChatMemoryJava
0 likes · 7 min read
Add Context Memory to Your AI in 5 Lines with Spring AI ChatMemory
java1234
java1234
Apr 16, 2026 · Backend Development

Why Java Virtual Threads? Deep Dive into Loom’s Principles and Production Pitfalls

The article explains why traditional platform threads are costly, defines Java virtual threads as lightweight JVM‑managed threads that unmount on blocking, compares their performance and limits to platform threads, outlines suitable and unsuitable use cases, provides starter code and best‑practice patterns, and offers a detailed production‑ready checklist to avoid common pitfalls such as pinning, ThreadLocal misuse, and blocking I/O.

JavaPerformanceProject Loom
0 likes · 16 min read
Why Java Virtual Threads? Deep Dive into Loom’s Principles and Production Pitfalls
Java Web Project
Java Web Project
Apr 16, 2026 · Backend Development

How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service

The article walks through a 13‑hour out‑of‑memory incident on a Spring Boot 2.7 service running in Kubernetes, detailing how to preserve the crash dump, interpret GC logs, use MAT and Arthas to pinpoint a static HashMap leak, and apply both temporary and permanent fixes while hardening the system for future safety.

ArthasJVMJava
0 likes · 18 min read
How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service
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
Java Tech Workshop
Java Tech Workshop
Apr 15, 2026 · Backend Development

Implementing Operation Logging in SpringBoot with AOP

This article walks through a complete, step‑by‑step implementation of operation logging in a SpringBoot application using Spring AOP, covering log field design, Maven dependencies, entity and custom annotation creation, aspect definition with around advice, testing endpoints, and practical optimization tips such as real user extraction, database persistence, and sensitive data masking.

AOPAspectJBackend
0 likes · 17 min read
Implementing Operation Logging in SpringBoot with AOP
Java Architecture Diary
Java Architecture Diary
Apr 15, 2026 · Operations

Unlock JVM Mysteries: How Arthas and AI Turn Debugging into a One‑Click Process

When a service’s P99 latency spikes to seconds and CPU hits 90% without logs, Arthas lets you inspect the JVM in real time without code changes, and its AI‑driven MCP extension automates command selection, enabling developers to diagnose, trace, decompile, and monitor issues through simple natural‑language prompts and Spring Boot integration.

AI operationsArthasJVM debugging
0 likes · 8 min read
Unlock JVM Mysteries: How Arthas and AI Turn Debugging into a One‑Click Process
Coder Circle
Coder Circle
Apr 14, 2026 · Backend Development

Spring AI Hands‑On for Java Developers: Connecting ChatClient to the MiniMax LLM

This tutorial shows Java engineers how to set up a Spring Boot 4 project, configure Spring AI for the MiniMax large‑language model, call it via simple and streaming endpoints, use prompt templates with dynamic parameters, add metadata and advisors, and switch between different LLM providers with minimal code changes.

JavaLLMMiniMax
0 likes · 8 min read
Spring AI Hands‑On for Java Developers: Connecting ChatClient to the MiniMax LLM
ITPUB
ITPUB
Apr 14, 2026 · Operations

Mastering Java Service Performance: Diagnose CPU, Memory, IO & Network Issues

This guide walks you through systematic troubleshooting of Java service performance problems—covering CPU spikes, memory leaks, GC pauses, disk I/O anomalies, and network bottlenecks—by explaining key metrics, command‑line tools, visual profilers, and practical code examples.

CPUJavaLinux
0 likes · 12 min read
Mastering Java Service Performance: Diagnose CPU, Memory, IO & Network Issues
Code Ape Tech Column
Code Ape Tech Column
Apr 14, 2026 · Artificial Intelligence

6 Essential AI Agent Design Patterns Every Developer Should Master

This article explores six practical AI Agent design patterns—ReAct, Tool Use, Reflection, Planning, Multi‑Agent, and Human‑in‑the‑Loop—detailing their principles, Java Spring AI implementations, advantages, drawbacks, and suitable scenarios, and provides guidance on selecting and combining them for robust AI applications.

AIAgentDesign Patterns
0 likes · 19 min read
6 Essential AI Agent Design Patterns Every Developer Should Master
MeowKitty Programming
MeowKitty Programming
Apr 14, 2026 · Backend Development

Why Java + AI Will Become the Backend Breakthrough by 2026

With Spring AI 1.1, LangChain4j, and MCP Java SDK now offering mature, framework‑level AI capabilities, Java backend teams can move beyond ad‑hoc model calls to fully engineered AI integration—RAG, tool calling, and agents—making Java a viable, production‑ready AI stack for enterprises by 2026.

AIBackend DevelopmentJava
0 likes · 7 min read
Why Java + AI Will Become the Backend Breakthrough by 2026
Java Tech Workshop
Java Tech Workshop
Apr 14, 2026 · Backend Development

How to Exclude Specific Auto‑Configurations in SpringBoot: 5 Practical Methods

This article explains SpringBoot's auto‑configuration mechanism, why exclusions are needed, and walks through five concrete ways to exclude unwanted auto‑configurations—including annotation‑based, name‑based, YAML/property file, @EnableAutoConfiguration, and autoconfigure.exclude file approaches—while comparing their priorities, advantages, and suitable scenarios, and offering troubleshooting tips for common pitfalls.

Auto-configurationBackendConfiguration
0 likes · 8 min read
How to Exclude Specific Auto‑Configurations in SpringBoot: 5 Practical Methods
SpringMeng
SpringMeng
Apr 14, 2026 · Frontend Development

How to Build Modern Java Desktop Apps with Shadcn UI, React, and JxBrowser

This article explains why traditional Java UI toolkits fall short, then walks through a complete solution that embeds a React + shadcn/ui front‑end inside a Java desktop window using JxBrowser, covering window creation, resource loading for dev and production, and two Java‑Web communication strategies (JS‑Java bridge and Protobuf + gRPC).

DesktopJavaJxBrowser
0 likes · 7 min read
How to Build Modern Java Desktop Apps with Shadcn UI, React, and JxBrowser
Java Tech Workshop
Java Tech Workshop
Apr 13, 2026 · Backend Development

Understanding SpringBoot Extension Points: ApplicationContextInitializer vs ApplicationListener

This article explains the two core SpringBoot extension points—ApplicationContextInitializer for pre‑startup configuration and ApplicationListener for post‑event handling—detailing their purpose, execution timing, source code, registration methods, ordering control, common use cases, and a side‑by‑side comparison to help developers master SpringBoot's flexible extension mechanism.

ConfigurationJavaSpringBoot
0 likes · 31 min read
Understanding SpringBoot Extension Points: ApplicationContextInitializer vs ApplicationListener
Tech Ocean
Tech Ocean
Apr 13, 2026 · Backend Development

Automatically Switch JDK Versions per Project with jenv

This guide explains how to install and configure jenv to manage multiple JDK installations, automatically switch Java versions when entering project directories, and synchronize JAVA_HOME, covering global, local, and shell-level switches, alias management, and common troubleshooting.

HomebrewJDKJava
0 likes · 8 min read
Automatically Switch JDK Versions per Project with jenv
FunTester
FunTester
Apr 12, 2026 · Industry Insights

Why Software Standards Matter: Unlocking Collaboration and Longevity

The article explains how software standards act as coordination mechanisms that prevent fragmentation, enable portability and foster long‑term stability, illustrating their structure through examples like Java and Jakarta EE, and arguing that standards are the invisible infrastructure essential for sustainable engineering collaboration.

JavaSoftware Standardscollaboration
0 likes · 9 min read
Why Software Standards Matter: Unlocking Collaboration and Longevity
Cloud Architecture
Cloud Architecture
Apr 12, 2026 · Backend Development

How to Build an Atomic‑Level RocketMQ Transactional Message Wrapper for Production

This article explains why traditional distributed transactions fail, then details the core principles, state flow, and practical Java/Spring Boot implementation of an atomic‑level RocketMQ transactional message wrapper, covering schema design, idempotency, high‑concurrency handling, monitoring, and deployment for production‑grade microservices.

JavaMicroservicesRocketMQ
0 likes · 39 min read
How to Build an Atomic‑Level RocketMQ Transactional Message Wrapper for Production
macrozheng
macrozheng
Apr 12, 2026 · Backend Development

Why a Simple HashMap Bug Crashed Our High‑Concurrency Service and How to Fix It

A senior architect introduced a high‑concurrency monitoring feature that used ConcurrentHashMap, but missing equals/hashCode and non‑atomic updates caused massive memory leaks and race conditions, leading to a post‑mortem that highlights proper key implementation, atomic map operations, and cautious synchronization.

ConcurrentHashMapJavaMemoryLeak
0 likes · 7 min read
Why a Simple HashMap Bug Crashed Our High‑Concurrency Service and How to Fix It
Coder Trainee
Coder Trainee
Apr 12, 2026 · Backend Development

Integrating WeChat Pay for Education Mini‑Programs: Automated Deposit and Final‑Payment Settlement

This article walks through the complete WeChat Pay integration for an education‑focused mini‑program, covering the business flow, database schema, Java backend implementation for order creation, callback handling, automatic refunds, scheduled tasks, common pitfalls, and practical tips for reliable payment processing.

JavaPayment IntegrationWeChat Pay
0 likes · 21 min read
Integrating WeChat Pay for Education Mini‑Programs: Automated Deposit and Final‑Payment Settlement
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.

ConfigurationDevOpsEnvironment
0 likes · 22 min read
Understanding SpringBoot’s Environment and PropertySource: Core Concepts and Practical Usage
MeowKitty Programming
MeowKitty Programming
Apr 11, 2026 · Industry Insights

Java’s New Frontier: Master AI Agents, Not Just Code, as Oracle, Spring, JetBrains Bet

The article explains how Oracle, Spring, and JetBrains are collectively pushing Java toward an agent‑centric ecosystem, shifting the developer’s role from writing code to orchestrating AI agents, and outlines the specific capabilities, engineering practices, and risks Java engineers must adopt to stay competitive in the coming years.

AI AgentsAgent EngineeringJava
0 likes · 9 min read
Java’s New Frontier: Master AI Agents, Not Just Code, as Oracle, Spring, JetBrains Bet
Java Tech Workshop
Java Tech Workshop
Apr 11, 2026 · Backend Development

Why @ConfigurationProperties Is the Preferred Way to Bind Configurations in SpringBoot

This article explains how @ConfigurationProperties provides batch binding, type safety, relaxed key matching, and validation for SpringBoot configuration, compares it with @Value, and walks through practical examples—including simple bindings, nested objects, collections, maps, validation, multi‑environment profiles, and advanced features like hot‑refresh and custom starters.

@ConfigurationPropertiesJavaValidation
0 likes · 25 min read
Why @ConfigurationProperties Is the Preferred Way to Bind Configurations in SpringBoot