Tagged articles

Java

5000 articles · Page 1 of 50
Java Architect Handbook
Java Architect Handbook
Jul 6, 2026 · Cloud Native

Why We Dropped Nacos for Apollo: A Hands‑On Guide to Configuration Management

This article explains why the team replaced Nacos with Ctrip's open‑source Apollo configuration center, outlines Apollo's core concepts, features, and architecture, and provides step‑by‑step instructions for creating projects, testing dynamic updates, exploring environments, clusters, namespaces, and deploying a SpringBoot application on Kubernetes.

ApolloConfiguration CenterJava
0 likes · 28 min read
Why We Dropped Nacos for Apollo: A Hands‑On Guide to Configuration Management
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 6, 2026 · Backend Development

Design and Implement a Production‑Ready Spring Boot Webhook Callback System

This article walks through building a production‑grade webhook system with Spring Boot 3.5, covering webhook fundamentals, a decoupled event‑driven architecture, database schema, entity and repository definitions, a dispatcher service with HMAC signing, exponential‑backoff retry, asynchronous execution, and dead‑letter handling.

HMACJavaasynchronous
0 likes · 15 min read
Design and Implement a Production‑Ready Spring Boot Webhook Callback System
Coder Trainee
Coder Trainee
Jul 5, 2026 · Fundamentals

Deep Dive into Java Concurrency: Inside the AQS Source Code (Part 4)

This article provides a thorough technical walkthrough of Java's AbstractQueuedSynchronizer, covering its core state and CLH queue structures, exclusive and shared lock acquisition/release processes, Condition implementation, and interview-ready explanations of its underlying mechanisms.

AQSAbstractQueuedSynchronizerCondition
0 likes · 8 min read
Deep Dive into Java Concurrency: Inside the AQS Source Code (Part 4)
IT Services Circle
IT Services Circle
Jul 5, 2026 · Backend Development

Eliminate if…else Hell with the Lightweight Easy Rules Engine

The article examines the drawbacks of deep if…else chains in Java business logic and introduces Easy Rules, a lightweight, annotation‑based rule engine that separates rules from code, improves readability, maintainability, testability, and supports multiple definition styles.

Easy RulesJavabackend
0 likes · 19 min read
Eliminate if…else Hell with the Lightweight Easy Rules Engine
java1234
java1234
Jul 5, 2026 · Artificial Intelligence

9 Practical Tips for Efficient Spring AI 2.0 Agent Development

The article shares nine hands‑on tips for building Spring AI 2.0 agents—including using ChatClient as the entry point, delegating tool calls to ToolCallingAdvisor, defining tools with @Tool, crafting effective system prompts, leveraging Advisor chains, streaming responses early, managing conversation memory, limiting tool count, and adding observability—each illustrated with concrete code snippets.

AgentChatClientJava
0 likes · 12 min read
9 Practical Tips for Efficient Spring AI 2.0 Agent Development
Java Tech Enthusiast
Java Tech Enthusiast
Jul 4, 2026 · Backend Development

New CTO Bans java.util.Date Usage—Why Ignoring It Can Get You Fired

The article explains the fundamental design flaws of java.util.Date—misleading name, mutability, non‑finality, timezone quirks, and legacy numbering—why a CTO may forbid its use, and provides a step‑by‑step guide to replace it with java.time classes such as Instant, LocalDateTime and ZonedDateTime.

Javabackenddate-time
0 likes · 12 min read
New CTO Bans java.util.Date Usage—Why Ignoring It Can Get You Fired
Coder Trainee
Coder Trainee
Jul 4, 2026 · Backend Development

Deep Dive into Java Concurrency: The Source-Level Mechanics of synchronized

This article thoroughly examines Java's synchronized keyword, covering its three usage forms, the underlying bytecode instructions, how lock information is stored in the object header's Mark Word, the step‑by‑step lock upgrade process from no‑lock to heavyweight, and JVM optimizations such as lock elimination and coarsening, providing interview‑ready explanations.

JVMJavaLock
0 likes · 10 min read
Deep Dive into Java Concurrency: The Source-Level Mechanics of synchronized
Lisa Notes
Lisa Notes
Jul 4, 2026 · Fundamentals

Using Interfaces as Types in Java: A Beginner’s Guide

This note explains how Java interfaces define new data types, how variables of an interface type must reference objects implementing that interface, and demonstrates the concept with a concrete example that casts objects to a Compare interface to select the larger one.

CastingJavaProgramming Fundamentals
0 likes · 3 min read
Using Interfaces as Types in Java: A Beginner’s Guide
Java Tech Workshop
Java Tech Workshop
Jul 4, 2026 · Backend Development

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

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

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

How Codex, Claude, Cursor, and ZCode Turn Java Development Standards into Executable Skills

The article analyzes how AI coding tools are shifting from merely generating code to enforcing Java team processes by converting development standards into reusable Skills, highlighting SSH synchronization, the distinction between Skills, AGENTS.md, MCP and Hooks, and practical recommendations for Java teams.

AI programmingAgentAutomation
0 likes · 13 min read
How Codex, Claude, Cursor, and ZCode Turn Java Development Standards into Executable Skills
Java Tech Enthusiast
Java Tech Enthusiast
Jul 3, 2026 · Backend Development

Why RediSearch Can Outperform Elasticsearch: Low Memory, High Speed

