Tagged articles

Java

5000 articles · Page 7 of 50
Java Architect Handbook
Java Architect Handbook
Jun 11, 2026 · Backend Development

Building a Visual Rule Engine with Spring Boot and URule

This article walks through the motivation, architecture, installation steps, core concepts, and practical usage of integrating the URule visual rule engine into a Spring Boot project, including library files, wizard and script rule sets, decision tables, and a real‑world promotion scenario.

BackendJavaRule Engine
0 likes · 17 min read
Building a Visual Rule Engine with Spring Boot and URule
Architect Chen
Architect Chen
Jun 11, 2026 · Fundamentals

Understanding Java Thread Deadlocks: 5 Common Scenarios and How to Fix Them

The article defines Java thread deadlock, illustrates five typical deadlock patterns with diagrams, shows how they cause threads to wait indefinitely, and presents five practical solutions—including consistent lock ordering, reducing nested locks, shrinking lock scope, using timed locks, and adopting lock‑free designs.

JavaLockPerformance
0 likes · 3 min read
Understanding Java Thread Deadlocks: 5 Common Scenarios and How to Fix Them
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 11, 2026 · Backend Development

Spring Boot 4.1 Released: 20 New Features and Key Improvements

Spring Boot 4.1 introduces 20 major updates, including removal of deprecated APIs, new gRPC support, enhanced Jackson configuration, improved observability with OpenTelemetry, SSL for RabbitMQ streams, lazy JDBC connections, and numerous Gradle and Maven plugin enhancements, while providing detailed migration guidance for developers.

BackendDocker ComposeJava
0 likes · 16 min read
Spring Boot 4.1 Released: 20 New Features and Key Improvements
samdeepthink
samdeepthink
Jun 11, 2026 · Fundamentals

Why Code Reuse Matters When Integrating with Low‑Code Platforms

The article shows how duplicating 20‑40 lines of request‑building code for each low‑code table operation leads to maintenance risk, and demonstrates extracting two generic Java methods that encapsulate invariant logic while parameterising fields, tables, and apps, dramatically reducing code and clarifying responsibilities.

API DesignDRY PrincipleJava
0 likes · 8 min read
Why Code Reuse Matters When Integrating with Low‑Code Platforms
Architect's Guide
Architect's Guide
Jun 11, 2026 · Fundamentals

Mastering Java Lambda Expressions: A Deep Dive

This article explains what Java lambda expressions are, why they were added in Java 8, their syntax and classification, how they relate to functional interfaces, and demonstrates practical examples including anonymous inner‑class refactoring, stream usage, method references, and custom functional interfaces.

Functional InterfaceJavaMethod Reference
0 likes · 16 min read
Mastering Java Lambda Expressions: A Deep Dive
CodeNotes
CodeNotes
Jun 10, 2026 · Backend Development

After a Decade with Map, Are You Still Using containsKey + get + put?

The article reviews the seven Java 8 Map convenience APIs—getOrDefault, putIfAbsent, computeIfAbsent, computeIfPresent, compute, merge, and forEach—plus replaceAll and Map.of, showing concise code examples, best‑practice recommendations, concurrency considerations, and common pitfalls for modern Java developers.

APICollectionsJava
0 likes · 10 min read
After a Decade with Map, Are You Still Using containsKey + get + put?
LuTiao Programming
LuTiao Programming
Jun 10, 2026 · Backend Development

Why 90% of Developers Misuse Codex for Spring Boot – The Critical First Mistake

Most developers give AI coding tools vague one‑sentence requests for Spring Boot tasks, causing the AI to generate code that violates project conventions, while a detailed engineering task sheet that includes context, constraints, and verification steps dramatically improves the quality and safety of the generated code.

AGENTS.mdCodexJava
0 likes · 16 min read
Why 90% of Developers Misuse Codex for Spring Boot – The Critical First Mistake
Cloud Architecture
Cloud Architecture
Jun 10, 2026 · Backend Development

Million-Connection Single-Server with Netty: Architecture, Extreme Tuning, and Production Deployment

This article details how to design and tune a Netty‑based single‑machine gateway capable of handling one million concurrent TCP long‑connections, covering network model, memory management, protocol design, OS and JVM optimizations, clustering, load balancing, graceful shutdown, monitoring, and practical deployment considerations.

JavaLong ConnectionsNetty
0 likes · 43 min read
Million-Connection Single-Server with Netty: Architecture, Extreme Tuning, and Production Deployment
Cloud Architecture
Cloud Architecture
Jun 10, 2026 · Backend Development

How to End Duplicate Consumption in RocketMQ with Idempotence and High‑Concurrency Architecture

The article explains why RocketMQ inevitably delivers duplicate messages under at‑least‑once semantics, analyzes root causes in producer, broker and consumer stages, and presents a production‑grade idempotent solution that combines business keys, Redis caching, Redisson locks, a MySQL idempotent table, AOP interception, and comprehensive monitoring to guarantee exactly‑once business outcomes even under high concurrency and Kubernetes graceful shutdown.

IdempotenceJavaRedis
0 likes · 34 min read
How to End Duplicate Consumption in RocketMQ with Idempotence and High‑Concurrency Architecture
CodeNotes
CodeNotes
Jun 10, 2026 · Fundamentals

How Java 8’s Default and Static Interface Methods Transform Design Patterns

The article explains how Java 8 added default and static methods to interfaces—allowing method bodies, enabling backward‑compatible extensions, illustrating usage with code examples, handling multiple‑interface conflicts, and introducing Java 9 private methods, while summarizing common pitfalls and best‑practice guidelines.

JavaJava 8default method
0 likes · 9 min read
How Java 8’s Default and Static Interface Methods Transform Design Patterns
Top Architect
Top Architect
Jun 10, 2026 · Backend Development

