Skip to content
Tagged articles

Java

500 articles · Page 4 of 5
Architect's Guide
Architect's Guide
Aug 16, 2026 · Backend Development

How Architects Can Achieve Unified Login Across Company Products

The article explains why traditional session mechanisms break in clustered and multi‑service environments, compares session replication and centralized storage, introduces CAS‑based single sign‑on with ticket flow, contrasts it with OAuth2, and provides a complete Spring‑Boot demo with Redis‑backed session handling.

CASJavaOAuth2
0 likes · 15 min read
How Architects Can Achieve Unified Login Across Company Products
Linyb Geek Road
Linyb Geek Road
Aug 16, 2026 · Artificial Intelligence

Complete Spring AI Stack: Mapping the 2026 Java AI Ecosystem

The article presents a layered roadmap of the 2026 Java AI ecosystem, compares major AI frameworks, LLMs, embedding models, vector databases, and agent toolchains, and offers three concrete stack configurations with cost estimates and practical configuration snippets for architects and technical leaders.

AI StackAgentEmbedding
0 likes · 13 min read
Complete Spring AI Stack: Mapping the 2026 Java AI Ecosystem
Three Knives
Three Knives
Aug 15, 2026 · Backend Development

Why Feat Insists on Human-Written Code While Others Embrace AI?

Feat argues that AI can generate correct code but never code with soul, so it deliberately excludes AI from its core Java web framework to preserve design intent, aesthetic judgment, and long‑term maintainability, warning that over‑reliance on AI erodes developers' critical judgment.

AI code generationBackend DevelopmentFramework Design
0 likes · 9 min read
Why Feat Insists on Human-Written Code While Others Embrace AI?
Yumin Fish Harvest
Yumin Fish Harvest
Aug 15, 2026 · Backend Development

Choosing a Decentralized Distributed ID: UUIDv4 vs UUIDv7 vs ULID vs Nano ID

This article examines how traceId, eventId, and shareId differ in requirements and walks through a detailed comparison of UUIDv4, UUIDv7, ULID, and Nano ID—covering generation principles, ordering characteristics, storage impact, Java code examples, and practical guidance for selecting the right scheme.

Javadistributed-idnano-id
0 likes · 24 min read
Choosing a Decentralized Distributed ID: UUIDv4 vs UUIDv7 vs ULID vs Nano ID
Java Architect Handbook
Java Architect Handbook
Aug 14, 2026 · Backend Development

System Circuit Breaker Explained: Concepts, State Machine, Frameworks & Interview Tips

The article defines circuit breaker as a self‑protective mechanism that prevents cascade failures in distributed systems, explains the avalanche effect, details the three‑state state machine, compares Hystrix, Sentinel and Resilience4j, provides a Sentinel code example, and lists common interview questions and answers.

HystrixJavaResilience4j
0 likes · 14 min read
System Circuit Breaker Explained: Concepts, State Machine, Frameworks & Interview Tips
CodeOnCode
CodeOnCode
Aug 14, 2026 · Operations

Humongous Objects in G1 GC: Why They Fear Contiguous Space and Hurt Performance

Humongous objects in Java's G1 collector are large allocations that require a contiguous set of heap regions, bypass the young generation, inflate old‑generation usage, trigger frequent Young, Mixed or Full GCs, and can dominate CPU and pause time unless the code is refactored or the region size is tuned.

G1GCHumongous
0 likes · 16 min read
Humongous Objects in G1 GC: Why They Fear Contiguous Space and Hurt Performance
Java Architecture Diary
Java Architecture Diary
Aug 14, 2026 · Artificial Intelligence

Use JVM Native Vector API to Remove an External Vector Store in RAG

This guide shows how to replace external vector databases like Milvus or Qdrant with the JVM’s incubating Vector API and the integrallis/vectors library, providing built‑in distance kernels, indexing (FLAT, HNSW, IVF), and persistence, and demonstrates integration with Spring AI and LangChain4j through concise code examples and required JVM flags.

JVM Vector APIJavaLangChain4j
0 likes · 7 min read
Use JVM Native Vector API to Remove an External Vector Store in RAG
Dabaoshi
Dabaoshi
Aug 13, 2026 · Fundamentals

Why Concurrency Is Hard: The Surprising Result of Two Threads Incrementing an int

The article explains why Java concurrency is difficult by showing that two threads each incrementing an int ten thousand times may not produce twenty thousand, then explores the motivations for multithreading, the differences between concurrency and parallelism, and the three core challenges of visibility, atomicity, and ordering.

ConcurrencyJavaMultithreading
0 likes · 23 min read
Why Concurrency Is Hard: The Surprising Result of Two Threads Incrementing an int
Dabaoshi
Dabaoshi
Aug 13, 2026 · Fundamentals

Design Patterns 23 – Final Overview: Mapping All 23 Patterns onto One Diagram

The article wraps up the "Design Pattern Dissection" series by showing how the 23 GoF patterns appear in JDK, Spring and MyBatis, clarifying the most confusing pattern pairs, warning against over‑design, and presenting a comprehensive map that links each pattern to the seven core design principles.

GoFJavaMyBatis
0 likes · 12 min read
Design Patterns 23 – Final Overview: Mapping All 23 Patterns onto One Diagram
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 13, 2026 · Backend Development

Discover Spring Boot’s New BeanFactoryInitializer – Early Bean Initialization Made Easy

Spring Boot 3.5 introduces the BeanFactoryInitializer extension point, allowing developers to safely pre‑instantiate specific beans before the regular singleton pool, replace unsafe BeanFactoryPostProcessor hacks, fetch remote configurations, and programmatically register @Tool‑annotated beans, all demonstrated with concrete code examples and a working test.

BeanFactoryInitializerFactoryBeanJava
0 likes · 8 min read
Discover Spring Boot’s New BeanFactoryInitializer – Early Bean Initialization Made Easy
Top Architecture Tech Stack
Top Architecture Tech Stack
Aug 12, 2026 · Industry Insights

Has IntelliJ IDEA Lost Its Crown to VS Code?

The article analyzes how JetBrains is exposing IntelliJ IDEA’s Java/Kotlin language intelligence to VS Code via an LSP‑based extension, arguing that the shift reflects a broader move from monolithic IDEs to modular code‑understanding services that empower both human developers and AI agents in large‑scale projects.