The article introduces Redis's official search module RediSearch, compares its memory usage and query performance against Elasticsearch, presents benchmark results showing faster indexing and four‑times higher throughput, and provides step‑by‑step installation, index commands, and Java integration examples.

ElasticsearchJavaJedis
0 likes · 10 min read
Why RediSearch Can Outperform Elasticsearch: Low Memory, High Speed
Coder Trainee
Coder Trainee
Jul 3, 2026 · Fundamentals

Deep Dive into Java Concurrency Part 1: Understanding the Core via JMM

This article launches a new series on Java concurrency, explaining why concurrent programming is hard due to hardware, OS and compiler effects, detailing the Java Memory Model’s happens‑before rules, memory barriers, volatile semantics, and comparing volatile with synchronized, plus a practical double‑checked locking example.

JMMJavaconcurrency
0 likes · 8 min read
Deep Dive into Java Concurrency Part 1: Understanding the Core via JMM
Lisa Notes
Lisa Notes
Jul 3, 2026 · Fundamentals

Java Interface Implementation: A Step‑by‑Step Tutorial from Scratch

This tutorial walks through Java interface basics, showing how to declare an interface, implement it in classes, handle method and constant conflicts when implementing multiple interfaces, and demonstrates the concepts with concrete Rectangle and Circle examples.

Javacode exampleimplements
0 likes · 10 min read
Java Interface Implementation: A Step‑by‑Step Tutorial from Scratch
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 3, 2026 · Backend Development

7 Ways to Add a Unified Prefix to Spring Boot Controllers

This article explains why a common API prefix (e.g., /api/v1) is useful in microservice or front‑back separation projects and demonstrates seven practical techniques—custom DispatcherServlet registration, YAML configuration, SpEL‑based @RequestMapping, custom composed annotation, WebMvcConfigurer addPathPrefix, internal forwarding, Spring Cloud Gateway ProxyExchange, and Nginx reverse proxy—using Spring Boot 3.5.0 examples and code snippets.

ControllerJavaNginx
0 likes · 8 min read
7 Ways to Add a Unified Prefix to Spring Boot Controllers
Su San Talks Tech
Su San Talks Tech
Jul 2, 2026 · Backend Development

Replace if…else with a Lightweight Rule Engine: Introducing Easy Rules

The article explains why deep nesting of if…else statements harms readability, maintainability and testability, and shows how the Java Easy Rules engine can extract business logic into reusable rule objects with multiple definition styles, lightweight architecture, and integration options.

Backend DevelopmentComposite RulesEasy Rules
0 likes · 18 min read
Replace if…else with a Lightweight Rule Engine: Introducing Easy Rules
21CTO
21CTO
Jul 1, 2026 · Industry Insights

Why Oracle Is Dropping Java Updates for Intel Macs After JDK 27

Oracle announced that starting with JDK 27 it will cease maintaining the macOS/x64 Java runtime, citing Apple Silicon dominance and engineering costs, and the article examines the broader ecosystem shift, enterprise impact, and mitigation options for developers still on Intel Macs.

Apple SiliconIntel MacJDK
0 likes · 7 min read
Why Oracle Is Dropping Java Updates for Intel Macs After JDK 27
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 1, 2026 · Artificial Intelligence

How to Add Claude Code’s Auto‑Memory Mechanism to Spring AI

This article explains how to integrate Claude Code’s auto‑memory mechanism into Spring AI by using AutoMemoryTools and AutoMemoryToolsAdvisor, compares three integration options, shows the request workflow, memory file formats, and provides concrete code snippets and consolidation strategies for persistent, typed long‑term memory.

Claude CodeJavaSpring AI
0 likes · 12 min read
How to Add Claude Code’s Auto‑Memory Mechanism to Spring AI
Lisa Notes
Lisa Notes
Jul 1, 2026 · Fundamentals

Java Interfaces from Scratch: Core Concepts and Practical Use

This note explains how interfaces act as contracts in collaborative Java projects, covering everyday analogies, definition, syntax, implementation requirements, API role, and how multiple interfaces provide a form of multiple inheritance.

APIJavaMultiple Inheritance
0 likes · 5 min read
Java Interfaces from Scratch: Core Concepts and Practical Use
Java Architecture Diary
Java Architecture Diary
Jul 1, 2026 · Artificial Intelligence

Spring AI Overhauls Memory: Replacing ChatMemory with Session

Spring AI’s new Session model replaces the fragile sliding‑window ChatMemory, introducing immutable Session metadata, event‑based Turn grouping, configurable compaction triggers and strategies, multi‑agent Branch isolation, and a JDBC‑backed repository to reliably handle long‑running tool‑calling agents.

AgentChatMemoryJava
0 likes · 10 min read
Spring AI Overhauls Memory: Replacing ChatMemory with Session
Java Tech Enthusiast
Java Tech Enthusiast
Jun 30, 2026 · Backend Development

Spring Boot 4.1.0 Released: Official gRPC Support Boosts Java Microservices

Spring Boot 4.1.0 introduces official gRPC support, unified Jackson configuration, HTTP client SSRF protection, enhanced observability with OpenTelemetry, and flexible Log4j file‑rotation strategies, while the roadmap confirms a one‑year lifecycle for each version and signals the shift to the 4.x era for Java microservices.