Escape the if‑else Nightmare with Powerful Workflow Orchestration

The article explains how tangled if‑else branches in a business middle‑platform can be replaced by a flow‑engine and plugin‑extension approach, using the open‑source MemberClub project to demonstrate configuration, node definition, and execution mechanics that improve code isolation and extensibility.

Code IsolationJavaMemberClub
0 likes · 11 min read
Escape the if‑else Nightmare with Powerful Workflow Orchestration
Top Architect
Top Architect
Jun 10, 2026 · Backend Development

Why Spring Boot Plugin Development Is a Game‑Changer

This article explains how Spring Boot’s plugin architecture—using SPI, custom configuration, and Spring Factories—enables modular, extensible services, demonstrates step‑by‑step implementations with code samples, and shows real‑world use cases for building flexible micro‑service components.

Dependency InjectionJavaMicroservices
0 likes · 22 min read
Why Spring Boot Plugin Development Is a Game‑Changer
Tech Ocean
Tech Ocean
Jun 10, 2026 · Artificial Intelligence

5 Agent Orchestration Patterns to Elevate Spring AI from Single‑Turn Q&A to Multi‑Step Decision Making

The article explains five concrete agent‑orchestration patterns—Chain, Routing, Parallelization, Orchestrator‑Workers, and Evaluator‑Optimizer—showing how to combine Spring AI's ChatClient with simple Java control flow to transform single‑turn interactions into controlled, multi‑step decision workflows, complete with code examples and guidance on when to use each pattern.

Artificial IntelligenceBackendJava
0 likes · 8 min read
5 Agent Orchestration Patterns to Elevate Spring AI from Single‑Turn Q&A to Multi‑Step Decision Making
Tech Musings
Tech Musings
Jun 10, 2026 · Backend Development

Evolving RagFlow Text Upload: From Placeholder Files to Direct Temp‑File Upload

The article compares two Java‑based integration methods for sending pure‑text documents to RagFlow—first uploading an empty placeholder file then adding chunks, and later writing the text to a temporary file and uploading it directly—detailing implementation, pitfalls, and why the latter is preferred.

APIBackendJava
0 likes · 11 min read
Evolving RagFlow Text Upload: From Placeholder Files to Direct Temp‑File Upload
Architect's Guide
Architect's Guide
Jun 10, 2026 · Backend Development

Essential Java Libraries Every Senior Developer Should Know

This article compiles a curated list of 20 widely used Java libraries—covering logging, JSON processing, testing, utilities, HTTP, XML, Excel, bytecode manipulation, connection pooling, messaging, PDF, date‑time, collections, email, HTML parsing, cryptography, embedded databases, JDBC debugging, serialization, and networking—to help developers avoid reinventing the wheel and boost productivity.

BackendHTTPJSON
0 likes · 12 min read
Essential Java Libraries Every Senior Developer Should Know
Coder Trainee
Coder Trainee
Jun 9, 2026 · Backend Development

Building Java AI Agents with Spring AI: A Hands‑On Guide

This article walks Java developers through using Spring AI to build AI agents, comparing it with Python's LangChain, detailing architecture, environment setup, prompt templates, tool integration, RAG implementation, production‑grade features, and a side‑by‑side feature comparison.

AI AgentJavaLangChain
0 likes · 17 min read
Building Java AI Agents with Spring AI: A Hands‑On Guide
Tech Ocean
Tech Ocean
Jun 9, 2026 · Backend Development

Enabling Large Language Models to Call Your Java Methods with Spring AI Tool Calling

This article explains how Spring AI's Tool Calling lets large language models overcome their inability to access real‑time or private data by invoking annotated Java methods, showing step‑by‑step code examples, parameter handling, and the execution flow that bridges model requests with actual method results.

Backend IntegrationFunction CallingJava
0 likes · 5 min read
Enabling Large Language Models to Call Your Java Methods with Spring AI Tool Calling
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.

BackendEasyExcelExcel Export
0 likes · 11 min read
How to Prevent Server Crashes from Concurrent Excel Exports with a Queue
Top Architect
Top Architect
Jun 9, 2026 · Backend Development

Master SpringBoot Excel Export with EasyExcel: A Complete Guide

This guide walks through integrating EasyExcel with Spring Boot, covering Maven setup, entity definition, utility class creation, basic and advanced export scenarios such as complex headers, cell merging, custom formatting, and large‑scale paging, plus common pitfalls like dependency conflicts and annotation misuse.

BackendData ExportEasyExcel
0 likes · 11 min read
Master SpringBoot Excel Export with EasyExcel: A Complete Guide
Tech Ocean
Tech Ocean
Jun 9, 2026 · Artificial Intelligence

Spring AI Day 11: Advanced Modular RAG – Query Rewriting, Compression, and Empty‑Context Fallback

The article examines the limitations of a naïve QuestionAnswerAdvisor RAG implementation, introduces Spring AI's RetrievalAugmentationAdvisor for modular RAG, and demonstrates how query rewriting, multi‑turn compression, and an empty‑context augmenter improve recall and prevent model refusals.

CompressionContextual AugmentationJava
0 likes · 6 min read
Spring AI Day 11: Advanced Modular RAG – Query Rewriting, Compression, and Empty‑Context Fallback
Java Architect Handbook
Java Architect Handbook
Jun 9, 2026 · Backend Development

What’s the Dubbo Service Call Process? A 10‑Step Deep Dive

The article breaks down a complete Dubbo RPC invocation into ten precise steps—five on the consumer side and five on the provider side—explaining each core component such as Proxy, Filter, Cluster, LoadBalance, Protocol, and Transport, and addresses common interview follow‑up questions about clustering, load balancing, and sync vs async calls.

DubboJavaMicroservices
0 likes · 13 min read
What’s the Dubbo Service Call Process? A 10‑Step Deep Dive
Java Backend Technology
Java Backend Technology
Jun 9, 2026 · Fundamentals