AI AgentIDEIntelliJ IDEA
0 likes · 13 min read
Has IntelliJ IDEA Lost Its Crown to VS Code?
CTO Full-Stack Academy
CTO Full-Stack Academy
Aug 12, 2026 · Fundamentals

Understanding Java Forward Compilation, Decompilation, and Class Loading

The article explains how Java source code is compiled into bytecode, how class loaders (including the bootstrap, extension, application, and custom loaders) load and verify classes using the parent‑delegation model, and how encryption, obfuscation, and decompilation tools affect code protection and debugging.

ClassLoaderJVMJava
0 likes · 23 min read
Understanding Java Forward Compilation, Decompilation, and Class Loading
DeWu Technology
DeWu Technology
Aug 12, 2026 · Artificial Intelligence

Building a Judgmental RAG Agent: From Simple Search to Autonomous Search‑Filter‑Dive‑Validate Loop

This article details the design of a composite‑retrieval RAG Agent using AgentScope 2.0, covering its HarnessAgent architecture, ReAct loop, middleware‑driven three‑stage quality pipeline, multi‑source parallel search, multimodal image handling, production‑grade SSE resume, model failover, and future roadmap.

AgentScopeComposite RetrievalJava
0 likes · 23 min read
Building a Judgmental RAG Agent: From Simple Search to Autonomous Search‑Filter‑Dive‑Validate Loop
Niu Liu
Niu Liu
Aug 12, 2026 · Backend Development

WeChat Pay Service Provider: Entity-First Payment Routing for Multi-Store Systems

This article details a production-grade WeChat Pay service provider integration for multi-store, multi-entity scenarios, covering domain modeling, versioned payment routing, sub-merchant onboarding state machines, cashier configuration layers, callback verification, refund snapshot isolation, three-level reconciliation, and a 10-item launch checklist.

APIv3Cashier ConfigurationJava
0 likes · 28 min read
WeChat Pay Service Provider: Entity-First Payment Routing for Multi-Store Systems
Architecture Digest
Architecture Digest
Aug 12, 2026 · Artificial Intelligence

Practical Multi‑Model Routing with Embabel: Mixing DeepSeek and Claude

The article explains why a single LLM cannot satisfy all stages of an AI pipeline, introduces Embabel's declarative routing that separates concerns across four layers, shows how a four‑dimensional decision matrix assigns cheap or best models to each step, and presents benchmark results demonstrating up to 70% cost reduction while retaining 95% of the quality of an all‑Claude solution.

ClaudeDeepSeekEmbabel
0 likes · 16 min read
Practical Multi‑Model Routing with Embabel: Mixing DeepSeek and Claude
Architect's Tech Stack
Architect's Tech Stack
Aug 12, 2026 · Backend Development

A Read‑Only ORM That’s 100× Faster Than MyBatis

BeanSearcher, a read‑only Java ORM, generates SQL from declarative annotations and maps HTTP query parameters directly to query conditions, allowing complex multi‑table, aggregation and sorting queries with a single line of code and claiming performance up to a hundred times faster than MyBatis.

BeanSearcherJavaMyBatis
0 likes · 4 min read
A Read‑Only ORM That’s 100× Faster Than MyBatis
Java Companion
Java Companion
Aug 12, 2026 · Industry Insights

Why Java Basics Disappear from Interviews: RAG and Agents Now Dominate AI Jobs

Recent interview trends show a sharp shift from traditional Java topics to AI‑focused questions about Retrieval‑Augmented Generation and Agent design, with data revealing AI roles topping demand and salary charts while companies struggle to find talent capable of deploying large models in real business contexts.

AI TrainingAI interview trendsAI job market
0 likes · 4 min read
Why Java Basics Disappear from Interviews: RAG and Agents Now Dominate AI Jobs
Architect's Guide
Architect's Guide
Aug 12, 2026 · Backend Development

Six Years In, This Java Code Made Me Cringe

The article recounts a six‑year veteran’s encounter with a tangled Java data‑isolation implementation, explains how a custom MyBatis interceptor and annotation were used to inject and filter an env field across dozens of tables, and reflects on the code smell and refactoring lessons learned.

Custom AnnotationInterceptorJava
0 likes · 13 min read
Six Years In, This Java Code Made Me Cringe
Java Architecture Diary
Java Architecture Diary
Aug 12, 2026 · Cloud Native

Why Upgrading Your MCP Server to 2.0 Solves Stateless Session Issues

The article explains how MCP 1.x's stateful handshake caused node‑crash failures, sticky sessions, and serverless incompatibility, and how the 2.0 release removes the handshake, makes each request self‑describing via _meta and HTTP headers, introduces MRTR for multi‑round interactions, and provides a Java/TypeScript code walkthrough demonstrating the new stateless behavior.

Cloud NativeJavaMCP
0 likes · 8 min read
Why Upgrading Your MCP Server to 2.0 Solves Stateless Session Issues
Dabaoshi
Dabaoshi
Aug 11, 2026 · Fundamentals

Why the Iterator Pattern Is the Most Used Yet Unnoticed Design Pattern in Java

The article explains how the Iterator pattern, built into Java as Iterable and Iterator interfaces, lets you traverse any collection uniformly without exposing its internal structure, demonstrates the fail‑fast mechanism, and shows when custom collections should implement Iterable.

Design PatternIterableJava
0 likes · 13 min read
Why the Iterator Pattern Is the Most Used Yet Unnoticed Design Pattern in Java
ITPUB
ITPUB
Aug 11, 2026 · Fundamentals

How Project Valhalla Repays Java’s 20‑Year Generics Debt

The article traces the 20‑year history of Java’s type‑erased generics, contrasts it with C#’s reified generics, explains the performance and compatibility trade‑offs, and shows how Project Valhalla’s value classes and generic specialization finally close the gap.

GenericsJavaPerformance
0 likes · 23 min read
How Project Valhalla Repays Java’s 20‑Year Generics Debt
Architecture Digest
Architecture Digest
Aug 11, 2026 · Backend Development

Run Your First Embabel Java Agent in 30 Minutes: A Hands‑On Guide