JavaObservabilitygrpc
0 likes · 8 min read
Spring Boot 4.1.0 Released: Official gRPC Support Boosts Java Microservices
Java Architect Handbook
Java Architect Handbook
Jun 30, 2026 · Backend Development

12 MyBatis‑Plus Tricks That Instantly Boost Development Efficiency

This article presents twelve practical MyBatis‑Plus techniques—including avoiding isNull checks, selecting specific fields, batch operations, EXISTS subqueries, safe ordering, LambdaQuery type safety, between clauses, index‑aware sorting, pagination limits, null‑handling, performance tracking, enum mapping, logical deletion, optimistic locking, and increment/decrement methods—to help developers write cleaner, faster, and more maintainable Java code.

Batch OperationsJavaLambdaQueryWrapper
0 likes · 18 min read
12 MyBatis‑Plus Tricks That Instantly Boost Development Efficiency
Lisa Notes
Lisa Notes
Jun 30, 2026 · Fundamentals

Java Basics: User Login Validation and Sensitive Word Filtering Examples

This tutorial walks through two Java examples—a simple user login verification program and a basic sensitive‑word filtering utility—explaining the problem setup, code logic, and sample outputs to illustrate input validation and string processing techniques.

Input ValidationJavaProgramming Tutorial
0 likes · 8 min read
Java Basics: User Login Validation and Sensitive Word Filtering Examples
Su San Talks Tech
Su San Talks Tech
Jun 30, 2026 · Artificial Intelligence

LangChain4j vs LangGraph4j: Which Java AI Framework Fits Your Needs?

This article compares LangChain4j and LangGraph4j, explaining that the former is an AI capability integration layer for Java while the latter is a state‑graph workflow engine, and guides developers on when to use each based on features such as model access, tool calling, multi‑agent orchestration, conditional routing, checkpointing, and version maturity.

AI agentsJavaLangChain4j
0 likes · 19 min read
LangChain4j vs LangGraph4j: Which Java AI Framework Fits Your Needs?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 30, 2026 · Backend Development

Zero‑Intrusion Dynamic Enhancements for Spring Boot RestClient

The article explains how to eliminate boilerplate when using Spring Boot 3.5.0 RestClient by introducing two custom annotations, @ClientEnhance and @ClientConfig, together with an auto‑configuration class that injects logging interceptors and configurable timeouts into selected RestClient.Builder beans, enabling a non‑intrusive, declarative enhancement.

AutoConfigurationJavaRestClient
0 likes · 8 min read
Zero‑Intrusion Dynamic Enhancements for Spring Boot RestClient
Coder Trainee
Coder Trainee
Jun 29, 2026 · Backend Development

Java Performance Tuning in Practice (Part 6): End-to-End Case Study from Full GC to 200 ms Response

The article walks through a real e‑commerce order service where afternoon spikes caused response times to jump to 2‑3 seconds, Full GC to run every few minutes, and Metaspace to hit 99.9%, then demonstrates step‑by‑step analysis using monitoring, GC logs, jstat, jmap, and heap dumps, fixes a custom class‑loader leak, adjusts JVM flags, and achieves sub‑200 ms latency with no Full GC.

Classloader LeakGCJVM
0 likes · 8 min read
Java Performance Tuning in Practice (Part 6): End-to-End Case Study from Full GC to 200 ms Response
Lisa Notes
Lisa Notes
Jun 29, 2026 · Fundamentals

Java Basics: Using StringBuilder for Efficient Mutable Strings

The article explains why Java's immutable String class can waste memory when concatenated, introduces the mutable StringBuilder class introduced in J2SE 5.0, demonstrates its usage with code examples comparing memory behavior, shows its length and capacity methods, and illustrates practical operations such as reverse and conversion between String and StringBuilder.

CodeExampleJavaMemoryManagement
0 likes · 7 min read
Java Basics: Using StringBuilder for Efficient Mutable Strings
Java Baker
Java Baker
Jun 29, 2026 · Backend Development

How to Diagnose Uneven CPU Usage in Java Services Using Kafka

This article walks through the symptoms, root cause analysis, and step‑by‑step solutions for uneven CPU usage across Java service instances, highlighting how mismatched Kafka partition counts and thread or GC issues can lead to load imbalance and how to resolve them.

CPUJavaKafka
0 likes · 8 min read
How to Diagnose Uneven CPU Usage in Java Services Using Kafka
Coder Trainee
Coder Trainee
Jun 28, 2026 · Fundamentals

Java Performance Tuning Part 5: Hands‑On GC Optimization from G1 to ZGC

This article walks through Java GC tuning by defining low‑latency and high‑throughput goals, comparing major collectors, presenting G1 and ZGC configuration examples, and demonstrating a real‑world payment system case where pause times were reduced from 150‑200 ms to under 50 ms.

GCJVMJava
0 likes · 8 min read
Java Performance Tuning Part 5: Hands‑On GC Optimization from G1 to ZGC
Coder Trainee
Coder Trainee
Jun 27, 2026 · Backend Development

Mastering Java Thread‑Pool Tuning: Practical Performance Tips

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

JavaPerformance TuningSpring
0 likes · 8 min read
Mastering Java Thread‑Pool Tuning: Practical Performance Tips
LuTiao Programming
LuTiao Programming
Jun 27, 2026 · Artificial Intelligence