Turn a Laggy IntelliJ IDEA into a Fast IDE with Simple Tweaks

This article lists ten common IntelliJ IDEA pitfalls—from high CPU usage and Lombok errors to Maven download slowness and Git commit issues—and provides step‑by‑step configurations, memory tweaks, plugin settings, and .gitignore rules to make the IDE run smoothly for Java developers.

GitIDEIntelliJ IDEA
0 likes · 24 min read
Turn a Laggy IntelliJ IDEA into a Fast IDE with Simple Tweaks
Su San Talks Tech
Su San Talks Tech
Jun 9, 2026 · Artificial Intelligence

Zero‑Cost Unlimited‑Token Access to Qwen 3.6: A Step‑by‑Step Guide

This article explains how developers can bypass token‑cost barriers by using iFlytek’s MaaS platform to obtain free, unlimited‑token access to the Qwen 3.6‑35B‑A3B model, details the model’s MoE architecture and benchmark performance, and provides a complete Java integration tutorial with code samples and practical use‑case suggestions.

AIAPIJava
0 likes · 16 min read
Zero‑Cost Unlimited‑Token Access to Qwen 3.6: A Step‑by‑Step Guide
The Dominant Programmer
The Dominant Programmer
Jun 9, 2026 · Backend Development

Collect URLs and Async Convert to PDF for ZIP Download (Spring Boot + Feign)

An online education platform needs to batch‑download course materials from self‑hosted courses, partner APIs, and archived PDFs; the article details a Spring Boot service that aggregates URLs, signs them, distinguishes direct downloads, submits an asynchronous PDF conversion and ZIP packaging task via Feign, and returns a task ID for front‑end polling.

@AsyncFeignJava
0 likes · 15 min read
Collect URLs and Async Convert to PDF for ZIP Download (Spring Boot + Feign)
Java Architect Essentials
Java Architect Essentials
Jun 8, 2026 · Backend Development

How to Configure a ThreadPool to Send 10 Million SMS in One Hour (Java)

The article walks through calculating the required QPS for 10 million SMS in an hour, derives a precise ThreadPoolExecutor configuration (core 200, max 500, queue 5000, 60 s keep‑alive, CallerRunsPolicy), and provides complete Spring Boot code with production tips such as pagination, retry, idempotency and rate‑limiting.

JavaPerformanceSpring Boot
0 likes · 7 min read
How to Configure a ThreadPool to Send 10 Million SMS in One Hour (Java)
Top Architect
Top Architect
Jun 8, 2026 · Backend Development

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

The article evaluates 13 Java web frameworks across six objective dimensions—performance, ecosystem maturity, learning curve, development efficiency, enterprise adoption, and innovation—ranking them into five tiers and providing concrete data such as usage statistics, startup times, and memory footprints.

DropwizardHelidonJava
0 likes · 10 min read
From Hottest to Obsolete: A Critical Review of 13 Java Web Frameworks
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 8, 2026 · Artificial Intelligence

Spring AI 2.0 vs LangChain4j: Which Should You Choose?

This article compares Spring AI 2.0 and LangChain4j for integrating large language models into Java enterprise applications, examining their positioning, version alignment, programming models, RAG capabilities, tooling, observability, learning curves, and suitability for different team stacks to help you make an informed selection.

AI frameworksJavaLLM Integration
0 likes · 12 min read
Spring AI 2.0 vs LangChain4j: Which Should You Choose?
Java Architect Handbook
Java Architect Handbook
Jun 8, 2026 · Fundamentals

What’s the Relationship Between the JVM Runtime Constant Pool and the String Constant Pool?

This article explains the three Java constant pools—class file, runtime, and string—detailing their evolution from compilation to execution, their memory locations across JDK versions, how string literals are interned, code examples illustrating their behavior, common misconceptions, and typical interview follow‑up questions.

Constant PoolJVMJava
0 likes · 15 min read
What’s the Relationship Between the JVM Runtime Constant Pool and the String Constant Pool?
CodeNotes
CodeNotes
Jun 8, 2026 · Backend Development

Why Overriding equals Requires Overriding hashCode: An Interview‑Ready Guide

The article explains the contract between equals and hashCode in Java, shows what goes wrong when only one is overridden, demonstrates the correct implementation with Objects.equals and Objects.hash, covers IDE/Lombok generation, JPA entity nuances, inheritance pitfalls, records, and common anti‑patterns.

HashMapJPAJava
0 likes · 9 min read
Why Overriding equals Requires Overriding hashCode: An Interview‑Ready Guide
Architect's Guide
Architect's Guide
Jun 8, 2026 · Backend Development

Three Practical Data Masking Solutions That Really Work

This article walks through three common data‑masking approaches—SQL queries using string functions, a Java‑based "sensitive‑plus" plugin, and the mybatis‑mate‑sensitive‑jackson extension—showing configuration, code examples, and how each method masks phone numbers, ID cards and other personal fields.

JavaMyBatisSQL
0 likes · 10 min read
Three Practical Data Masking Solutions That Really Work
dbaplus Community
dbaplus Community
Jun 7, 2026 · Backend Development

Midnight Crash: The ‘Impossible’ MyBatis‑Plus Pitfalls That Can Break Production

The article catalogs six production‑ready pitfalls of MyBatis‑Plus—duplicate Snowflake IDs, batch‑insert disorder, enum storage errors, camel‑case mismatches, auto‑fill failures, and JSON field loss—explains their root causes with concrete examples and code, and provides practical solutions to keep the framework reliable in high‑concurrency environments.

Auto-fillBatch InsertEnum Mapping
0 likes · 16 min read
Midnight Crash: The ‘Impossible’ MyBatis‑Plus Pitfalls That Can Break Production
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
java1234
java1234
Jun 7, 2026 · Fundamentals