This article walks you through setting up the environment, creating a Spring Boot project, defining strong‑typed domain models, implementing @Action methods, declaring goals, and running an interactive shell so you can build and execute a fully functional Embabel Java Agent that automatically generates a research brief.

AIEmbabelJava
0 likes · 9 min read
Run Your First Embabel Java Agent in 30 Minutes: A Hands‑On Guide
java1234
java1234
Aug 11, 2026 · Backend Development

Why More Developers Are Choosing Guava for Java Projects

Guava, Google’s core Java library, offers a rich set of utilities—immutable collections, null‑safe string handling, local caches, and concurrency helpers—that reduce boilerplate, prevent bugs, and integrate with a single Maven/Gradle dependency, making it a popular choice for modern Java backend development.

CacheGoogle Core LibrariesGradle
0 likes · 9 min read
Why More Developers Are Choosing Guava for Java Projects
Architect's Guide
Architect's Guide
Aug 11, 2026 · Backend Development

Boosting API Extensibility in SpringBoot with the Strategy Pattern

The article demonstrates how to combine SpringBoot with the Strategy pattern and a simple factory to route different business operations—add, subtract, multiply, divide—through a single API, registering strategy beans in a map for easy extension without modifying existing code.

Dependency InjectionExtensibilityJava
0 likes · 7 min read
Boosting API Extensibility in SpringBoot with the Strategy Pattern
Java Tech Workshop
Java Tech Workshop
Aug 11, 2026 · Backend Development

Achieving 6 Million Orders per Second with SpringBoot and LMAX Disruptor

The article explains why traditional Java BlockingQueue struggles under high load, introduces the LMAX Disruptor’s lock‑free ring buffer design, compares performance showing up to 600 万+ events per second versus 100 万 for ArrayBlockingQueue, and provides step‑by‑step SpringBoot integration with code examples and best‑practice tips.

DisruptorJavaPerformance
0 likes · 17 min read
Achieving 6 Million Orders per Second with SpringBoot and LMAX Disruptor
Su San Talks Tech
Su San Talks Tech
Aug 11, 2026 · Backend Development

Why Is Hutool 5 Gaining So Many Users?

Hutool 5 has become the de‑facto utility library for modern Java projects because it eliminates duplicated, error‑prone hand‑crafted utils, reduces code volume by up to 50%, offers a stable, modular API that works with JDK 8+, and provides ready‑to‑use features for strings, dates, files, HTTP, JSON, encryption and even AI integration.

HutoolJavaPerformance
0 likes · 27 min read
Why Is Hutool 5 Gaining So Many Users?
Dabaoshi
Dabaoshi
Aug 10, 2026 · Fundamentals

State Pattern Explained: Turning Conditional Logic into Flowing State Transitions

The article demonstrates how the State design pattern replaces tangled if‑else state checks with dedicated state classes, using an order lifecycle example to compare it with Strategy, explain role responsibilities, transition driving mechanisms, and guidelines for when to apply the pattern.

JavaState PatternStrategy Pattern
0 likes · 15 min read
State Pattern Explained: Turning Conditional Logic into Flowing State Transitions
Dabaoshi
Dabaoshi
Aug 10, 2026 · Fundamentals

Chain of Responsibility Pattern: Build Scalable, Extensible Validation Chains

The article explains the Chain of Responsibility design pattern, showing how to replace tangled nested if‑checks in order‑validation logic with a series of independent handler objects linked together, and demonstrates its implementation, variations, real‑world uses in filters, interceptors, and guidelines for when the pattern is appropriate.

Chain of ResponsibilityDesign PatternJava
0 likes · 15 min read
Chain of Responsibility Pattern: Build Scalable, Extensible Validation Chains
Java Architect Handbook
Java Architect Handbook
Aug 10, 2026 · Cloud Native

Tired of XXL‑Job? Try This Elegant Nacos‑Based Scheduling Solution

The article analyses why XXL‑Job’s separate registration, configuration, and weak sharding cause state inconsistency, observability gaps, and duplicate processing, then proposes JobFlow – a lightweight scheduler that removes redundant components, adds full‑traceId tracing, true sharding with distributed locks, exponential retry, and cloud‑native configuration managed by Nacos, all illustrated with concrete code snippets and deployment diagrams.

Cloud NativeDistributed LockJava
0 likes · 21 min read
Tired of XXL‑Job? Try This Elegant Nacos‑Based Scheduling Solution
Architect's Guide
Architect's Guide
Aug 10, 2026 · Backend Development

Building a Dynamic Thread Pool with SpringBoot and Nacos

This article demonstrates how to create a dynamically configurable thread pool in a SpringBoot application by leveraging Nacos as a centralized configuration center, covering dependencies, YAML setup, Java implementation, controller endpoints, and runtime testing.

JavaNacosSpringBoot
0 likes · 9 min read
Building a Dynamic Thread Pool with SpringBoot and Nacos
Architecture & Thinking
Architecture & Thinking
Aug 10, 2026 · Backend Development

From a Config Update API to Locking Strategies: Optimistic vs Pessimistic Locks Explained

After encountering potential data overwrite when updating configuration via an API, the author implements an optimistic lock using version numbers and revisits the fundamentals, comparing pessimistic and optimistic locking mechanisms, their implementations in SQL and Java, performance traits, pitfalls, and guidelines for choosing the appropriate strategy.

JavaOptimistic Lockconcurrency control
0 likes · 8 min read
From a Config Update API to Locking Strategies: Optimistic vs Pessimistic Locks Explained
Dabaoshi
Dabaoshi
Aug 9, 2026 · Fundamentals

Observer Pattern: Decoupling Order Payment Success Actions via Publish‑Subscribe

The article explains the Observer pattern by first showing the problems of hard‑coding post‑payment actions, then detailing how defining a subject, observer interface, and concrete observers decouples the system, discusses push vs pull notification models, and illustrates real‑world uses in Spring events, GUI listeners, and message queues.

DecouplingJavaObserver Pattern
0 likes · 14 min read
Observer Pattern: Decoupling Order Payment Success Actions via Publish‑Subscribe
Dabaoshi
Dabaoshi
Aug 9, 2026 · Fundamentals

Template Method Pattern: Fix the Skeleton, Vary the Steps