Microsoft's MAI-Code-1-Flash Arrives in IntelliJ, Prompting Java Teams to Ditch the One‑Model‑Fits‑All Approach

Microsoft's new MAI‑Code‑1‑Flash model is now available in IntelliJ, signaling a shift for Java developers from using a single, heavyweight AI model for all tasks to selecting fast, task‑specific models that improve iteration speed, reduce costs, and better match the risk profile of each coding activity.

AI codingAgent workflowCopilot
0 likes · 19 min read
Microsoft's MAI-Code-1-Flash Arrives in IntelliJ, Prompting Java Teams to Ditch the One‑Model‑Fits‑All Approach
macrozheng
macrozheng
Jun 27, 2026 · Backend Development

Boost IntelliJ IDEA Performance: 10 Simple Tweaks to Eliminate Lag

This article lists ten common IntelliJ IDEA pitfalls—slow performance, Lombok errors, broken breakpoints, encoding issues, unwanted Git files, Maven download slowness, class‑not‑found errors, broken shortcuts, MySQL timezone problems, and automatic reformatting—plus step‑by‑step solutions to make the IDE run smoothly for Java developers.

GitIDE performanceIntelliJ IDEA
0 likes · 25 min read
Boost IntelliJ IDEA Performance: 10 Simple Tweaks to Eliminate Lag
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 27, 2026 · Backend Development

Stop Building Code “Shit Mountains” – 10 Java Clean‑Code Techniques

This article presents ten practical Java clean‑code techniques—from meaningful naming and single‑purpose methods to avoiding magic numbers, writing purposeful comments, proper logging, defensive programming, DTO separation, Stream API usage, Optional handling, and safe ThreadPoolExecutor configuration—each illustrated with concrete code examples and explanations.

DTODefensive ProgrammingJava
0 likes · 12 min read
Stop Building Code “Shit Mountains” – 10 Java Clean‑Code Techniques
Lisa Notes
Lisa Notes
Jun 27, 2026 · Fundamentals

How to Create, Manipulate, and Compare Java Strings Effectively

This article explains Java's immutable String class, covering three ways to instantiate strings, methods for length, concatenation (concat and +), character access, substring extraction, splitting, replacing, searching, and comparison using equals versus ==, with concrete code examples and key rules for each operation.

ComparisonConcatenationImmutable
0 likes · 12 min read
How to Create, Manipulate, and Compare Java Strings Effectively
Java Tech Workshop
Java Tech Workshop
Jun 27, 2026 · Backend Development

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

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

AOPCGLIBJDK Proxy
0 likes · 11 min read
Why Do final, static, and private Methods Escape Spring AOP Proxying?
Coder Trainee
Coder Trainee
Jun 26, 2026 · Backend Development

Java Performance Tuning: Practical Guide to Detecting and Fixing Memory Leaks

This article explains how to differentiate memory leaks from out‑of‑memory errors, identifies classic GC‑based leak signals, introduces a toolchain (jstat, jmap, MAT, Arthas, JProfiler), walks through a step‑by‑step investigation workflow, lists common leak patterns, presents a real‑world ThreadLocal leak case, and offers preventive measures such as monitoring, regular heap dumps, code review, and stress testing.

ArthasGCJava
0 likes · 9 min read
Java Performance Tuning: Practical Guide to Detecting and Fixing Memory Leaks
ZhiKe AI
ZhiKe AI
Jun 26, 2026 · Backend Development

Mastering the 5 Java IO Models: From OS Fundamentals to epoll vs select

An interviewer's question about the difference between epoll and select reveals a tangled web of OS‑level IO mechanisms; this article unpacks user‑space vs kernel‑space, DMA, zero‑copy, buffering, and maps the five Java IO models (BIO, NIO, AIO, etc.) to their underlying system calls.

IOJavaNIO
0 likes · 17 min read
Mastering the 5 Java IO Models: From OS Fundamentals to epoll vs select
LuTiao Programming
LuTiao Programming
Jun 25, 2026 · Backend Development

GitHub Copilot’s New Deep‑Dive Java PR Review: Beyond a Quick Diff Glance

GitHub Copilot Code Review now uses grep, rg, glob and view to actively explore related files in Java pull requests, shifting AI code review from merely commenting on changed lines to investigating the broader impact on transactions, caches, messaging, database queries and system compatibility.

AI Code ReviewBackend DevelopmentGitHub Copilot
0 likes · 20 min read
GitHub Copilot’s New Deep‑Dive Java PR Review: Beyond a Quick Diff Glance
LuTiao Programming
LuTiao Programming
Jun 25, 2026 · Backend Development

JetBrains Junie Goes GA: AI Moves Beyond Code Generation to Control the Debugger

JetBrains has promoted its AI coding agent Junie from beta to general availability, expanding its capabilities from generating Java code to directly operating IntelliJ IDEA’s debugger, planning tasks, accessing project indexes, build configurations, tests, and databases, thereby shifting AI‑assisted troubleshooting from static code analysis to runtime evidence collection.

AI codingDebuggerIntelliJ IDEA
0 likes · 20 min read
JetBrains Junie Goes GA: AI Moves Beyond Code Generation to Control the Debugger
Coder Trainee
Coder Trainee
Jun 25, 2026 · Backend Development

Java Performance Tuning Part 1: Understanding the JVM Memory Model from a GC Log