Master Java 16’s Record Feature in 10 Minutes

This tutorial explains Java 16’s record feature—a concise way to define immutable data carriers—by comparing it with traditional classes, showing the boilerplate it eliminates, detailing the automatically generated methods, providing hands‑on code examples, and outlining important usage considerations.

Boilerplate ReductionImmutable DataJava
0 likes · 7 min read
Master Java 16’s Record Feature in 10 Minutes
CodeNotes
CodeNotes
Jun 7, 2026 · Fundamentals

Mastering Java Strings: When to Use equals vs == and Common Pitfalls

Java's String class is immutable and stored in a constant pool; the article explains the difference between == and equals, demonstrates common methods for inspection, transformation, splitting, and conversion, and shows best practices for concatenation with StringBuilder, thread‑safe StringBuffer, and newer utilities like join, repeat, format, and text blocks.

Equals vs ==JavaJava 8
0 likes · 10 min read
Mastering Java Strings: When to Use equals vs == and Common Pitfalls
The Dominant Programmer
The Dominant Programmer
Jun 6, 2026 · Backend Development

Business Trace Logging Design Pattern: From Theory to Practice

The article explains a structured business‑trace logging pattern that records each critical step of a workflow as a node, stores logs in a dedicated MySQL database, aggregates them by a business number, and presents them in a sortable, color‑coded front‑end for both developers and business users.

Asynchronous MessagingJavaMySQL
0 likes · 15 min read
Business Trace Logging Design Pattern: From Theory to Practice
The Dominant Programmer
The Dominant Programmer
Jun 6, 2026 · Backend Development

Mockito Unit Testing: A Complete Guide to Testing Java Service Layers

This article explains unit testing fundamentals, compares unit and integration tests, introduces Mockito's core annotations and APIs, walks through a full order‑resend example with detailed test cases, and covers best‑practice methodologies, advanced techniques, common pitfalls, naming conventions, and how to run the tests.

Given-When-ThenJUnit5Java
0 likes · 21 min read
Mockito Unit Testing: A Complete Guide to Testing Java Service Layers
Coder Trainee
Coder Trainee
Jun 6, 2026 · Artificial Intelligence

What Is an AI Agent? From Large Language Models to Autonomous Agents

This article explains why large language models are powerful yet limited, defines AI agents as autonomous systems that combine a model, memory, tools, and actions, details the ReAct reasoning‑and‑acting loop, provides a 30‑line Python LangChain example and a Java Spring AI implementation, and outlines five practical use‑case scenarios and the roadmap for the series.

AI AgentJavaLangChain
0 likes · 10 min read
What Is an AI Agent? From Large Language Models to Autonomous Agents
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Day 7 of Spring AI Series: How Advisors Form a Filter Chain for AI Applications

This article explains Spring AI Advisors as interceptors that can modify requests and responses in the LLM call chain, demonstrates building a custom logging Advisor with code examples, shows how ordering controls execution, and reviews the built‑in Advisors for memory, RAG, logging, and safety.

AdvisorChatClientJava
0 likes · 5 min read
Day 7 of Spring AI Series: How Advisors Form a Filter Chain for AI Applications
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Spring AI Day 5: Enabling a Multimodal ChatClient to Process Text and Images

This article explains how Spring AI’s Media API lets a ChatClient handle both textual prompts and image inputs, shows code examples for attaching images, discusses required visual models, and outlines practical use cases such as OCR, chart analysis, and image moderation.

AI modelsChatClientJava
0 likes · 5 min read
Spring AI Day 5: Enabling a Multimodal ChatClient to Process Text and Images
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Spring AI Day 4: Get LLMs to Return Java Objects Directly, No Manual Parsing

The article explains how Spring AI’s .entity() method lets developers obtain structured Java objects such as POJOs, lists, enums, and response entities directly from LLM outputs, eliminating the need for manual JSON parsing and handling generic‑type issues with ParameterizedTypeReference.

EntityJavaLLM
0 likes · 5 min read
Spring AI Day 4: Get LLMs to Return Java Objects Directly, No Manual Parsing
Java Architect Handbook
Java Architect Handbook
Jun 6, 2026 · Backend Development

Spring Cloud LoadBalancer vs Ribbon: Key Differences and Why Ribbon Was Replaced

The article explains the functional and architectural differences between Spring Cloud LoadBalancer and Netflix Ribbon, why Ribbon entered maintenance mode and was replaced, outlines migration steps, compares configuration, caching, reactive support, and provides code examples and common interview questions for Java developers.

JavaLoadBalancerMicroservices
0 likes · 12 min read
Spring Cloud LoadBalancer vs Ribbon: Key Differences and Why Ribbon Was Replaced
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Spring AI Day 3: Eliminating Hard‑Coded Prompts with Templates and Role Settings

The article explains how to move beyond static prompts in Spring AI by using System and User message roles, PromptTemplate placeholders with .param(), defaultSystem configuration for reusable role definitions, and independent PromptTemplate usage, providing concrete code examples for each technique.

ChatClientJavaPromptTemplate
0 likes · 5 min read
Spring AI Day 3: Eliminating Hard‑Coded Prompts with Templates and Role Settings
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Mastering Spring AI ChatClient: call vs. stream for typewriter‑like streaming

This article explains how Spring AI's ChatClient serves as a high‑level façade over ChatModel, compares the synchronous call() method with the streaming stream() method, demonstrates retrieving plain text, full responses, or structured entities, and shows how to override model parameters such as temperature on a per‑request basis.

AI IntegrationChatClientChatModel
0 likes · 7 min read
Mastering Spring AI ChatClient: call vs. stream for typewriter‑like streaming
Java Architect Essentials
Java Architect Essentials
Jun 5, 2026 · Backend Development