The article explains the Template Method design pattern, showing how to lock a fixed process skeleton in a parent class while delegating variable steps to subclasses, contrasting it with the Strategy pattern and illustrating its use in real‑world frameworks.

Design PatternFinalHook Method
0 likes · 14 min read
Template Method Pattern: Fix the Skeleton, Vary the Steps
Java Tech Enthusiast
Java Tech Enthusiast
Aug 9, 2026 · Backend Development

Spring Boot + Disruptor: Achieving Ultra‑Fast High‑Concurrency Processing for 6 Million Orders per Second

This article explains how to replace traditional message queues with LMAX Disruptor in a Spring Boot application, covering its core concepts, step‑by‑step implementation, and a demo that demonstrates lock‑free, high‑throughput processing capable of handling six million orders per second.

DisruptorJavaMessage Queue
0 likes · 10 min read
Spring Boot + Disruptor: Achieving Ultra‑Fast High‑Concurrency Processing for 6 Million Orders per Second
Architecture Digest
Architecture Digest
Aug 9, 2026 · Backend Development

Setting Up Trae IDE for Spring AI: A Quick‑Start Guide

This article walks Java developers through installing Trae IDE, configuring the required JDK, Maven and Spring AI dependencies, creating a Spring Boot project, adding AI model settings, implementing a chat controller with synchronous and streaming endpoints, and troubleshooting common issues.

AIAPI keyBuilder mode
0 likes · 12 min read
Setting Up Trae IDE for Spring AI: A Quick‑Start Guide
SpringMeng
SpringMeng
Aug 9, 2026 · Backend Development

Why Even Experienced Java Developers Misunderstand isEmpty vs. isBlank

This article explains the precise differences between Apache Commons Lang's StringUtils.isEmpty, isBlank, and their related methods, providing concrete examples, code snippets, and usage guidelines to help developers avoid common pitfalls when checking string emptiness in Java.

Apache Commons LangCode ExamplesJava
0 likes · 7 min read
Why Even Experienced Java Developers Misunderstand isEmpty vs. isBlank
Java Tech Workshop
Java Tech Workshop
Aug 9, 2026 · Backend Development

How Does Spring Boot Load Its Logging System?

This article explains Spring Boot's logging architecture, the early initialization process driven by LoggingApplicationListener, the three‑layer design with SLF4J, bridge packages and Logback, configuration file loading order, differences between logback.xml and logback‑spring.xml, and common troubleshooting steps.

JavaLog4j2Logback
0 likes · 16 min read
How Does Spring Boot Load Its Logging System?
Dabaoshi
Dabaoshi
Aug 8, 2026 · Fundamentals

Understanding JVM Class Loading: Mechanisms, Delegation, and Custom ClassLoaders

This article walks through the full lifecycle of a Java class—from loading, verification, preparation, and resolution to initialization, usage, and unloading—explains active versus passive references, the parent‑delegation model, JDK 8‑to‑17 module‑system changes, and shows how to write a custom ClassLoader for class isolation.

Class LoadingClassLoaderCustom ClassLoader
0 likes · 26 min read
Understanding JVM Class Loading: Mechanisms, Delegation, and Custom ClassLoaders
Java Tech Enthusiast
Java Tech Enthusiast
Aug 8, 2026 · Backend Development

Why Does Kafka Re‑Consume Tens of Thousands of Messages After a Successful Offset Commit?

The article explains why Kafka consumers can reprocess tens of thousands of messages after a restart despite successful offset commits, detailing the roles of automatic commit timing, rebalance triggers, GC pauses, and the limitations of manual commits, and offers practical configuration and idempotent processing solutions.

ConsumerJavaKafka
0 likes · 8 min read
Why Does Kafka Re‑Consume Tens of Thousands of Messages After a Successful Offset Commit?
Three Knives
Three Knives
Aug 8, 2026 · Backend Development

How One Developer and AI Migrated RuoYi-Vue to Feat in Hours – A Quiet Java Backend Revolution

In a weekend experiment, a solo developer used AI tools to port the popular RuoYi-Vue Spring Boot admin system to the native AOT framework Feat, achieving 14 of 18 core features with zero front‑end changes, illustrating the rise of AI‑augmented solo development and the accelerating shift toward AOT‑based Java backends.

AI-assisted developmentAOTFeat framework
0 likes · 9 min read
How One Developer and AI Migrated RuoYi-Vue to Feat in Hours – A Quiet Java Backend Revolution
Architecture & Thinking
Architecture & Thinking
Aug 8, 2026 · Fundamentals

Java Memory Model and Instruction Reordering: From Happens‑Before to Memory Barriers Explained

Most hidden thread‑safety bugs in Java stem from instruction reordering and memory‑visibility issues rather than simple atomicity conflicts; this article dissects the hardware‑level reordering, JMM’s happens‑before rules, and memory‑fence mechanisms, illustrating each concept with concrete code examples and classic concurrency pitfalls.

ConcurrencyHappens-BeforeJava
0 likes · 15 min read
Java Memory Model and Instruction Reordering: From Happens‑Before to Memory Barriers Explained
java1234
java1234
Aug 8, 2026 · Backend Development

Why Hutool 5 Is Gaining Popularity Among Java Developers

The article explains how Hutool 5 consolidates common Java utilities—such as string handling, date formatting, file I/O, HTTP requests, and cryptography—into concise, ready‑to‑use methods, reducing boilerplate code, simplifying project setup, and improving maintainability.

Code ExampleGradleHutool
0 likes · 11 min read
Why Hutool 5 Is Gaining Popularity Among Java Developers
Dabaoshi
Dabaoshi
Aug 8, 2026 · Fundamentals

Strategy Pattern: Replacing Conditional Branches with Pluggable Algorithms

The article explains how the Strategy design pattern solves the maintenance nightmare of tangled if‑else or switch statements by extracting each algorithm into its own strategy class, detailing the roles, selection mechanisms, Java examples, and when the pattern is appropriate.

ComparatorDependency InjectionJava
0 likes · 14 min read
Strategy Pattern: Replacing Conditional Branches with Pluggable Algorithms
Dabaoshi
Dabaoshi
Aug 8, 2026 · Fundamentals

Bridge Pattern – How to Avoid Multiplicative Class Explosion in Structural Design