This article launches a Java performance tuning series, explaining why GC logs are the starting point, reviewing the JVM memory model, showing how to enable and read GC logs, dissecting minor and full GC entries, comparing common GC algorithms, and introducing visualization tools to help pinpoint memory issues.

GCGarbage CollectionJVM
0 likes · 10 min read
Java Performance Tuning Part 1: Understanding the JVM Memory Model from a GC Log
Lisa Notes
Lisa Notes
Jun 25, 2026 · Fundamentals

Java Basics: Numbers, Characters, and String Handling – Day 53 Learning Notes

This tutorial walks through Java's core numeric and character utilities, covering number wrapper classes and autoboxing/unboxing, the Number hierarchy, formatted output with printf/format, DecimalFormat patterns, and the Math class’s constants and methods for arithmetic, logarithmic, trigonometric, and random number generation, all illustrated with concrete code examples.

DecimalFormatJavaMath
0 likes · 15 min read
Java Basics: Numbers, Characters, and String Handling – Day 53 Learning Notes
Java Tech Workshop
Java Tech Workshop
Jun 25, 2026 · Backend Development

Mastering Spring AOP Pointcut Expressions: Precise execution and @annotation Matching Techniques

This article explains why many Spring AOP pointcuts fail, clarifies the execution and @annotation expressions, details wildcard usage, presents dozens of concrete pointcut examples, compares their granularity and performance, and offers best‑practice tips to avoid common pitfalls in real‑world Java projects.

AnnotationJavaPointcut
0 likes · 15 min read
Mastering Spring AOP Pointcut Expressions: Precise execution and @annotation Matching Techniques
Linyb Geek Road
Linyb Geek Road
Jun 25, 2026 · Backend Development

8 Hard‑Earned Rules for Using Spring @Transactional Correctly

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

@TransactionalBest PracticesJava
0 likes · 12 min read
8 Hard‑Earned Rules for Using Spring @Transactional Correctly
Lisa Notes
Lisa Notes
Jun 24, 2026 · Fundamentals

Why Use final Classes and Methods in Java: A Practical Guide

The article explains how the Java final keyword can be applied to classes and methods to prevent inheritance and overriding, provides syntax and concrete code examples—including a final class and a final method in a chess algorithm—and advises using final for safety in constructors.

Javaclassfinal
0 likes · 5 min read
Why Use final Classes and Methods in Java: A Practical Guide
Java Tech Workshop
Java Tech Workshop
Jun 24, 2026 · Backend Development

Mastering Spring AOP: All Four Types of Advice Explained

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

AOPJavaLogging
0 likes · 13 min read
Mastering Spring AOP: All Four Types of Advice Explained
Shepherd Advanced Notes
Shepherd Advanced Notes
Jun 24, 2026 · Backend Development

Boosting Throughput 10×: Architecture Evolution and Tuning for High‑Concurrency Batch Processing

The article details how a sluggish batch‑processing system handling millions of records was redesigned with XXL‑JOB sharding, Redis‑based dynamic task distribution, cursor pagination, and selective transaction scopes, achieving nearly ten‑fold throughput improvement while addressing resource contention, load‑balancing, and reliable result reconciliation.

JavaMySQLPerformance Tuning
0 likes · 19 min read
Boosting Throughput 10×: Architecture Evolution and Tuning for High‑Concurrency Batch Processing
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 24, 2026 · Backend Development

Ditch Traditional JSON Parsing: Boost Spring Boot API Performance by 30×

A four‑month investigation revealed that Jackson’s default object‑mapper consumed over 60% of CPU time during order‑submission requests, causing 900 ms latency; switching to Jackson’s streaming API reduced average response time from 912 ms to 28 ms, cut GC pauses, and increased throughput eight‑fold, while introducing readability and validation trade‑offs.

JSON parsingJavaPerformance Optimization
0 likes · 8 min read
Ditch Traditional JSON Parsing: Boost Spring Boot API Performance by 30×
LuTiao Programming
LuTiao Programming
Jun 23, 2026 · Artificial Intelligence

Spring AI 2.0’s New Lifesaver: Guaranteed JSON Output from Large Models

Spring AI 2.0 adds self‑healing structured output with schema validation and provider‑side constraints, letting Java applications receive reliable JSON objects from large language models, eliminating brittle string‑cleaning code while still requiring business‑level validation.

AI integrationJSON schemaJava
0 likes · 20 min read
Spring AI 2.0’s New Lifesaver: Guaranteed JSON Output from Large Models
Coder Trainee
Coder Trainee
Jun 23, 2026 · Backend Development

Production-Grade Deployment and Best Practices for Java AI Applications

This article examines the three core challenges—stability, cost, and observability—of running Java AI services in production and presents concrete solutions such as timeout and retry policies, circuit‑breaker fallback, token‑monitoring, caching, tracing, custom metrics, and Docker‑based containerization.

AIDockerJava
0 likes · 6 min read
Production-Grade Deployment and Best Practices for Java AI Applications
ITPUB
ITPUB
Jun 23, 2026 · Backend Development

Why AI Coding Feels Much Slower in Java and How Five Harness Techniques Fix It

The article explains why AI‑assisted coding loops that run instantly on lightweight projects stall in Java microservices, and presents five concrete harness engineering principles—dependency inversion, zero‑intrusion profile isolation, CLI tool integration, CLAUDE.md documentation, and verification scripts—to create a fully local, AI‑friendly development environment.