Zero‑Downtime SpringBoot Updates: Swapping JARs Without Stopping the Service

The article explains how to achieve zero‑downtime code updates for SpringBoot applications by detecting port usage, launching a new instance on an alternate port, swapping the servlet container back to the original port, and terminating the old process, with a complete code example and a live demo showing sub‑second interruption.

Embedded ServerHot ReloadJava
0 likes · 9 min read
Zero‑Downtime SpringBoot Updates: Swapping JARs Without Stopping the Service
Cloud Architecture
Cloud Architecture
Jun 5, 2026 · Backend Development

RocketMQ 4.x Deep Dive: Send Mechanics, Thread Model & High‑Concurrency

This article explains why a RocketMQ producer is more than a simple send API, detailing its role in system throughput, consistency and fault isolation, and walks through sending principles, thread models, high‑concurrency design, retry strategies, back‑pressure mechanisms, outbox integration and production‑grade monitoring.

JavaOutboxRocketMQ
0 likes · 54 min read
RocketMQ 4.x Deep Dive: Send Mechanics, Thread Model & High‑Concurrency
Tech Ocean
Tech Ocean
Jun 5, 2026 · Artificial Intelligence

Run Your First Spring AI 2.0 Conversation in 5 Minutes

This article introduces Spring AI 2.0, explains why Java developers should adopt it, and walks through setting up a Spring Boot 3.x project with JDK 17, adding the DeepSeek starter, configuring properties, writing a simple ChatController, and running a curl request to see the model’s reply.

AI IntegrationChatClientDeepSeek
0 likes · 9 min read
Run Your First Spring AI 2.0 Conversation in 5 Minutes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 5, 2026 · Backend Development

5 Advanced Java Concurrency Tricks That Can Triple Your Throughput

This article walks through five proven Java 21 concurrency tuning techniques—including non‑blocking CompletableFuture pipelines, StampedLock for read‑heavy workloads, bounded queues with CallerRunsPolicy, atomic computeIfAbsent usage in ConcurrentHashMap, and correct virtual‑thread patterns—showing how each can dramatically improve throughput and stability in high‑load systems.

CompletableFutureConcurrentHashMapJava
0 likes · 9 min read
5 Advanced Java Concurrency Tricks That Can Triple Your Throughput
Su San Talks Tech
Su San Talks Tech
Jun 5, 2026 · Backend Development

A Comprehensive Guide to Java Tech Stack Skills for AI Agents

This guide curates essential AI Agent Skills for the Java ecosystem, covering backend tools like Spring Boot, MyBatis‑Plus, and Redis, frontend frameworks such as Vue and React, installation commands, custom Skill examples, and recommended full‑stack workflows to boost project productivity.

AI Agent SkillsBackend DevelopmentJava
0 likes · 12 min read
A Comprehensive Guide to Java Tech Stack Skills for AI Agents
samdeepthink
samdeepthink
Jun 4, 2026 · Backend Development

Design and Implementation of an Extension‑Point Mechanism for SaaS Multi‑Tenant Business Differentiation

The article explains how an Extension‑Point mechanism can cleanly isolate tenant‑specific logic in SaaS systems by defining variation interfaces, providing per‑tenant implementations annotated with @Extension, and routing calls at runtime using hierarchical bizCode matching, avoiding tangled if‑else or inheritance explosion.

Dependency InjectionDesign PatternExtension Point
0 likes · 11 min read
Design and Implementation of an Extension‑Point Mechanism for SaaS Multi‑Tenant Business Differentiation
Alibaba Cloud Native
Alibaba Cloud Native
Jun 4, 2026 · Artificial Intelligence

AgentScope Java 2.0: A Distributed, Enterprise‑Grade Foundation for Intelligent Agents

AgentScope Java 2.0 introduces distributed session handling, multi‑tenant isolation, an abstract filesystem, robust model fallback, structured context management, event streaming, a permission system, and middleware hooks, providing a cloud‑native, enterprise‑ready platform for building stable, long‑running AI agents.

AI AgentsAgentScopeContext Management
0 likes · 17 min read
AgentScope Java 2.0: A Distributed, Enterprise‑Grade Foundation for Intelligent Agents
Java Architect Handbook
Java Architect Handbook
Jun 4, 2026 · Backend Development

Zero‑Downtime Code Updates in Spring Boot by Sharing a Single Port

The article explains how to update a Spring Boot application without stopping the service by letting two processes share the same port, detailing the underlying Tomcat and ServletContainerInitializer mechanisms, the step‑by‑step implementation, and a demo that shows sub‑second downtime during hot swaps.

BackendHot ReloadJava
0 likes · 10 min read
Zero‑Downtime Code Updates in Spring Boot by Sharing a Single Port
Java Backend Technology
Java Backend Technology
Jun 4, 2026 · Backend Development

Boost CRUD Development Efficiency with MyBatisPlus Pro

MyBatisPlus Pro extends MyBatisPlus by providing a BaseController that auto‑generates CRUD, pagination, and conditional queries, dramatically cutting repetitive code; the article walks through its architecture, quick‑start steps, deep technical mechanisms, pros and cons, and practical usage guidelines.

CRUDCode GenerationJava
0 likes · 21 min read
Boost CRUD Development Efficiency with MyBatisPlus Pro
Java Tech Workshop
Java Tech Workshop
Jun 4, 2026 · Backend Development

Understanding SpringBoot Two‑Level Caching: MyBatis vs Application‑Level Cache

The article explains how layered caching in Java back‑ends—combining MyBatis first‑ and second‑level caches with a service‑layer Caffeine + Redis cache—affects cache granularity, consistency, distribution, and performance, and provides concrete configuration examples, code snippets, and best‑practice guidelines.

BackendCaffeineJava
0 likes · 16 min read
Understanding SpringBoot Two‑Level Caching: MyBatis vs Application‑Level Cache
The Dominant Programmer
The Dominant Programmer
Jun 3, 2026 · Backend Development