The article explains how the Bridge design pattern separates two orthogonal dimensions—such as order type and notification channel—into independent hierarchies, replacing inheritance‑driven class explosion with compositional bridges, and demonstrates its rationale, code, real‑world examples, and differences from similar patterns.

Bridge PatternComposition Over InheritanceJava
0 likes · 14 min read
Bridge Pattern – How to Avoid Multiplicative Class Explosion in Structural Design
Cloud Architecture
Cloud Architecture
Aug 7, 2026 · Backend Development

Designing an Industrial‑Grade Message Queue for Tens of Millions of Orders

This article presents a step‑by‑step design of HermesMQ, an industrial‑grade message queue built from scratch to support ten‑million‑order traffic, covering storage as sequential logs, network architecture with Netty and Reactor, high‑availability replication, partition ordering, transaction messaging, back‑pressure, observability, and practical deployment guidelines.

High AvailabilityJavaMessage Queue
0 likes · 45 min read
Designing an Industrial‑Grade Message Queue for Tens of Millions of Orders
Cloud Architecture
Cloud Architecture
Aug 7, 2026 · Backend Development

Building a Trillion‑Message Queue: Kafka‑Level Architecture and Implementation

This article explains why and how to build a Kafka‑grade message‑queue kernel from scratch, detailing functional and non‑functional goals, core design principles, storage layout, replication, consumer‑group coordination, performance optimizations, deployment on Kubernetes, and a step‑by‑step roadmap to production‑grade reliability.

JavaKafkaMessage Queue
0 likes · 40 min read
Building a Trillion‑Message Queue: Kafka‑Level Architecture and Implementation
IT Services Circle
IT Services Circle
Aug 7, 2026 · Information Security

Why Is Sa-Token Gaining So Much Traction?

Sa-Token has become a popular Java permission framework because it offers a lightweight, plug‑in‑driven architecture that automates authentication, authorization and session management, allowing developers to replace complex solutions like Spring Security with just a few lines of code while still supporting distributed deployments and advanced features.

AuthorizationJavaSa-Token
0 likes · 16 min read
Why Is Sa-Token Gaining So Much Traction?
IT Services Circle
IT Services Circle
Aug 7, 2026 · Operations

Midnight NullPointerException? How Arthas Fixes It in Minutes

When a production Java service throws a NullPointerException at 2 AM, this article shows how the Arthas diagnostic tool can attach to the running JVM, inspect threads, monitor method parameters, and pinpoint the faulty null value without restarting the service, all within a few minutes.

DiagnosticsJVMJava
0 likes · 12 min read
Midnight NullPointerException? How Arthas Fixes It in Minutes
Java Tech Workshop
Java Tech Workshop
Aug 7, 2026 · Backend Development

Mastering MyBatis-Plus IPage: A Unified Solution for Pagination and Full-Data Export

This article examines common pitfalls of MyBatis-Plus IPage pagination, explains why naive approaches like using two mapper methods or setting pageSize to Integer.MAX_VALUE cause performance and consistency issues, and presents a single‑SQL strategy with custom count handling, cursor streaming, and best‑practice configurations for seamless pagination and full‑data export.

BackendCursorFull Export
0 likes · 20 min read
Mastering MyBatis-Plus IPage: A Unified Solution for Pagination and Full-Data Export
Xike
Xike
Aug 7, 2026 · Databases

Embedding Sharding Genes in Business IDs for Direct Routing in Sharded Databases

By embedding a shard identifier (“gene”) into the low bits of a business ID generated via Redis INCR or similar sequencers, the article shows how to achieve direct table routing without broadcast queries or extra mapping tables, detailing the algorithm, implementation, integration with Snowflake and Leaf, and common pitfalls.

JavaLeafRedis
0 likes · 11 min read
Embedding Sharding Genes in Business IDs for Direct Routing in Sharded Databases
Java Architecture Diary
Java Architecture Diary
Aug 7, 2026 · Artificial Intelligence

Why Skills v1.2 Is a Must-Have for AI Coding (Matt’s Top 5 Skills Lead the Leaderboard)

The new Skills v1.2 release adds Claude Code plugin support, revamps the grilling workflow to cut interaction rounds, and introduces three practical new skills—/wizard, /to-questionnaire, and /wait-what—while refactoring existing ones, offering a focused solution to the maintainability problems of AI‑generated code.

AI codingAgent AutomationClaude Code
0 likes · 8 min read
Why Skills v1.2 Is a Must-Have for AI Coding (Matt’s Top 5 Skills Lead the Leaderboard)
Dabaoshi
Dabaoshi
Aug 6, 2026 · Fundamentals

Facade Pattern: Simplify Complex Subsystems with a Unified Interface

The article explains how the Facade design pattern hides the intricacies of multiple subsystems—such as inventory, payment, logistics, and notification—behind a single, easy‑to‑use class, illustrating the problem, solution, code examples, relation to the Law of Demeter, real‑world usages, and common pitfalls.

Facade PatternJavaLaw of Demeter
0 likes · 14 min read
Facade Pattern: Simplify Complex Subsystems with a Unified Interface
Dabaoshi
Dabaoshi
Aug 6, 2026 · Fundamentals

Design Pattern #10 – Composite Pattern: Organizing a Group of Objects

The article explains how the Composite pattern solves the pain of handling tree‑like structures—such as orders with nested packages—by providing a uniform component interface that eliminates instanceof checks, discusses transparent vs safe variants, shows real‑world library examples, and outlines when the pattern is appropriate.

Composite PatternJavaTree Structure
0 likes · 14 min read
Design Pattern #10 – Composite Pattern: Organizing a Group of Objects
Dabaoshi
Dabaoshi
Aug 6, 2026 · Fundamentals

Design Patterns 09 – Adapter Pattern: Connecting Incompatible Interfaces

Adapter pattern acts as a translation layer that lets existing classes with mismatched interfaces interoperate without modification, illustrated through a logistics API integration example, with detailed object and class adapter implementations, trade‑off analysis, standard library and Spring examples, and a comparison with decorator and proxy patterns.

AdapterClass AdapterJava
0 likes · 14 min read
Design Patterns 09 – Adapter Pattern: Connecting Incompatible Interfaces
Programmer1970
Programmer1970
Aug 6, 2026 · Backend Development

Revisiting synchronized lock upgrade: JVM‑level details of biased, lightweight and heavyweight locks