AI codingCLIDependency Injection
0 likes · 23 min read
Why AI Coding Feels Much Slower in Java and How Five Harness Techniques Fix It
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 23, 2026 · Backend Development

One Bad Log Can Halve Spring Boot Throughput – How to Log Without Losing Performance

The article explains why effective logging is crucial for Java applications, compares proper and improper logging practices with SLF4J and Logback, and provides fourteen concrete best‑practice guidelines—including correct logger setup, level usage, placeholders, asynchronous and structured logging—to avoid performance degradation and security risks.

Asynchronous LoggingJavaLogback
0 likes · 14 min read
One Bad Log Can Halve Spring Boot Throughput – How to Log Without Losing Performance
Lisa Notes
Lisa Notes
Jun 23, 2026 · Fundamentals

Understanding Java’s Object Class: Core Methods, Cloning, and Equality

The article explains Java's Object class as the root of all classes, details its fundamental methods such as clone, equals, hashCode, toString, finalize and getClass, illustrates shallow vs. deep copying, shows how to override equals with a Book example, and warns about using finalize for cleanup.

JavaObject classclone
0 likes · 10 min read
Understanding Java’s Object Class: Core Methods, Cloning, and Equality
Java Tech Workshop
Java Tech Workshop
Jun 23, 2026 · Backend Development

Request vs Session Scope: Usage Scenarios and Thread‑Safety Pitfalls in Java Web

Understanding the lifecycle, scope, and thread characteristics of HttpServletRequest and HttpSession reveals common misuse that leads to data corruption, login state errors, and lost cart data; the article explains core differences, proper use cases, real‑world bug examples, and practical solutions such as read‑only policies, synchronization, thread‑safe collections, and Redis‑based session storage.

JavaRequest ScopeSession Scope
0 likes · 14 min read
Request vs Session Scope: Usage Scenarios and Thread‑Safety Pitfalls in Java Web
LuTiao Programming
LuTiao Programming
Jun 22, 2026 · Backend Development

Claude Agent in IntelliJ IDEA Public Beta: How Java Development Is Changing

The article analyzes the public beta of Claude Agent in IntelliJ IDEA, explaining how its deep IDE integration transforms Java developers' workflow from manual code editing to AI‑driven multi‑step task execution, while highlighting new risks, team‑level usage, and practical start‑up steps.

AI AgentClaudeGitHub Copilot
0 likes · 16 min read
Claude Agent in IntelliJ IDEA Public Beta: How Java Development Is Changing
Coder Trainee
Coder Trainee
Jun 22, 2026 · Artificial Intelligence

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

This article explains why LangChain4j is needed for advanced Java AI agents, compares its capabilities with Spring AI, walks through project setup, configuration, defining tools and memory, assembling the agent, and demonstrates a complete smart‑customer service example with testing commands.

AI agentsChatMemoryJava
0 likes · 10 min read
Building Java AI Agents with LangChain4j: A Hands‑On Guide
Java Architect Handbook
Java Architect Handbook
Jun 22, 2026 · Backend Development

How to Implement Consumer‑Side Throttling in RabbitMQ

RabbitMQ achieves consumer‑side throttling by configuring basic.qos with a prefetchCount, disabling automatic ACK, and using manual ACK so that the broker only pushes a limited number of unacknowledged messages, with detailed guidance on parameter settings, pitfalls, and code examples.

JavaRabbitMQbasic.qos
0 likes · 10 min read
How to Implement Consumer‑Side Throttling in RabbitMQ
LuTiao Programming
LuTiao Programming
Jun 22, 2026 · Industry Insights

SpaceX’s $60B Cursor Deal Shows AI Programming Moving Beyond Code Writing

SpaceX’s $60 billion acquisition of Cursor reveals a turning point where AI programming is evolving from merely generating code snippets to orchestrating the entire software development lifecycle—handling requirements analysis, environment setup, testing, and pull‑request creation—especially within complex Java projects that demand robust build and test pipelines.

AI programmingCI/CDCloud Agent
0 likes · 20 min read
SpaceX’s $60B Cursor Deal Shows AI Programming Moving Beyond Code Writing
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 22, 2026 · Backend Development

Why UUID Falls Short and How Snowflake Solves Distributed ID Generation

The article examines the limitations of using UUIDs for distributed unique identifiers, compares common alternatives such as database auto‑increment and Redis, and then details the Snowflake algorithm’s structure, implementation, advantages, and drawbacks for high‑performance ID generation.

Distributed IDID GenerationJava
0 likes · 15 min read
Why UUID Falls Short and How Snowflake Solves Distributed ID Generation
Lisa Notes
Lisa Notes
Jun 22, 2026 · Fundamentals

How to Use Java’s super Keyword to Call a Superclass Constructor

This tutorial explains how the super keyword invokes a superclass constructor—both no‑argument and parameterized—illustrates constructor chaining across inheritance hierarchies with concrete Java code examples, and highlights compilation errors when a matching superclass constructor is missing.

Javaconstructorconstructor chaining
0 likes · 9 min read
How to Use Java’s super Keyword to Call a Superclass Constructor
Coder Trainee
Coder Trainee
Jun 21, 2026 · Artificial Intelligence