Building a Minimal Spring AI Tool Chain for Multi-Tool Calls

This tutorial demonstrates how to integrate Spring AI with Ollama, define @Tool‑annotated weather and translation utilities, register them for automatic chaining, and let a large language model answer queries like “fetch Beijing weather and reply in English” using a concise end‑to‑end example.

JavaOllamaSpring AI
0 likes · 8 min read
Building a Minimal Spring AI Tool Chain for Multi-Tool Calls
Three Knives
Three Knives
Jun 3, 2026 · Backend Development

Why Feat Is Experimenting with a Zero‑Reflection ORM for the AOT Era

The article explores Feat's attempt to build a reflection‑free ORM that preserves MyBatis‑like developer experience by moving all mapping work to compile time, discusses the challenges posed by Java's AOT shift, and argues why such an experiment is both risky and worthwhile.

AOTGraalVMJava
0 likes · 6 min read
Why Feat Is Experimenting with a Zero‑Reflection ORM for the AOT Era
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 3, 2026 · Backend Development

15 Golden Rules for High‑Performance, Maintainable Java Code

This article presents fifteen concrete Java performance‑optimization rules—from readable code and proper data structures to efficient string handling, database access, caching, multithreading, reflection, JVM tuning, and memory management—each illustrated with before/after code examples and practical advice.

JVMJavaOptimization
0 likes · 14 min read
15 Golden Rules for High‑Performance, Maintainable Java Code
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.

CASJavaOAuth2
0 likes · 13 min read
Can We Achieve Seamless Account Interoperability Across Multiple Company Systems?
Coder Trainee
Coder Trainee
Jun 3, 2026 · Cloud Native

Unified Messaging with Spring Cloud Stream: One Codebase for Multiple MQs

This article demonstrates how Spring Cloud Stream provides a unified programming model that decouples business logic from the underlying message broker, allowing a single codebase to work with RocketMQ, Kafka, or RabbitMQ by only changing configuration, and walks through project structure, implementation, conditional routing, MQ switching, testing, and common pitfalls.

JavaKafkaMessage-driven
0 likes · 19 min read
Unified Messaging with Spring Cloud Stream: One Codebase for Multiple MQs
Cloud Architecture
Cloud Architecture
Jun 2, 2026 · Backend Development

Deep Dive into OpenFeign and Spring Cloud LoadBalancer: From Declarative Calls to Traffic Governance Core

This article provides a comprehensive source‑code analysis of OpenFeign and Spring Cloud LoadBalancer, explaining how declarative client calls are turned into HTTP requests, why misconfigurations cause production incidents, and offering practical guidance on registration, request‑template building, instance selection, connection‑pool tuning, retries, gray releases, observability and when to evolve beyond Feign.

JavaMicroservicesOpenFeign
0 likes · 33 min read
Deep Dive into OpenFeign and Spring Cloud LoadBalancer: From Declarative Calls to Traffic Governance Core
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 2, 2026 · Backend Development

Simplify Resource Cleanup in JUnit with the New @AutoClose Annotation

The article introduces JUnit's @AutoClose annotation (added in version 5.11), compares the traditional @BeforeEach/@AfterEach cleanup pattern with the annotation's automatic resource closing, and demonstrates its use across file I/O, database connections, HTTP clients, streams, and custom AutoCloseable classes, including warning behavior for null fields.

@AutoCloseJUnitJUnit5
0 likes · 8 min read
Simplify Resource Cleanup in JUnit with the New @AutoClose Annotation
CodeNotes
CodeNotes
Jun 2, 2026 · Backend Development

Standardizing Spring Boot API Responses to Eliminate Inconsistent Interfaces

The article explains why unifying API return formats in Spring Boot prevents front‑end confusion, introduces a simple Result wrapper with code/message/data, shows manual and automatic (ResponseBodyAdvice) usage, and offers practical tips for clean, predictable backend contracts.

API responseJavaResponseBodyAdvice
0 likes · 5 min read
Standardizing Spring Boot API Responses to Eliminate Inconsistent Interfaces
Su San Talks Tech
Su San Talks Tech
Jun 2, 2026 · Backend Development

MybatisPlus Pro: Supercharging CRUD Development Efficiency

This article analyzes MybatisPlus Pro, explaining how it eliminates repetitive CRUD code in MyBatis‑Plus projects by providing a BaseController and utility classes that auto‑generate service and controller layers, while also detailing its internal mechanisms, advantages, drawbacks, suitable scenarios, and common pitfalls.

CRUDCode GenerationJava
0 likes · 22 min read
MybatisPlus Pro: Supercharging CRUD Development Efficiency
Java Tech Workshop
Java Tech Workshop
Jun 2, 2026 · Backend Development

Implementing Distributed Locks in Spring Boot with Redis

This article explains why local locks like synchronized and ReentrantLock fail in microservice clusters, introduces the fundamentals and essential properties of distributed locks, walks through five iterative Redis lock implementations that address dead‑lock, atomicity, and timeout issues, and finally shows how to adopt the production‑grade Redisson library with best‑practice guidelines for key naming, lock scope, and lock type selection.

JavaMicroservicesRedisson
0 likes · 17 min read
Implementing Distributed Locks in Spring Boot with Redis
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 2, 2026 · Artificial Intelligence

Building a Dual‑Engine AI Assistant for DingTalk with Qoder CLI and Claude Code

The article details a complete engineering solution that lets a DingTalk group chat invoke an AI assistant—switchable between Qoder CLI and Claude Code—to query logs, run experiments, analyse performance and even deploy code, while handling intranet constraints, latency, security isolation, and Docker deployment.