This article explains how the JVM implements synchronized by using the object header's Mark Word to transition through biased, lightweight, and heavyweight lock states, covering the underlying data structures, lock acquisition and release processes, revocation, downgrade, tuning parameters, practical verification, performance pitfalls, and a comparison with ReentrantLock.

JVMJavaPerformance
0 likes · 16 min read
Revisiting synchronized lock upgrade: JVM‑level details of biased, lightweight and heavyweight locks
Cloud Architecture
Cloud Architecture
Aug 6, 2026 · Big Data

Exporting 10 Billion Elasticsearch Records: From Simple Script to Enterprise Offline Platform

The article analyses why exporting billions of Elasticsearch documents requires a full‑stack platform rather than a one‑off script, detailing the pitfalls of naive pagination, the benefits of PIT + search_after + slicing, and a complete architecture with Kafka, Redis, MySQL, Kubernetes and observability for reliable, scalable offline data export.

ElasticsearchJavaKafka
0 likes · 40 min read
Exporting 10 Billion Elasticsearch Records: From Simple Script to Enterprise Offline Platform
CodeOnCode
CodeOnCode
Aug 6, 2026 · Backend Development

Why Mixed GC Doesn’t Empty the Old Generation in G1

Mixed GC in G1 only reclaims a portion of the Old generation that fits within the pause‑time budget, so seeing the Old region size stay high after a mixed pause does not mean G1 has failed, but rather reflects collection cost, survival rates, and budgeting constraints.

G1 GCGarbage CollectionJVM
0 likes · 16 min read
Why Mixed GC Doesn’t Empty the Old Generation in G1
Java Architect Handbook
Java Architect Handbook
Aug 6, 2026 · Backend Development

Why Using kill -9 to Stop a Java Service Can Cost You Your Job

The article explains how the forceful kill -9 command can corrupt data and break transactions in Java services, demonstrates the risks with MyISAM and distributed systems, and provides step‑by‑step guides for graceful shutdown using kill -15, ConfigurableApplicationContext.close, Spring Boot Actuator, and @PreDestroy hooks.

ActuatorJavaLinux kill
0 likes · 17 min read
Why Using kill -9 to Stop a Java Service Can Cost You Your Job
java1234
java1234
Aug 6, 2026 · Backend Development

Why Flowable Is Gaining Popularity Among Java Developers

Flowable is an open‑source Java workflow engine that follows the BPMN 2.0 standard, offering tighter Spring Boot integration, full CMMN/DMN support, better performance than Activiti, and flexible deployment options, with detailed comparisons to Activiti and Camunda and step‑by‑step Spring Boot and standalone examples.

ActivitiBPMNCamunda
0 likes · 8 min read
Why Flowable Is Gaining Popularity Among Java Developers
samdeepthink
samdeepthink
Aug 6, 2026 · Interview Experience

Interview Question: Find the Single Occurring Number in an Array – Three Solutions

The article presents a classic interview problem of locating the unique element in an integer array where every other value appears twice, and walks through three Java 17 implementations—brute‑force double loop, HashMap counting, and a bitwise XOR trick—detailing their time and space trade‑offs and practical considerations.

AlgorithmBitwise XORHashMap
0 likes · 8 min read
Interview Question: Find the Single Occurring Number in an Array – Three Solutions
Dabaoshi
Dabaoshi
Aug 5, 2026 · Fundamentals

Proxy Pattern Explained: Static, JDK Dynamic, and CGLIB Implementations

This article introduces the structural Proxy pattern, demonstrates three implementations—hand‑written static proxy, JDK dynamic proxy, and CGLIB subclass proxy—explains their mechanisms, trade‑offs, and limitations, and shows how Spring AOP selects between them for cross‑cutting concerns like logging, transactions, and caching.

CGLIBJavaProxy
0 likes · 17 min read
Proxy Pattern Explained: Static, JDK Dynamic, and CGLIB Implementations
Dabaoshi
Dabaoshi
Aug 5, 2026 · Fundamentals

Prototype Pattern: The Final Creational Design Pattern Explained

The article explains the Prototype design pattern, showing how cloning existing objects can replace costly object construction, details Java’s Cloneable and clone() mechanisms, the pitfalls of shallow copying, and various deep‑copy techniques such as manual recursion, serialization, and library utilities.

CloneableDeep CopyJava
0 likes · 18 min read
Prototype Pattern: The Final Creational Design Pattern Explained
Dabaoshi
Dabaoshi
Aug 5, 2026 · Fundamentals

Builder Pattern in Java: Clean, Immutable Construction for Complex Objects

The article explains why traditional telescoping constructors and JavaBean setters fail for objects with many optional fields, and demonstrates how the Builder pattern—both the simplified static inner class version and the full GoF version with a Director—provides readable, step‑by‑step assembly, mandatory validation, and immutable results, with guidance on when to apply it.

Builder PatternImmutableJava
0 likes · 20 min read
Builder Pattern in Java: Clean, Immutable Construction for Complex Objects
Dabaoshi
Dabaoshi
Aug 5, 2026 · Fundamentals

Abstract Factory Pattern: Building Whole Product Families, Not Just Single Products

The article explains the Abstract Factory pattern by contrasting product families with product hierarchies, showing why the Factory Method fails for bundled products, presenting the pattern's structure and code, and detailing its open‑closed principle tilt and appropriate usage scenarios.

Abstract FactoryJavaOpen/Closed Principle
0 likes · 17 min read
Abstract Factory Pattern: Building Whole Product Families, Not Just Single Products
Xiaolin Talks Programming
Xiaolin Talks Programming
Aug 5, 2026 · Backend Development

Spring Boot + Caffeine: Multi-Level Cache Architecture, Consistency & Load Tests

This article details integrating Caffeine with Spring Boot 3.x for a three-tier L1/L2/DB cache architecture, covering Window TinyLFU internals, refreshAfterWrite vs expireAfterWrite, manual vs annotation-driven integration, read/write paths, message-driven invalidation with version stamps, load test results showing 48k QPS at 2ms P99, and production tuning for memory, GC, and hot-key protection.

CaffeineConsistencyJava
0 likes · 20 min read
Spring Boot + Caffeine: Multi-Level Cache Architecture, Consistency & Load Tests
samdeepthink
samdeepthink
Aug 5, 2026 · Backend Development