Hands‑On Java Function Calling with Spring AI: Build an Intelligent Customer Service Bot

This article explains how Function Calling lets large language models invoke Java methods via Spring AI, walks through the four‑step workflow, shows declarative and programmatic tool definitions, and demonstrates a complete customer‑service chatbot with code examples and best‑practice guidelines.

AI integrationChatbotFunction Calling
0 likes · 11 min read
Hands‑On Java Function Calling with Spring AI: Build an Intelligent Customer Service Bot
Java Architect Handbook
Java Architect Handbook
Jun 21, 2026 · Backend Development

Why PowerJob Makes Our Project Sleep Easy: A Hands‑On Guide

This article walks through the core features of PowerJob, compares it with other Java job schedulers, and provides step‑by‑step instructions for installing, configuring, and creating tasks using both Docker and jar deployments, complete with code samples and UI screenshots.

Distributed SchedulingJavaPowerJob
0 likes · 14 min read
Why PowerJob Makes Our Project Sleep Easy: A Hands‑On Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 21, 2026 · Backend Development

Spring Boot + Yauaa: Ultra‑Precise Parsing of Client Device, OS, and Browser Info

This article walks through using the Yauaa library in Spring Boot 3.5.0 to extract detailed client‑side information—device class, operating system, and browser—from the User‑Agent header, covering basic bean setup, advanced cache configuration, field selection, and device‑based routing examples.

Cache ConfigurationDevice DetectionJava
0 likes · 8 min read
Spring Boot + Yauaa: Ultra‑Precise Parsing of Client Device, OS, and Browser Info
java1234
java1234
Jun 21, 2026 · Artificial Intelligence

AgentScope Java 2.0 Unveiled: Major Upgrades for Production‑Ready AI Agents

The open‑source AgentScope Java framework now ships with version 2.0, introducing HarnessAgent for long‑running tasks, a Workspace‑based persistence layer, enterprise‑grade multi‑tenant isolation, streaming events, and a refactored middleware model, all illustrated with runnable Java examples and a concise feature table.

AI agentsAgentScopeHarnessAgent
0 likes · 12 min read
AgentScope Java 2.0 Unveiled: Major Upgrades for Production‑Ready AI Agents
Lisa Notes
Lisa Notes
Jun 21, 2026 · Fundamentals

How to Use Java’s super Keyword to Access Base-Class Members

This tutorial demonstrates how the super keyword lets a subclass invoke overridden methods and access shadowed fields in its superclass, providing step‑by‑step Java code examples, execution results, and explanations of the underlying inheritance mechanics.

Javafield shadowinginheritance
0 likes · 5 min read
How to Use Java’s super Keyword to Access Base-Class Members
Deepin Linux
Deepin Linux
Jun 21, 2026 · Backend Development

Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It

The article explains how off‑heap memory and mmap enable zero‑copy I/O for high‑performance Linux services, but because the JVM does not manage it, careless allocation or missing releases can cause off‑heap memory leaks that lead to OOM, and it provides concrete detection and mitigation techniques.

C#JavaLinux
0 likes · 24 min read
Why Off‑Heap Memory Can Leak on Linux—and How to Avoid It
Java Architect Essentials
Java Architect Essentials
Jun 20, 2026 · Backend Development

FastUtil High‑Performance Collection Best Practices: Speed Up Your Java Programs

FastUtil, an open‑source library maintained by Sebastiano Vigna, offers type‑specialized Java collections that are typically 2–5× faster and use 40–70% less memory than JDK equivalents, and this article provides detailed benchmarks, a cheat‑sheet of core types, production‑ready code snippets, Maven/Gradle setup, and a checklist of common pitfalls to help developers adopt FastUtil safely and efficiently.

CollectionsFastUtilJava
0 likes · 12 min read
FastUtil High‑Performance Collection Best Practices: Speed Up Your Java Programs
Coder Trainee
Coder Trainee
Jun 20, 2026 · Artificial Intelligence

Java RAG Tutorial: Vector Search and Knowledge‑Base Integration

This article explains how to equip a Java application with Retrieval‑Augmented Generation (RAG) so large language models can access private PDFs, Word files, and internal documents, covering the core architecture, two implementation paths using LangChain4j and Spring AI, vector‑store options, and practical tuning techniques.

JavaLangChain4jRAG
0 likes · 12 min read
Java RAG Tutorial: Vector Search and Knowledge‑Base Integration
IT Services Circle
IT Services Circle
Jun 20, 2026 · Artificial Intelligence

How I Doubled RAG Accuracy with These Optimizations

This article walks through a complete RAG pipeline, identifying common pitfalls from document preprocessing to prompt construction, and provides concrete Python and Java examples, chunking strategies, embedding tweaks, hybrid retrieval, reranking, advanced techniques, and evaluation methods to reliably double retrieval accuracy.

Artificial IntelligenceEmbeddingJava
0 likes · 35 min read
How I Doubled RAG Accuracy with These Optimizations
Lisa Notes
Lisa Notes
Jun 20, 2026 · Fundamentals

Java Variable Hiding: How Subclass Fields Mask Base Class Members

The note explains Java's variable hiding where a subclass field with the same name as a superclass field conceals the original, demonstrates it with a Father‑Son example, shows the output, and warns that such practice can hurt code readability.