AI assistantClaude CodeDingTalk
0 likes · 15 min read
Building a Dual‑Engine AI Assistant for DingTalk with Qoder CLI and Claude Code
Coder Trainee
Coder Trainee
Jun 2, 2026 · Backend Development

How to Use RocketMQ with Spring Cloud Stream: A Beginner’s Guide

This tutorial explains why microservices need a message queue, outlines RocketMQ’s core concepts, shows how to set up RocketMQ with Docker Compose, integrates it into Spring Boot projects with detailed producer and consumer code, provides testing steps, and lists common pitfalls and solutions.

Docker ComposeJavaMicroservices
0 likes · 15 min read
How to Use RocketMQ with Spring Cloud Stream: A Beginner’s Guide
Subtle Storm
Subtle Storm
Jun 1, 2026 · Fundamentals

Why Hexagonal Architecture Boosts Testability, Maintainability, and Flexibility

Hexagonal (Ports‑and‑Adapters) architecture, introduced by Alistair Cockburn in 2005, separates core business logic from external concerns through defined ports and interchangeable adapters, enhancing testability, maintainability, and technology‑agnostic flexibility, and is especially suited for complex domains requiring multiple interfaces such as REST and message queues.

Javahexagonal-architecturemaintainability
0 likes · 5 min read
Why Hexagonal Architecture Boosts Testability, Maintainability, and Flexibility
CodeSmart Hoops
CodeSmart Hoops
Jun 1, 2026 · Interview Experience

Spring AOP Deep Dive: Interview Quiz & Answers – What's New in Spring Boot 3.x Default Proxy?

This article presents a 17‑question interview self‑test on Spring AOP, providing detailed answers that cover JDK dynamic proxy vs CGLIB, the internal flow of Proxy.newProxyInstance, InvocationHandler dispatch, MethodProxy differences, the interceptor chain, @Around requirements, AopContext ThreadLocal, self‑invocation pitfalls, final/static/private method limitations, @Order priority, Spring AOP vs AspectJ capabilities, performance of @Around vs @Before, multi‑factor aspect ordering, notification order changes between Spring 5 and 6, default proxy strategy differences in Spring Boot 2.x and 3.x, and migration considerations.

CGLIBJavaProxy
0 likes · 35 min read
Spring AOP Deep Dive: Interview Quiz & Answers – What's New in Spring Boot 3.x Default Proxy?
Programmer1970
Programmer1970
Jun 1, 2026 · Fundamentals

Why ZGC Pauses Stay Under 1 ms: Inside Colored Pointers and Load Barriers

The article explains how ZGC achieves sub‑millisecond pause times by embedding GC state in pointer bits (colored pointers) and using JIT‑injected load barriers that fix references on first access, comparing this approach with G1 and Shenandoah and detailing ZGC 2.0 enhancements and known pitfalls.

Colored PointersConcurrent GCJava
0 likes · 11 min read
Why ZGC Pauses Stay Under 1 ms: Inside Colored Pointers and Load Barriers
Top Architect
Top Architect
Jun 1, 2026 · Backend Development

How to Stream Local Video with Spring Boot, FFmpeg, and ZLMediaKit

This guide walks you through installing ZLMediaKit and FFmpeg in Docker, configuring Spring Boot with the required dependencies and properties, implementing a streaming service that launches FFmpeg commands, and using a simple HTML page with flv.js to play the live or on‑demand video stream.

DockerFFmpegJava
0 likes · 17 min read
How to Stream Local Video with Spring Boot, FFmpeg, and ZLMediaKit
IT Services Circle
IT Services Circle
Jun 1, 2026 · Fundamentals

Why Does ThreadPoolExecutor Queue Tasks When Max Threads Are Still Idle?

The article explains why Java's ThreadPoolExecutor places tasks into its work queue before creating non‑core threads, describes the underlying JDK execution steps, shows how Tomcat customizes the queue to prioritize thread creation, and warns about misconfiguring unbounded queues that can cripple performance.

JavaLinkedBlockingQueueTaskQueue
0 likes · 8 min read
Why Does ThreadPoolExecutor Queue Tasks When Max Threads Are Still Idle?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 1, 2026 · Backend Development

20 Essential Exception‑Handling Rules to Prevent Crashes in Java

This article presents twenty practical rules for handling exceptions in Java, covering why catching RuntimeException is discouraged, how to avoid using exceptions for control flow, proper use of finally blocks, logging best practices, custom exception design, and early input validation to keep applications stable and maintainable.

JavaSpring Bootbest practices
0 likes · 19 min read
20 Essential Exception‑Handling Rules to Prevent Crashes in Java
samdeepthink
samdeepthink
Jun 1, 2026 · Backend Development

Why One ThreadLocal Instance Suffices for an Entire Business Scenario

The article explains that a single ThreadLocal object can be shared across dozens of threads because the actual data lives in each thread's own ThreadLocalMap, outlines how set/get work, highlights thread‑pool pitfalls such as stale data and memory leaks, and provides best‑practice guidelines for static declaration, proper removal, and using TransmittableThreadLocal for cross‑thread propagation.

JavaMemory LeakStatic Final
0 likes · 10 min read
Why One ThreadLocal Instance Suffices for an Entire Business Scenario
Su San Talks Tech
Su San Talks Tech
Jun 1, 2026 · Backend Development

Can Java 21’s Virtual Threads Make Thread Pools Obsolete?

The article examines whether Java 21’s cheap virtual threads can replace traditional thread pools, explaining the original purpose of pools, their role as natural throttlers, scenarios where virtual threads excel or fail, and practical guidelines to avoid pitfalls like pinning.

JavaJava 21Thread Pool
0 likes · 7 min read
Can Java 21’s Virtual Threads Make Thread Pools Obsolete?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 1, 2026 · Backend Development

Real‑Time Communication with Spring Boot + WebSocket: Multi‑Client Sessions, Private Chat, and Broadcast