Building Enterprise‑Level CAS SSO: Lessons from Our First Implementation

When a company’s internal tools each required separate logins, the team built an enterprise‑grade CAS single sign‑on system that unified identity, login entry, logout handling, and extensible integration, and they document the entire process across nine detailed articles.

CASEnterprise AuthenticationJava
0 likes · 7 min read
Building Enterprise‑Level CAS SSO: Lessons from Our First Implementation
Internet Backend Architecture Stack
Internet Backend Architecture Stack
Aug 4, 2026 · Backend Development

Stop Writing Anemic Models: DDD Four-Layer Architecture for Enterprise Projects

This article explains how to implement DDD's four-layer architecture (Interface, Application, Domain, Infrastructure) to map bounded contexts to code structure, eliminate anemic domain models by embedding business logic in aggregates, enforce layer boundaries, and use domain events for cross-context communication, with Java package examples and common pitfalls.

Bounded ContextDDDJava
0 likes · 13 min read
Stop Writing Anemic Models: DDD Four-Layer Architecture for Enterprise Projects
Dabaoshi
Dabaoshi
Aug 4, 2026 · Fundamentals

Factory Method Pattern: Deciding Which Variant to Create

This article walks through the evolution from direct object instantiation to Simple Factory and finally to the Factory Method pattern, explaining why scattering new statements is problematic, how Simple Factory centralizes creation but still violates the Open/Closed principle, and how the Factory Method delegates the decision to specialized factories, complete with code examples, role definitions, and guidance on when to apply each approach.

Design PatternJavaObject Creation
0 likes · 16 min read
Factory Method Pattern: Deciding Which Variant to Create
CTO Full-Stack Academy
CTO Full-Stack Academy
Aug 4, 2026 · Fundamentals

Mastering SOLID: Real‑World Java Examples for Clean OOP Design

This article explains the five SOLID object‑oriented design principles with everyday Java scenarios, showing bad implementations, proper refactorings, practical criteria for each rule, and common pitfalls to help developers write more maintainable and extensible code.

Design PrinciplesJavaObject-Oriented Design
0 likes · 9 min read
Mastering SOLID: Real‑World Java Examples for Clean OOP Design
java1234
java1234
Aug 4, 2026 · Backend Development

Why Spring Boot Sticks with Jackson as Its Default JSON Library

The article explains why Spring Boot continues to use Jackson as its default JSON serializer, detailing the automatic ObjectMapper/JsonMapper creation, the HTTP message conversion process, Jackson’s balanced strengths, practical code samples, and how to switch to alternatives like Gson, JSON‑B, or Fastjson2.

GsonJSONJackson
0 likes · 15 min read
Why Spring Boot Sticks with Jackson as Its Default JSON Library
samdeepthink
samdeepthink
Aug 4, 2026 · Backend Development

Building a Mini RPC in Java 17: From Zero to Understanding Remote Calls

This article walks through creating a minimal Java 17 RPC framework—from defining a simple binary protocol and using JDK serialization to implementing server loops, dynamic proxy‑based clients, and a runnable demo—while also highlighting the gaps that production‑grade solutions like Dubbo or gRPC must fill.

JavaJava 17RPC
0 likes · 13 min read
Building a Mini RPC in Java 17: From Zero to Understanding Remote Calls
Linyb Geek Road
Linyb Geek Road
Aug 4, 2026 · Backend Development

Why AI Coding Is Slower in Java and Five Steps to Build a Harness Environment

The article explains why AI‑assisted coding works smoothly for lightweight projects but stalls on Java micro‑services due to cloud‑only dependencies, and presents a five‑principle harness‑engineering approach—dependency inversion, zero‑intrusion profile isolation, CLI tool integration, local validation scripts, and a checklist—to create a fully local, AI‑friendly development loop that dramatically reduces iteration time.

AI codingCLIJava
0 likes · 21 min read
Why AI Coding Is Slower in Java and Five Steps to Build a Harness Environment
21CTO
21CTO
Aug 3, 2026 · Industry Insights

Oracle Bans AI-Generated Code in OpenJDK Amid Larry Ellison’s $70B AI Gamble

Oracle has prohibited any AI‑generated contributions to OpenJDK, citing security, review burden, and IP risks, while simultaneously betting billions on internal AI development, cutting staff, and facing credit‑rating downgrades, sparking a paradox that the tech community and investors are closely watching.

AI PolicyGenerative AIJava
0 likes · 8 min read
Oracle Bans AI-Generated Code in OpenJDK Amid Larry Ellison’s $70B AI Gamble
Architect's Tech Stack
Architect's Tech Stack
Aug 3, 2026 · Artificial Intelligence

Spring Founder Returns with a New AI Agent Framework

Rod Johnson, the creator of Spring, introduces Embabel—a Kotlin‑based AI agent framework that uses GOAP planning to make agents deterministic, explainable, and Java‑friendly, aiming to turn uncontrolled AI demos into production‑ready systems.

AI agentsEmbabelGOAP
0 likes · 3 min read
Spring Founder Returns with a New AI Agent Framework
Architect's Guide
Architect's Guide
Aug 3, 2026 · Backend Development

Say Goodbye to if‑else: Elegant Parameter Validation in Spring Boot

This article walks through why manual if‑else checks are cumbersome for API input validation, introduces Java Bean Validation (JSR‑303/349/380) and its implementations, shows how to use @Validated and @Valid annotations in Spring Boot, and demonstrates unified exception handling for clean error responses.

Bean ValidationHibernate ValidatorJava
0 likes · 21 min read
Say Goodbye to if‑else: Elegant Parameter Validation in Spring Boot
Java Tech Workshop
Java Tech Workshop
Aug 3, 2026 · Backend Development

A Ready‑to‑Use Spring Boot Template for Seamless Third‑Party Integration

The article explains why ad‑hoc third‑party integrations quickly become unmaintainable, identifies four common pain points, and presents a layered architecture using template method, strategy and factory patterns that abstracts common concerns such as retries, logging and signing, dramatically reducing duplicated code and maintenance effort.