JavaSubclassSuperclass
0 likes · 3 min read
Java Variable Hiding: How Subclass Fields Mask Base Class Members
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 20, 2026 · Backend Development

A Minimalist HTTP Client: One‑Line Requests with OKHttpUtil

OKHttpUtil wraps Square's OkHttp library to provide a lightweight, easy‑to‑use HTTP client for Java and Kotlin, automatically handling HTTP/HTTPS detection, cookies, redirects, gzip, proxy and User‑Agent configuration, with Maven coordinates, Spring Boot starter support and concise code examples for GET, POST, file upload, download and custom API wrappers.

API wrapperHTTP ClientJava
0 likes · 10 min read
A Minimalist HTTP Client: One‑Line Requests with OKHttpUtil
Architect's Guide
Architect's Guide
Jun 20, 2026 · Backend Development

How to Auto‑Cancel Unpaid Orders After 30 Minutes: Design and Implementation Options

The article explains the concept of delayed tasks versus scheduled tasks and evaluates several backend solutions—including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET, Redis key‑space notifications, and RabbitMQ delayed queues—detailing their implementations, code samples, advantages, and drawbacks for automatically cancelling orders that remain unpaid for a set period.

Delayed TaskJavaQuartz
0 likes · 17 min read
How to Auto‑Cancel Unpaid Orders After 30 Minutes: Design and Implementation Options
Linyb Geek Road
Linyb Geek Road
Jun 20, 2026 · Backend Development

Step-by-Step Guide to Building a Maven Private Repository with Nexus

This tutorial explains why a private Maven repository is useful for Java teams, walks through downloading and installing Nexus on Linux, configuring repositories, managing firewall rules, setting up anonymous access, and publishing and retrieving artifacts using Maven settings and commands.

JavaLinuxNexus
0 likes · 12 min read
Step-by-Step Guide to Building a Maven Private Repository with Nexus
Coder Trainee
Coder Trainee
Jun 19, 2026 · Artificial Intelligence

Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling

This article explores Spring AI's core design patterns, advanced ChatClient usage, dynamic PromptTemplate creation, few‑shot prompting, structured output parsing, and declarative function calling with @Tool annotations, providing code examples, advisor mechanisms, and testing tips for Java developers.

AI integrationChatClientFunction Calling
0 likes · 13 min read
Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 19, 2026 · Backend Development

Java Pooling Under High Concurrency: Resource Reuse and Performance Optimization

The article explains Java pooling techniques for high‑concurrency scenarios, introduces Apache Commons Pool 2, demonstrates how to configure dependencies, implement a PooledObjectFactory, create custom eviction policies and statistics, and shows a complete runnable example that highlights resource reuse and performance gains.

JavaPerformance Optimizationapache-commons-pool
0 likes · 8 min read
Java Pooling Under High Concurrency: Resource Reuse and Performance Optimization
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 19, 2026 · Artificial Intelligence

How Spring AI’s Dynamic Tool Discovery Cuts Token Usage by 34%‑64%

The article explains how Spring AI’s recursive advisors enable dynamic tool discovery, replacing the traditional all‑tools‑in‑prompt approach, thereby reducing token consumption by 34%‑64% while preserving access to hundreds of tools, and provides benchmark data, code examples, and configurable search strategies.

Dynamic Tool DiscoveryJavaLLM
0 likes · 11 min read
How Spring AI’s Dynamic Tool Discovery Cuts Token Usage by 34%‑64%
Coder Trainee
Coder Trainee
Jun 18, 2026 · Artificial Intelligence

Exploring the Java LLM Ecosystem: Build Your First AI Chat Application

This tutorial walks Java backend developers through the mature Java LLM ecosystem, comparing frameworks like Spring AI and LangChain4j, and demonstrates step‑by‑step how to create a Spring Boot application with a chat endpoint, streaming responses, and dynamic model switching among OpenAI, Tongyi Qwen, and Ollama.

ChatbotJavaLLM
0 likes · 10 min read
Exploring the Java LLM Ecosystem: Build Your First AI Chat Application
macrozheng
macrozheng
Jun 18, 2026 · Artificial Intelligence

Why AgentScope Java 2.0 Is Needed to Bridge the Demo‑to‑Production Gap in AI Agent Development

AgentScope Java 2.0, released in June 2026, adds native distributed deployment, multi‑tenant isolation, fine‑grained permission control, workspace‑driven state management, middleware extensibility, model fault‑tolerance and event‑stream APIs, turning demo‑only agents into production‑ready, observable, and secure AI services for enterprise Java environments.

AI agentsAgentScopeJava
0 likes · 28 min read
Why AgentScope Java 2.0 Is Needed to Bridge the Demo‑to‑Production Gap in AI Agent Development
LuTiao Programming
LuTiao Programming
Jun 17, 2026 · Backend Development

Why Salesforce’s $3.6B AI Customer Service Bet Highlights the Real Opportunity for Java Back‑End Developers

The article explains how Salesforce’s $3.6 billion acquisition of Fin signals a shift from simple chatbot answers to AI agents that execute end‑to‑end business actions, and why Java/Spring Boot developers must expose secure, auditable services rather than merely wrapping large‑model APIs.

AI Agent ArchitectureAI Customer ServiceJava
0 likes · 21 min read
Why Salesforce’s $3.6B AI Customer Service Bet Highlights the Real Opportunity for Java Back‑End Developers