This article demonstrates how to use Spring Boot 3.5.0 with WebSocket + STOMP to build real‑time messaging, covering environment setup, WebSocket configuration, a user‑binding interceptor, and concrete code for private‑user messages, point‑to‑point chats, and global broadcasts, complete with sample results.

BroadcastJavaSTOMP
0 likes · 7 min read
Real‑Time Communication with Spring Boot + WebSocket: Multi‑Client Sessions, Private Chat, and Broadcast
Programmer1970
Programmer1970
May 31, 2026 · Fundamentals

Why synchronized is slower – tracing its roots from MESI cache coherence

The article demystifies why Java's synchronized keyword can be slower by tracing the full path from CPU cache‑coherence (MESI) through bus and cache locks, volatile, biased and lightweight locks, up to the heavyweight monitor implementation, revealing each layer’s impact on visibility, ordering and atomicity.

JVMJavacache-coherence
0 likes · 15 min read
Why synchronized is slower – tracing its roots from MESI cache coherence
IT Services Circle
IT Services Circle
May 31, 2026 · Backend Development

Why Hand‑Crafted HTTP Calls to LLMs Are a Pitfall and How Spring AI Solves It

The article analyzes the hidden dangers of writing raw HTTP calls for large language models in Java projects—hard‑coded keys, fragile request bodies, missing retries, no observability—and demonstrates how Spring AI’s unified abstractions, built‑in resilience, streaming, function calling, and seamless Spring integration eliminate these issues while enabling effortless model switching and production‑grade AI services.

AI IntegrationFunction CallingJava
0 likes · 20 min read
Why Hand‑Crafted HTTP Calls to LLMs Are a Pitfall and How Spring AI Solves It
CodeSmart Hoops
CodeSmart Hoops
May 31, 2026 · Backend Development

Hands‑On Unit Testing of Spring’s Full Event‑Driven Architecture

This guide walks through comprehensive unit tests for Spring Boot 3.x / Spring Framework 6.x event‑driven features—covering @EventListener, ApplicationListener, @Order, @Async, TransactionalEventListener, exception propagation, multiple event publishing, POJO events, and a comparison of three asynchronous handling approaches—using JDK 17+, JUnit 5, and Spring Boot Test.

@Async@TransactionalJava
0 likes · 25 min read
Hands‑On Unit Testing of Spring’s Full Event‑Driven Architecture
Cloud Architecture
Cloud Architecture
May 30, 2026 · Operations

How to Build Production‑Grade Observability Metrics and Alerting for Batch Jobs

The article explains why batch processing tasks often slip out of control, defines a four‑layer observability model covering status, progress, quality and performance, proposes a unified task state machine and event flow, and provides concrete metric, logging, tracing and alerting designs—including Go and Java SDK examples—for reliable production‑level batch job monitoring.

AlertingBatch ProcessingGo
0 likes · 34 min read
How to Build Production‑Grade Observability Metrics and Alerting for Batch Jobs
Su San Talks Tech
Su San Talks Tech
May 30, 2026 · Databases

Why PostgreSQL Beats MySQL for AI‑Driven Applications

The article explains why many developers stuck with MySQL should consider PostgreSQL, highlighting its superior SQL standards support, MVCC concurrency, rich indexing, JSONB performance, full‑text search, extensive extensions, and practical installation and Java integration steps, while also comparing pros, cons, and ideal use cases.

JSONBJavaMVCC
0 likes · 24 min read
Why PostgreSQL Beats MySQL for AI‑Driven Applications
Black & White Path
Black & White Path
May 30, 2026 · Information Security

DigDeep: A Sensitive Information Mining Tool for Penetration Testing

DigDeep is a Java‑based tool that efficiently extracts nearly one hundred types of high‑, medium‑, and low‑risk sensitive data from source files across cloud, mini‑program, app, and web environments, offering recursive scanning, risk‑level filtering, deduplication, and multi‑format export to aid security audits.

DigDeepJavaPenetration Testing
0 likes · 4 min read
DigDeep: A Sensitive Information Mining Tool for Penetration Testing
Coder Trainee
Coder Trainee
May 30, 2026 · Information Security

Implementing Fine-Grained Permission Control with Spring Security and OAuth2 (Part 4)

This article walks through building a Spring Security resource server with OAuth2, enabling method‑level, object‑level and URL‑level permission checks using annotations like @PreAuthorize, @PostAuthorize, @PostFilter, and demonstrates configuration, utility helpers, controller examples, testing steps, best practices, and common pitfalls.

JWTJavaOAuth2
0 likes · 17 min read
Implementing Fine-Grained Permission Control with Spring Security and OAuth2 (Part 4)
AI Agent Super App
AI Agent Super App
May 29, 2026 · Databases

Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End

SQLite, the server‑less, single‑file database engine, is the most widely deployed database on the planet, powering Android, iOS, browsers and countless desktop apps; this article walks through its core features, Linux installation, command‑line CRUD, language bindings for Python, C, Java and Go, plus practical backup and performance tricks.

C++CLIGo
0 likes · 21 min read
Why SQLite Is the World's Most Deployed Database—and How to Use It End‑to‑End
IoT Full-Stack Technology
IoT Full-Stack Technology
May 29, 2026 · Backend Development

How We Cut a 30‑Second API Call to Under 1 Second on 2 Million Records

In a high‑concurrency transaction system, the author diagnosed a 30‑second API latency caused by costly SQL scans and Java Map creation on over two million rows, then applied SQL aggregation, moved counting logic into PostgreSQL, and introduced a Caffeine cache, ultimately reducing the response time to under 0.8 seconds while highlighting relational‑database limits for massive data.

Caffeine CacheJavaMyBatis
0 likes · 10 min read
How We Cut a 30‑Second API Call to Under 1 Second on 2 Million Records