Backend ArchitectureJavaSpring Boot
0 likes · 20 min read
A Ready‑to‑Use Spring Boot Template for Seamless Third‑Party Integration
SpringMeng
SpringMeng
Aug 3, 2026 · Backend Development

Long vs. BigDecimal: Which Is Best for Storing Money?

The article surveys ten community‑suggested approaches for representing monetary values in Java—ranging from using Long, BigDecimal, String, Protobuf, custom types, to following leadership or AI advice—highlighting each option’s rationale and trade‑offs such as precision, range, performance, and maintainability.

JavaLongMonetary
0 likes · 4 min read
Long vs. BigDecimal: Which Is Best for Storing Money?
Dabaoshi
Dabaoshi
Aug 2, 2026 · Fundamentals

Master the Seven Design Principles Before Tackling Design Patterns

The article explains that design patterns rely on solid design principles—SRP, OCP, LSP, DIP, ISP, LoD, and CARP—using a flawed order‑processing example to show each principle, how to refactor the code, and why over‑engineering must be avoided.

Design PrinciplesJavaObject-Oriented Design
0 likes · 24 min read
Master the Seven Design Principles Before Tackling Design Patterns
Java Tech Enthusiast
Java Tech Enthusiast
Aug 2, 2026 · Backend Development

Boost Excel Import/Export Performance in Spring Boot with EasyExcel

The article explains why native Apache POI causes memory‑explosion and maintenance headaches for Excel import/export in Java back‑ends, introduces Alibaba's EasyExcel as a low‑memory, annotation‑driven alternative, and provides step‑by‑step Spring Boot code for exporting, importing, custom conversion, validation, complex headers, pagination, template filling, and common pitfalls with concrete solutions.

EasyExcelExcel ExportJava
0 likes · 16 min read
Boost Excel Import/Export Performance in Spring Boot with EasyExcel
Three Knives
Three Knives
Aug 1, 2026 · Backend Development

Can Java Interceptors Avoid Dynamic Proxies? Feat’s AOT Solution Explained

Feat 2.3.0 introduces compile‑time generated interceptors that replace Spring‑style runtime proxies, showing how AOT weaving eliminates reflection overhead, reduces startup cost, and offers a clean stack trace, while outlining the trade‑offs, limitations, and practical usage guidelines for Java developers.

AOTBackendFeat
0 likes · 9 min read
Can Java Interceptors Avoid Dynamic Proxies? Feat’s AOT Solution Explained
IT Services Circle
IT Services Circle
Aug 1, 2026 · Backend Development

Can Virtual Threads in Java 21 Replace CompletableFuture for Asynchronous Programming?

With Java 21's cheap virtual threads, many of the blocking‑IO patterns that forced developers to write CompletableFuture callback chains can now be expressed as straightforward synchronous code, yet CompletableFuture still offers powerful task‑orchestration features that virtual threads alone cannot replace.

Asynchronous ProgrammingCompletableFutureConcurrency
0 likes · 9 min read
Can Virtual Threads in Java 21 Replace CompletableFuture for Asynchronous Programming?
Golang Shines
Golang Shines
Aug 1, 2026 · Backend Development

7 Reasons a 10‑Year Java Veteran Switched to Go

The author, a veteran Java and C# developer, outlines seven practical reasons—faster development, rapid builds, consistent code style, tiny Docker images, a rich standard library, lightweight goroutines, and a simple web server—that convinced him to abandon Java and C# for Go, boosting productivity.

Binary SizeC#Docker
0 likes · 10 min read
7 Reasons a 10‑Year Java Veteran Switched to Go
java1234
java1234
Aug 1, 2026 · Backend Development

Why Apache Tika Is Gaining Popularity for Unified File Content Extraction

The article explains how Apache Tika, an open‑source content analysis toolkit, lets developers detect file types, extract text and metadata from over a thousand formats, and integrate the functionality via a simple CLI, a RESTful server, or direct Java APIs, making it ideal for search, archiving, content moderation, and AI‑driven knowledge bases.

Apache TikaCLIContent Analysis
0 likes · 16 min read
Why Apache Tika Is Gaining Popularity for Unified File Content Extraction
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Jul 31, 2026 · Backend Development

Redis Cache Penetration, Breakdown & Avalanche: Java Solutions & Production Lessons

This article analyzes Redis cache penetration, breakdown, and avalanche — three high-concurrency failure modes — detailing root causes, solutions like Bloom filters, logical expiration, and multi-level caching, with production-ready Java code, real incident postmortems, and interview-focused technical comparisons.

Bloom FilterCache AvalancheCache Breakdown
0 likes · 32 min read
Redis Cache Penetration, Breakdown & Avalanche: Java Solutions & Production Lessons
Dabaoshi
Dabaoshi
Jul 31, 2026 · Backend Development

JVM GC Tuning and Live Production Troubleshooting

This article guides backend engineers through practical JVM garbage‑collection tuning and on‑line incident diagnosis, covering measurement‑first principles, JDK 8 vs 17 log changes, key JVM flags, essential tooling, and step‑by‑step real‑world cases for CPU spikes, memory leaks, and deadlocks.

DiagnosticsGCJFR
0 likes · 20 min read
JVM GC Tuning and Live Production Troubleshooting
Coder Life Journal
Coder Life Journal
Jul 30, 2026 · Backend Development

Why Faster Java Backend Code Isn’t the Real Value in the Age of AI Coding

Even when AI generates a compile‑ready, unit‑tested Java backend interface, true delivery requires explicit assumptions, domain‑driven constraints, behavior‑focused verification, and responsible hand‑off, shifting the engineer’s value from raw coding speed to risk‑aware design and validation.

AI codingBackend EngineeringJava
0 likes · 9 min read
Why Faster Java Backend Code Isn’t the Real Value in the Age of AI Coding
Java Companion
Java Companion
Jul 30, 2026 · Backend Development

Building a Complete E‑Commerce Site Solo with an Open‑Source Java Platform

The author describes how a freelance developer delivered a full‑featured e‑commerce store for a beauty influencer by adopting the open‑source CRMEB Java platform, detailing the tech stack, deployment steps, UI theming, built‑in marketing modules, and practical pros and cons of the solution.

CRMEBJavaSpringBoot
0 likes · 11 min read
Building a Complete E‑Commerce Site Solo with an Open‑Source Java Platform