Tagged articles

Java

5000 articles · Page 8 of 50
LuTiao Programming
LuTiao Programming
May 28, 2026 · Backend Development

How a Master‑Child AI Agent Took Over a Spring Boot Project and Transformed the Development Team

After letting a Codex‑powered master‑child AI agent manage a multi‑module Spring Boot application, the author observed the system automatically scanning modules, inferring impact of a new refund feature, delegating tasks to specialized sub‑agents, and even fixing compile and runtime errors, revealing a shift from mere code completion to genuine engineering collaboration.

AI AgentDevOpsJava
0 likes · 8 min read
How a Master‑Child AI Agent Took Over a Spring Boot Project and Transformed the Development Team
ITPUB
ITPUB
May 28, 2026 · Backend Development

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

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

AIJavaOpenRewrite
0 likes · 11 min read
Skipping Spring Upgrades: Hidden Risks or Upgrade Hazards? Tanzu Spring’s Answer
The Dominant Programmer
The Dominant Programmer
May 28, 2026 · Artificial Intelligence

Spring AI RAG: Concepts, Hands‑On Implementation, and Full Code

This article explains the limitations of large language models, introduces Retrieval‑Augmented Generation (RAG) and its four‑step workflow, details Spring AI's RAG components and vector‑store options, and provides complete, runnable Java code—including Maven, configuration, and service classes—to build a local knowledge‑base Q&A system.

EmbeddingJavaOllama
0 likes · 18 min read
Spring AI RAG: Concepts, Hands‑On Implementation, and Full Code
Sohu Tech Products
Sohu Tech Products
May 27, 2026 · Backend Development

IDEA + JavaAI: A Hands‑On Review of Building a Mini‑Redis Spring Boot Starter

After struggling with AI‑generated code that failed on global edge cases, the author evaluates the FeiSuan JavaAI IDEA plugin, walking through its five‑agent workflow—from requirement planning to source generation—and demonstrates how it successfully creates a production‑ready mini‑redis Spring Boot starter with thorough testing.

AI code generationAgentIDEA
0 likes · 16 min read
IDEA + JavaAI: A Hands‑On Review of Building a Mini‑Redis Spring Boot Starter
Alibaba Cloud Native
Alibaba Cloud Native
May 27, 2026 · Artificial Intelligence

Quickly Build Enterprise Self‑Evolving Agents with AgentScope Builder and Harness Framework

This article presents a deep technical walkthrough of AgentScope Builder, showing how the Harness framework enables a single Java agent implementation to run on a personal machine as MinQwenPaw and then scale to a multi‑tenant, distributed enterprise platform with workspace isolation, sandboxing, and pluggable storage backends.

AgentArtificial IntelligenceCloud Native
0 likes · 23 min read
Quickly Build Enterprise Self‑Evolving Agents with AgentScope Builder and Harness Framework
IT Services Circle
IT Services Circle
May 27, 2026 · Backend Development

How to Speed Up IntelliJ IDEA: 10 Essential Fixes

This article lists ten common IntelliJ IDEA problems—from sluggish performance and Lombok errors to Git commit issues and MySQL connection failures—and provides concrete configuration steps, code snippets, and best‑practice recommendations to resolve each pitfall for Java developers.

GitIDE performanceIntelliJ IDEA
0 likes · 21 min read
How to Speed Up IntelliJ IDEA: 10 Essential Fixes
Java Architect Handbook
Java Architect Handbook
May 27, 2026 · Fundamentals

What Triggers Young GC vs. Full GC in Java? Interview Guide

The article explains that Young GC fires when the Eden space is full, while Full GC can be triggered by old‑generation shortage, metaspace exhaustion, allocation‑guarantee failure, or an explicit System.gc() call, and provides interview‑ready answers, diagnostic steps, and a comparison table.

JVMJavaPerformance
0 likes · 14 min read
What Triggers Young GC vs. Full GC in Java? Interview Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 27, 2026 · Backend Development

Why the Powerful Java WatchService API Is Still Overlooked

This article explains how to use Java's built‑in WatchService API to monitor file‑system changes in real time, covering service creation, directory registration, event handling, key lifecycle, polling methods, a complete runnable example, and an advanced version that leverages virtual threads for efficient concurrency.

File MonitoringJavaNIO
0 likes · 8 min read
Why the Powerful Java WatchService API Is Still Overlooked
Architect's Guide
Architect's Guide
May 27, 2026 · Backend Development

Comprehensive Collection of Java Backend Architecture Diagrams

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

HibernateJVMJava
0 likes · 5 min read
Comprehensive Collection of Java Backend Architecture Diagrams
Su San Talks Tech
Su San Talks Tech
May 27, 2026 · Artificial Intelligence

Why Switch from Hand‑Written HTTP Calls to Spring AI for Large‑Model Integration?

The article analyzes the drawbacks of manually coding HTTP calls to large language models—hard‑coded keys, fragile request construction, missing retries, and poor observability—and demonstrates how Spring AI’s layered abstraction, unified configuration, built‑in resilience, function calling, RAG support, and seamless Spring ecosystem integration solve these problems for production‑grade Java applications.

BackendFunction CallingJava
0 likes · 24 min read
Why Switch from Hand‑Written HTTP Calls to Spring AI for Large‑Model Integration?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 27, 2026 · Backend Development

Master Modern Spring Boot Logging: 8 Essential Scenarios Covered

This guide walks through configuring comprehensive logging in Spring Boot 3.5 for eight common scenarios—including JPA SQL, transaction flow, JDBC operations, RestTemplate, RestClient, WebClient, controller requests, and Feign calls—providing concrete code samples, YAML settings, and sample output to help developers troubleshoot and monitor applications effectively.

FeignJPAJava
0 likes · 12 min read
Master Modern Spring Boot Logging: 8 Essential Scenarios Covered
LuTiao Programming
LuTiao Programming
May 26, 2026 · Industry Insights

When AI Agents Stop Chatting and Start Running Your Workflows

A brief experiment shows that an AI agent can execute an entire refund workflow—from querying the order to notifying finance—without any user clicks, illustrating a shift from traditional UI‑driven software to AI‑driven workflow automation that could reshape enterprise systems.

AI AgentsAI industryJava
0 likes · 7 min read
When AI Agents Stop Chatting and Start Running Your Workflows
Architect's Ambition
Architect's Ambition
May 26, 2026 · Artificial Intelligence

Choosing CLI vs MCP for Enterprise AI Agents: A Hybrid Approach Balancing Cost and Effectiveness

The article compares CLI and MCP as integration methods for enterprise AI agents, presents benchmark data showing CLI's lower cost and higher reliability, explains why MCP is needed for compliance and structured data, and recommends a "CLI‑first, MCP‑supplement" architecture with reusable Python or Java implementations across multiple AI tools.

AI AgentCLIJava
0 likes · 24 min read
Choosing CLI vs MCP for Enterprise AI Agents: A Hybrid Approach Balancing Cost and Effectiveness
CodeNotes
CodeNotes
May 26, 2026 · Fundamentals

Mastering Java Lambda Expressions: From Anonymous Classes to Method References

This guide walks through the evolution from traditional classes to anonymous inner classes and finally to Java 8 lambda expressions, explains lambda syntax, demonstrates all four method‑reference forms, covers variable capture rules, this binding, practical stream chaining, and highlights common pitfalls for Java developers.

Functional ProgrammingJavaMethod Reference
0 likes · 9 min read
Mastering Java Lambda Expressions: From Anonymous Classes to Method References
Su San Talks Tech
Su San Talks Tech
May 26, 2026 · Backend Development

Mybatis-Plus vs Mybatis-Flex: Which ORM Framework Is Best for Your Project?

This article provides a detailed comparison between Mybatis-Plus and Mybatis-Flex, examining their design philosophies, core mechanisms, feature sets, performance benchmarks, database support, dependency weight, and community maturity, and offers practical guidance on choosing the right framework for different project scenarios.

Feature comparisonJavaMyBatis-Flex
0 likes · 19 min read
Mybatis-Plus vs Mybatis-Flex: Which ORM Framework Is Best for Your Project?
IoT Full-Stack Technology
IoT Full-Stack Technology
May 26, 2026 · Backend Development

Build a Real‑Time Message Push Service with Spring Boot, Netty and WebSocket

This article walks through creating a Netty‑based WebSocket server integrated with Spring Boot, covering server bootstrap, global channel management, pipeline configuration, a custom handler for client messages, and a push‑message service that can target individual users or broadcast to all connections, complete with code samples and testing steps.

JavaMessage PushNetty
0 likes · 6 min read
Build a Real‑Time Message Push Service with Spring Boot, Netty and WebSocket
java1234
java1234
May 26, 2026 · Artificial Intelligence

Master Spring AI Alibaba: Build AI Agents, Workflows, and Multi‑Agent Apps with Minimal Java Code

Spring AI Alibaba extends Spring AI with a native agent and workflow framework, integrating Alibaba's DashScope models, ReactAgent, multi‑agent orchestration, Graph workflows, tool calling, memory handling, and production‑grade features, enabling Java developers to create sophisticated AI applications with just a few lines of code.

AI IntegrationAgent FrameworkDashScope
0 likes · 22 min read
Master Spring AI Alibaba: Build AI Agents, Workflows, and Multi‑Agent Apps with Minimal Java Code
Java Web Project
Java Web Project
May 26, 2026 · Artificial Intelligence

Master Spring AI Alibaba: Token Basics, RAG, and Multi‑Agent Implementation

This article walks through the core concepts of Spring AI Alibaba—including token mechanics, prompt structures, embedding, structured output, chat memory, RAG pipelines, function calling, and graph‑based multi‑agent workflows—while providing concrete code samples, configuration tips, performance tricks, and a curated list of common pitfalls.

Alibaba CloudFunction CallingGraph Agents
0 likes · 24 min read
Master Spring AI Alibaba: Token Basics, RAG, and Multi‑Agent Implementation
The Dominant Programmer
The Dominant Programmer
May 26, 2026 · Artificial Intelligence

Spring AI ChatMemory: Concepts, Practical Setup, and Common Issues

This guide explains how Spring AI abstracts LLM conversation memory using a three‑layer architecture, demonstrates configuring MessageWindowChatMemory with a sliding‑window strategy, shows two ways to register the memory advisor, and provides complete Maven, YAML, and Java code examples with test screenshots.

ChatMemoryJavaLLM
0 likes · 9 min read
Spring AI ChatMemory: Concepts, Practical Setup, and Common Issues
Java Architect Essentials
Java Architect Essentials
May 25, 2026 · Backend Development

AOP Aspect Order Mistakes? Stop Misusing @Order – A Rule That Cuts Interview Errors to Zero

A real‑world incident where mis‑ordered Spring AOP aspects caused payment callbacks to report success while the transaction rolled back leads to a concise rule—smaller @Order values have higher priority—plus pitfalls, three common scenarios, and a four‑step debugging guide that eliminates interview mistakes.

@OrderAspectJJava
0 likes · 8 min read
AOP Aspect Order Mistakes? Stop Misusing @Order – A Rule That Cuts Interview Errors to Zero
CodeNotes
CodeNotes
May 25, 2026 · Fundamentals

Master Java Enums: Safer, More Readable Alternative to Magic Numbers

Java enums replace magic numbers with meaningful, type‑safe constants, improving readability and safety; the guide covers basic definitions, core methods, typical usages like switch statements and iteration, advanced features with fields and constructors, a comparison with static‑final constant classes, and common pitfalls to avoid.

EnumJavabest practices
0 likes · 6 min read
Master Java Enums: Safer, More Readable Alternative to Magic Numbers
Programmer1970
Programmer1970
May 25, 2026 · Backend Development

How a Full GC Spike Turned 50 ms P99 Latency into 3 s – Full Investigation

When a monitoring alarm showed the /api/order/create endpoint’s P99 latency jump from under 50 ms to over 3 s, the team traced the root cause to a Full GC storm caused by an unbounded static HashMap cache, using Arthas, heap dumps, MAT analysis, and finally applied both quick‑fix and permanent code changes to restore performance.

ArthasCaffeineEclipse MAT
0 likes · 8 min read
How a Full GC Spike Turned 50 ms P99 Latency into 3 s – Full Investigation
Three Knives
Three Knives
May 25, 2026 · Databases

Redisun 1.4.0: A 33KB Java Redis Client That Beats Redisson by 8×

Redisun 1.4.0 is a 33KB Java Redis client that uses connection‑reuse and Java AIO to achieve up to ten‑fold higher throughput than traditional clients such as Redisson, Lettuce and Jedis, while reducing startup time, memory usage, image size and bandwidth, and it offers a simple Maven dependency and API.

AIOJavaPerformance Benchmarking
0 likes · 5 min read
Redisun 1.4.0: A 33KB Java Redis Client That Beats Redisson by 8×
IT Services Circle
IT Services Circle
May 25, 2026 · Backend Development

Druid vs HikariCP: Which Connection Pool Wins?

This article compares Druid and HikariCP, the two most popular Java database connection pools, by explaining how connection pools work, presenting benchmark results, dissecting HikariCP's lock‑free design and bytecode optimizations, detailing Druid's rich monitoring and security features, and offering a practical decision framework for different scenarios.

DruidHikariCPJava
0 likes · 19 min read
Druid vs HikariCP: Which Connection Pool Wins?
IoT Full-Stack Technology
IoT Full-Stack Technology
May 25, 2026 · Backend Development

Practical Spring Boot + Netty + WebSocket Message Push

This article walks through building a simple Netty server integrated with Spring Boot and WebSocket, showing how to configure the server, manage channel groups, implement custom handlers, and expose a service that can push messages to individual users or broadcast to all connected clients.

BackendJavaMessage Push
0 likes · 8 min read
Practical Spring Boot + Netty + WebSocket Message Push
CodeSmart Hoops
CodeSmart Hoops
May 25, 2026 · Backend Development

Hands‑On Unit Tests for Full Spring Cache Features

This guide walks through setting up a Spring Boot 3.x project with JDK 17+, adding the necessary Maven dependencies, and implementing a comprehensive JUnit 5 test suite that demonstrates @Cacheable, @CachePut, @CacheEvict (single‑key and all‑entries), SpEL‑based keys, condition/unless caching, and the AOP proxy pitfall of same‑class calls, plus instructions for running the tests via Maven or IntelliJ IDEA.

JUnit5JavaSpring
0 likes · 19 min read
Hands‑On Unit Tests for Full Spring Cache Features
Java Tech Workshop
Java Tech Workshop
May 25, 2026 · Backend Development

Ensuring SpringBoot Message Idempotency to Prevent Duplicate Consumption

The article analyzes why duplicate consumption is inevitable in MQ systems, defines message idempotency, and presents four practical solutions—including Redis SETNX, database unique indexes, state‑machine with optimistic locking, and global unique constraints—along with their pros, cons, and best‑practice guidelines for SpringBoot applications.

JavaMQMessage Idempotency
0 likes · 13 min read
Ensuring SpringBoot Message Idempotency to Prevent Duplicate Consumption
Linyb Geek Road
Linyb Geek Road
May 25, 2026 · Artificial Intelligence

Designing a Claude Code Harness for Production‑Grade Java Microservices

The article presents a detailed, production‑focused harness for Claude Code that structures prompts, rules, skills, and external hooks to compensate for LLM shortcomings in Java microservice development, preventing hallucinations, concurrency bugs, and false completions while ensuring reliable code delivery.

Code GenerationJavaLLM
0 likes · 20 min read
Designing a Claude Code Harness for Production‑Grade Java Microservices
CodeNotes
CodeNotes
May 24, 2026 · Fundamentals

Master Java Basics: Essential Object, String, and Collection Methods Explained

This guide walks Java beginners through the fundamental classes Object, String, and Collection, detailing their most frequently used methods, key differences such as == versus equals, and practical code examples for overriding methods, string concatenation optimization, and common collection operations.

CollectionCore APIJava
0 likes · 9 min read
Master Java Basics: Essential Object, String, and Collection Methods Explained
Su San Talks Tech
Su San Talks Tech
May 24, 2026 · Backend Development

How to Speed Up IntelliJ IDEA: 10 Essential Fixes for Java Developers

This article lists ten common IntelliJ IDEA pitfalls—such as high memory usage, indexing delays, Lombok errors, broken breakpoints, console encoding issues, unwanted Git commits, slow Maven downloads, classpath mismatches, shortcut conflicts, and automatic code reformatting—and provides step‑by‑step solutions to make the IDE run smoothly for Java and Spring projects.

GitIDE optimizationIntelliJ IDEA
0 likes · 23 min read
How to Speed Up IntelliJ IDEA: 10 Essential Fixes for Java Developers
LuTiao Programming
LuTiao Programming
May 24, 2026 · Backend Development

How Spring Boot and MCP Enable Java to Lead the AI Agent Ecosystem

This article explains the Model Context Protocol (MCP), compares it with traditional function calling, and walks through building a Spring Boot MCP server that lets Claude Desktop automatically invoke Java tools, covering architecture, code examples, security extensions, and future enterprise AI integrations.

AI AgentClaude DesktopJava
0 likes · 11 min read
How Spring Boot and MCP Enable Java to Lead the AI Agent Ecosystem
Java Tech Workshop
Java Tech Workshop
May 24, 2026 · Fundamentals

Why Does Java Initialize Static Members Before Instance Members? A Deep Dive into Object Initialization

The article explains Java's two‑phase object initialization, the seven‑step JVM process, static versus instance execution order, parent‑child class initialization rules, variable assignment lifecycle, and common pitfalls such as static forward references and constructor‑called overridden methods, all illustrated with concrete code examples.

InheritanceJVMJava
0 likes · 10 min read
Why Does Java Initialize Static Members Before Instance Members? A Deep Dive into Object Initialization
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 24, 2026 · Backend Development

Stop Returning null! 4 Advanced Optional Patterns

The article explains why returning null from Java service methods is risky, demonstrates how to replace null with Optional as a return type, and presents four advanced Optional usage patterns—including chaining, flatMap, and proper scope—to write safer, more readable Spring Boot code.

Functional ProgrammingJavaNull Safety
0 likes · 12 min read
Stop Returning null! 4 Advanced Optional Patterns
The Dominant Programmer
The Dominant Programmer
May 24, 2026 · Artificial Intelligence

Integrating Spring AI with Ollama for Tool Calling: A Complete Beginner‑to‑Practice Guide

This article walks through setting up Spring AI with Ollama, explains the tool‑calling workflow, shows two ways to define tools, provides full Maven and YAML configurations, presents runnable Java code for services, chat client, and controller, and addresses common compatibility and dependency issues.

AI IntegrationJavaOllama
0 likes · 12 min read
Integrating Spring AI with Ollama for Tool Calling: A Complete Beginner‑to‑Practice Guide
Cloud Architecture
Cloud Architecture
May 23, 2026 · Cloud Native

Build a Production-Ready Observability Platform with OpenTelemetry

To solve fragmented monitoring in Java microservices, the article details how to construct a production‑grade observability platform using OpenTelemetry, covering unified data models, collector architecture, tracing, metrics, logging, sampling strategies, Kubernetes deployment, and practical guidelines for scaling, governance, and root‑cause analysis.

JavaKubernetesOpenTelemetry
0 likes · 37 min read
Build a Production-Ready Observability Platform with OpenTelemetry
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 23, 2026 · Artificial Intelligence

Auto‑Splitting AI Agent Tasks and Real‑Time Monitoring with Spring AI + TodoWrite

This article explains how the TodoWriteTool, a Spring AI extension, solves large‑language‑model “mid‑session forgetting” by automatically splitting complex agent tasks into explicit, sequential subtasks and providing real‑time progress monitoring, with a complete Spring Boot 3.5.0 setup, code examples, and a runnable demonstration.

AgentJavaSpring AI
0 likes · 7 min read
Auto‑Splitting AI Agent Tasks and Real‑Time Monitoring with Spring AI + TodoWrite
Linyb Geek Road
Linyb Geek Road
May 23, 2026 · Backend Development

8 Essential Claude Code Skills to Supercharge Your Spring Boot Projects

This article explains what Claude Code Skills are, lists the eight most valuable Spring Boot Skills, shows how to configure each Skill with concrete examples and YAML rules, and provides step‑by‑step instructions for integrating them into a Java 21 / Spring Boot 3.x project.

AI code generationClaude CodeJava
0 likes · 15 min read
8 Essential Claude Code Skills to Supercharge Your Spring Boot Projects
samdeepthink
samdeepthink
May 22, 2026 · Backend Development

Building a Payment System for Hundreds of Millions of Users – Part 1 Intro

An incident where a forged free‑card callback corrupted order status reveals the need for daily cross‑system reconciliation, and the article outlines a 20‑part series that details the architecture, design decisions, multi‑channel handling, risk control, and implementation of a production‑grade payment system serving over a hundred million users.

Distributed ArchitectureJavaMicroservices
0 likes · 17 min read
Building a Payment System for Hundreds of Millions of Users – Part 1 Intro
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2026 · Fundamentals

Upgrade from Java 8: 8 Powerful Features in Java 21 You Should Know

The article examines why many projects still cling to Java 8 and demonstrates eight transformative Java 21 features—including records, sealed classes, pattern‑matching for instanceof, switch expressions, text blocks, virtual threads, structured concurrency, and enhanced APIs—showing code examples and the benefits they bring to performance, readability, and maintainability.

JavaJava 21Records
0 likes · 11 min read
Upgrade from Java 8: 8 Powerful Features in Java 21 You Should Know
Java Tech Workshop
Java Tech Workshop
May 22, 2026 · Fundamentals

Proper Use of Java's Scanner Class for Console Input

This article explains the Scanner class in java.util, outlines a four‑step usage pattern, details its API for reading and validation, addresses the common nextInt/nextLine line‑skip issue with two reliable solutions, and provides best‑practice guidelines and example code to avoid resource leaks and input errors.

Console InputIOJava
0 likes · 10 min read
Proper Use of Java's Scanner Class for Console Input
Java Architecture Diary
Java Architecture Diary
May 22, 2026 · Artificial Intelligence

What the Javadocs MCP Server Solves for Java AI Development

AI code assistants often misinterpret Java library placeholders because they rely on web searches or bytecode decompilation, which miss Javadoc details; the Javadocs MCP server indexes Maven Central Javadocs, letting AI retrieve accurate method signatures and placeholder rules, and can be added to Claude Code with a simple configuration.

AIClaudeHutool
0 likes · 7 min read
What the Javadocs MCP Server Solves for Java AI Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 22, 2026 · Backend Development

Why Hand‑Write WebSocket? Use Spring Boot + Netty‑SocketIO for Simpler Real‑Time Communication

This article walks through building a real‑time bidirectional communication system with Spring Boot 3.5.0 and the Netty‑SocketIO library, covering its core features, Maven setup, server implementation via CommandLineRunner, client HTML/JavaScript code, room support, and testing screenshots.

JavaSocket.IOSpring Boot
0 likes · 9 min read
Why Hand‑Write WebSocket? Use Spring Boot + Netty‑SocketIO for Simpler Real‑Time Communication
Java Tech Workshop
Java Tech Workshop
May 21, 2026 · Fundamentals

Understanding Java's Module System: A Deep Dive into module-info.java

This article explains why Java modularization was introduced, outlines the problems with the pre‑Java 9 classpath, introduces the Java Platform Module System (JPMS) and its core file module-info.java, and provides detailed guidance on concepts, syntax, best practices, real‑world examples, IDE setup, and common pitfalls.

JPMSJavaModule System
0 likes · 43 min read
Understanding Java's Module System: A Deep Dive into module-info.java
samdeepthink
samdeepthink
May 21, 2026 · Fundamentals

Why Java’s wait() Must Be Called Inside a synchronized Block

Because wait() first releases the monitor, the calling thread must own the lock; the JVM enforces this with an IllegalMonitorStateException, and the synchronized block prevents the lost‑wake‑up race by atomically checking conditions and releasing the lock before waiting.

Javamonitornotify
0 likes · 10 min read
Why Java’s wait() Must Be Called Inside a synchronized Block
java1234
java1234
May 21, 2026 · Backend Development

Three Months as an AI Code Babysitter: My Exhausting Journey and Hard Lessons

A veteran Java developer took a 5‑wan‑yuan retail project, relied on an end‑to‑end AI code generator for a month, then faced chaotic project structures, security flaws, and massive refactoring before discovering FeiSuan JavaAI's multi‑agent workflow that finally turned the disaster into a deliverable.

AIBackend DevelopmentCode Generation
0 likes · 21 min read
Three Months as an AI Code Babysitter: My Exhausting Journey and Hard Lessons
Java Tech Workshop
Java Tech Workshop
May 21, 2026 · Backend Development

The Pros and Cons of Java’s var Local Variable Type Inference

This article examines Java's var local‑variable type inference introduced in Java 10, detailing its benefits such as reduced boilerplate, improved readability, and easier refactoring, while also highlighting drawbacks like potential readability loss, ambiguous types, and strict usage constraints that can lead to bugs if misused.

Code ReadabilityJavaJava 10
0 likes · 26 min read
The Pros and Cons of Java’s var Local Variable Type Inference
Su San Talks Tech
Su San Talks Tech
May 21, 2026 · Backend Development

Druid vs HikariCP: Which Java Connection Pool Wins?

The article compares Alibaba’s Druid and Spring Boot’s default HikariCP connection pools, explaining how connection pooling works, presenting benchmark results that show HikariCP’s lower latency and higher TPS, detailing HikariCP’s lock‑free ConcurrentBag and bytecode optimizations, and highlighting Druid’s rich monitoring, SQL firewall and leak detection features to help developers choose the right pool for different scenarios.

DruidHikariCPJava
0 likes · 18 min read
Druid vs HikariCP: Which Java Connection Pool Wins?
samdeepthink
samdeepthink
May 20, 2026 · Backend Development

Designing a Scalable Delivery Dispatch System for Chain Restaurants

The article details a three‑module architecture—capacity verification, platform routing, and status synchronization—showing how a chain restaurant can dynamically choose third‑party delivery services across multiple cities, handle asynchronous checks, prioritize platforms, and ensure reliable callbacks and resends.

JavaMicroservicesbackend architecture
0 likes · 13 min read
Designing a Scalable Delivery Dispatch System for Chain Restaurants
Senior Xiao Ying
Senior Xiao Ying
May 20, 2026 · Backend Development

Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader

This article explains the N+1 query problem in a Spring Boot GraphQL service, demonstrates how DataLoader batches and caches requests to reduce database round‑trips, and provides step‑by‑step integration code, including dependency setup, schema definition, entity mapping, batch loader registration, and best‑practice recommendations.

Batch loadingDataLoaderGraphQL
0 likes · 8 min read
Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader
Java Tech Workshop
Java Tech Workshop
May 20, 2026 · Backend Development

How Switch Expressions Evolved from Java 12 to Java 17

This article traces the evolution of Java's switch statement from a cumbersome statement to a modern expression, detailing the six shortcomings of the traditional switch, the introduction of arrow syntax and preview mode in Java 12, the yield keyword in Java 13, the standardization in Java 14, and the powerful pattern‑matching and null‑handling features added in Java 17, while providing concrete code examples and practical guidance.

Code ExamplesJavaJava 17
0 likes · 19 min read
How Switch Expressions Evolved from Java 12 to Java 17
Architecture & Thinking
Architecture & Thinking
May 20, 2026 · Operations

Six‑Step Emergency Plan to Detect, Recover, and Eliminate Message Backlog

In distributed systems, message‑queue backlogs can cripple core services; this article breaks down a six‑step emergency workflow—from alert detection and throttling to temporary scaling, root‑cause analysis, targeted fixes, and final validation—plus long‑term architectural and monitoring strategies, illustrated with real‑world cases and Java code samples.

BacklogJavaOperations
0 likes · 21 min read
Six‑Step Emergency Plan to Detect, Recover, and Eliminate Message Backlog
Coder Trainee
Coder Trainee
May 20, 2026 · Backend Development

Mastering Distributed Transactions in Spring Cloud with Seata (Part 8)

This tutorial walks through why distributed transactions are needed in a Spring Cloud order‑stock‑point scenario, compares local and distributed transaction models, introduces Seata’s architecture and three transaction modes, shows environment setup, code implementation, testing steps, and common pitfalls with solutions.

AT ModeDistributed TransactionsDocker
0 likes · 11 min read
Mastering Distributed Transactions in Spring Cloud with Seata (Part 8)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 20, 2026 · Backend Development

10 Essential Spring Boot Utility Classes to Cut Your Code in Half

This article showcases ten built‑in Spring Boot utilities—including version retrieval, system property access, temporary and home directory handling, method introspection, generic type resolution, process ID extraction, property binding, and package path registration—each illustrated with concise code examples that dramatically reduce the need for custom helper classes.

Code SimplificationConfigurationGenericTypeResolver
0 likes · 11 min read
10 Essential Spring Boot Utility Classes to Cut Your Code in Half
Programmer1970
Programmer1970
May 19, 2026 · Interview Experience

What Do Interviewers Really Test When They Ask About Design Patterns?

The article shows that interviewers don’t just want you to list design patterns; they assess your ability to identify real scenarios, solve concrete problems, justify trade‑offs, and discuss implementation details, illustrated with payment and order‑processing examples in Java and Spring.

Chain of ResponsibilityDesign PatternsFactory Pattern
0 likes · 11 min read
What Do Interviewers Really Test When They Ask About Design Patterns?
Java Backend Technology
Java Backend Technology
May 19, 2026 · Artificial Intelligence

Top 5 Java AI Frameworks You Should Know

This article reviews the five major Java AI frameworks—Spring AI, LangChain4j, Spring AI Alibaba, AgentScope‑Java, and Semantic Kernel—detailing their architectures, core features, pros and cons, and provides guidance on selecting the right one for different enterprise scenarios.

AIAgentScopeJava
0 likes · 22 min read
Top 5 Java AI Frameworks You Should Know
java1234
java1234
May 19, 2026 · Backend Development

Why JDK 26’s New Features Are a Game‑Changer for Your Projects

JDK 26 introduces a suite of impactful JEPs—including primitive type pattern matching, G1 GC throughput gains, AOT object caching for faster startup, built‑in PEM encoding, stricter final‑field handling, HTTP/3 support, LazyConstant, structured concurrency, and a mature Vector API—each backed by code examples and performance data to help developers modernize their Java applications.

G1 GCJDK 26Java
0 likes · 29 min read
Why JDK 26’s New Features Are a Game‑Changer for Your Projects
LuTiao Programming
LuTiao Programming
May 19, 2026 · Fundamentals

Don’t Limit Java Enums to SUCCESS/FAIL – 5 Advanced Enum Techniques Already Used by Top Frameworks

The article reveals five sophisticated ways to leverage Java enums—state‑machine implementation, built‑in strategy pattern, enum‑lambda combos, responsibility‑chain routing, and enum‑Map DSL—showing how major frameworks like Tomcat, Spring Boot and RocketMQ employ them to write cleaner, type‑safe, and easily extensible code.

DSLDesign PatternEnum
0 likes · 11 min read
Don’t Limit Java Enums to SUCCESS/FAIL – 5 Advanced Enum Techniques Already Used by Top Frameworks
Java Tech Workshop
Java Tech Workshop
May 18, 2026 · Fundamentals

Understanding Compile-Time and Run-Time Constants in Java

This article explains the fundamental differences between compile-time and run-time constants in Java, covering their definitions, required modifiers, allowed data types, initialization rules, JVM storage behavior, class‑initialization effects, constant‑folding optimizations, practical code examples, common pitfalls, and guidelines for choosing the appropriate constant type in production code.

JVMJavaPerformance
0 likes · 21 min read
Understanding Compile-Time and Run-Time Constants in Java
Subtle Storm
Subtle Storm
May 17, 2026 · Backend Development

Why Distributed Locks Matter and How to Implement Them with DB, Redis, and ZooKeeper

The article explains why a simple JVM lock fails in multi‑instance services, illustrates the overselling problem with an e‑commerce example, and then compares three practical distributed‑lock solutions—database‑based, Redis‑based, and ZooKeeper‑based—detailing their mechanisms, strengths, weaknesses, and suitable scenarios.

JavaZooKeeperconcurrency
0 likes · 8 min read
Why Distributed Locks Matter and How to Implement Them with DB, Redis, and ZooKeeper
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Backend Development

14 Advanced Java Collection Tricks to Write Cleaner Code

This article presents fourteen practical Java collection techniques—ranging from creating immutable and empty collections to using computeIfAbsent, Map.merge, Collectors.groupingBy, and EnumMap/EnumSet—each illustrated with concise code snippets and explanations that improve readability, safety, and performance in Spring Boot applications.

CollectionsEnumMapJava
0 likes · 9 min read
14 Advanced Java Collection Tricks to Write Cleaner Code
21CTO
21CTO
May 16, 2026 · Fundamentals

What’s New in JDK 26? Key Language, Library, and Runtime Enhancements

JDK 26, the latest non‑LTS Java release, adds ten JEP‑driven enhancements—including pattern‑matching for instanceof and switch, HTTP/3 support, PEM encoding, structured concurrency, lazy constants, a vector API, Applet removal, final‑mean changes, AOT cache support, and G1 GC throughput gains—providing developers with practical new capabilities to test before the next LTS version.

JDK 26JEPJava
0 likes · 8 min read
What’s New in JDK 26? Key Language, Library, and Runtime Enhancements
TonyBai
TonyBai
May 16, 2026 · Fundamentals

How Go Cured My 10‑Year Over‑Engineering Habit from Java and TypeScript

The article examines the pervasive over‑engineering syndrome among Java and TypeScript developers, illustrates how Go’s strict language design forces simpler, more readable code, and shows through personal anecdotes and community discussions that this shift dramatically improves maintainability and debugging speed.

GoJavaTypeScript
0 likes · 10 min read
How Go Cured My 10‑Year Over‑Engineering Habit from Java and TypeScript
samdeepthink
samdeepthink
May 15, 2026 · Backend Development

Designing a Marketing PMS: Activity Model, Rule Engine, Conflict Handling, and Allocation Mechanisms

The article explains the core responsibilities and three‑layer architecture of a marketing PMS, details the activity‑template model, walks through the rule‑engine execution flow with container‑component and needNum logic, compares self‑built and Drools solutions, and describes mutual‑exclusion, stacking, allocation strategies, and the three‑stage cal/use/rollback workflow with caching and consistency safeguards.

BackendJavaRule Engine
0 likes · 24 min read
Designing a Marketing PMS: Activity Model, Rule Engine, Conflict Handling, and Allocation Mechanisms
Architect's Guide
Architect's Guide
May 15, 2026 · Backend Development

One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper

The article introduces OKHttpUtil, a lightweight wrapper around Square’s OkHttp library that enables Java developers to perform HTTP GET, POST, file upload, and download operations with a single line of code, includes Maven setup, Spring Boot integration, fluent API usage, and examples of wrapping external services such as eBay.

API wrapperHTTP ClientHTTP request
0 likes · 10 min read
One‑Line HTTP Requests with OKHttpUtil: A Minimal Java Wrapper
Linyb Geek Road
Linyb Geek Road
May 14, 2026 · Backend Development

How to Build a Reliable 15‑Minute Order Auto‑Cancel in Java: From Naïve @Scheduled to Production‑Ready Redisson

The article walks through the pitfalls of a seemingly simple 15‑minute unpaid‑order cancellation requirement, evaluates five implementation options—from a basic @Scheduled poll to Redis ZSet, DelayQueue, and distributed Redisson solutions—culminating in a production‑grade Redisson scheduler with optimistic‑lock safeguards and detailed best‑practice guidelines.

JavaOptimistic LockRedis
0 likes · 13 min read
How to Build a Reliable 15‑Minute Order Auto‑Cancel in Java: From Naïve @Scheduled to Production‑Ready Redisson
Java Architect Essentials
Java Architect Essentials
May 13, 2026 · Backend Development

Boost CRUD Efficiency with MyBatisPlus Pro: A BaseController Guide

This article introduces MyBatisPlus Pro, walks through adding the MyBatisPlus dependency, creating a utility class, defining a generic BaseController with full CRUD, pagination support, and shows how to extend it in specific controllers, providing a ready‑to‑use RESTful API template.

BaseControllerCRUDJava
0 likes · 9 min read
Boost CRUD Efficiency with MyBatisPlus Pro: A BaseController Guide
Architect's Ambition
Architect's Ambition
May 13, 2026 · Artificial Intelligence

Deep Dive into Spring AI Alibaba: Architecture, Core Features, and Practical Implementation Guide

This article provides a comprehensive analysis of Spring AI Alibaba, detailing its five‑layer architecture, core capabilities such as unified model access, cloud‑native integration, and Agentic AI features, and offers concrete code examples and production recommendations to help Java developers quickly build and deploy AI agents.

AI AgentsAgent FrameworkCloud Native
0 likes · 12 min read
Deep Dive into Spring AI Alibaba: Architecture, Core Features, and Practical Implementation Guide
CodeSmart Hoops
CodeSmart Hoops
May 13, 2026 · Backend Development

Spring Circular Dependency Unit Tests: Full Analysis and Hands‑On Demo

This article provides a comprehensive set of JUnit 5 unit tests that demonstrate how Spring Boot 3.x and Spring Framework 6.x handle various circular dependency scenarios—including field, setter, constructor, @Lazy, prototype beans, three‑bean cycles, and AOP proxy interactions—along with Maven and IDE run instructions.

AOPJavaPrototype Bean
0 likes · 12 min read
Spring Circular Dependency Unit Tests: Full Analysis and Hands‑On Demo
MeowKitty Programming
MeowKitty Programming
May 12, 2026 · Backend Development

Why AI Prompt Tricks Matter Less Than a Structured Java Development Workflow

The article outlines a step‑by‑step AI‑assisted workflow for Java backend developers, emphasizing early requirement translation, using AI to map existing code, breaking implementation into tiny, well‑scoped tasks, generating risk‑focused tests, and performing a reverse review before submitting a PR, all while keeping human verification at each stage.

AIBackendJava
0 likes · 8 min read
Why AI Prompt Tricks Matter Less Than a Structured Java Development Workflow
Cloud Architecture
Cloud Architecture
May 12, 2026 · Information Security

High-Concurrency Phone Encryption: Blind Index, KMS Management & Rotation

This article presents a production‑grade solution for encrypting phone numbers in high‑concurrency microservices, combining random AES‑GCM ciphertext with HMAC‑based blind indexes, multi‑version KMS‑managed keys, zero‑downtime key rotation, and detailed component designs to ensure confidentiality, exact searchability, and operational stability.

Database SecurityJavaKey Management
0 likes · 40 min read
High-Concurrency Phone Encryption: Blind Index, KMS Management & Rotation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 12, 2026 · Backend Development

Reproducing Three Classic Spring Boot Concurrency Deadlocks in Just 10 Lines

The article explains three typical deadlock scenarios in Spring Boot 3.5—circular‑wait, connection‑pool starvation, and implicit DML deadlocks—shows minimal 10‑line code reproductions, demonstrates the resulting errors, and provides concrete fixes such as ordered locking, removing REQUIRES_NEW propagation, and using asynchronous events.

@TransactionalJavaSpring Boot
0 likes · 9 min read
Reproducing Three Classic Spring Boot Concurrency Deadlocks in Just 10 Lines
Cloud Architecture
Cloud Architecture
May 11, 2026 · Operations

3 Billion Products, 500 Million Daily Queries: How I Boosted a Failing Elasticsearch Cluster 5×

A large‑scale e‑commerce search system handling 3 billion product documents and 500 million daily queries was on the brink of collapse, but a systematic overhaul across query modeling, index design, write pipelines, cluster topology, and application‑level governance lifted throughput five‑fold while cutting P99 latency from 3.2 seconds to 180 ms.

ElasticsearchJavaQuery Optimization
0 likes · 30 min read
3 Billion Products, 500 Million Daily Queries: How I Boosted a Failing Elasticsearch Cluster 5×
Architect's Guide
Architect's Guide
May 11, 2026 · Backend Development

Why UUID Falls Short and How Snowflake Solves Distributed ID Generation

The article examines the limitations of UUIDs for distributed systems, outlines the strict requirements for global unique IDs, compares common approaches such as database auto‑increment and Redis, and provides a detailed analysis of Twitter's Snowflake algorithm with its structure, Java implementation, advantages, drawbacks, and mitigation strategies.

BackendJavaMySQL
0 likes · 14 min read
Why UUID Falls Short and How Snowflake Solves Distributed ID Generation
ZhiKe AI
ZhiKe AI
May 11, 2026 · Backend Development

Java Rewrites OpenClaw: An Architecture‑Level Translation, Not a Simple Port

A Java team rebuilt the popular Node.js AI‑Agent platform OpenClaw from scratch, replacing AI‑generated “vibe code” with a carefully refactored architecture that leverages Spring AI, JobRunr, and Spring Modulith, and demonstrates how to run the new Java version with just a few commands.

AI AgentsArchitecture TranslationJava
0 likes · 16 min read
Java Rewrites OpenClaw: An Architecture‑Level Translation, Not a Simple Port
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 11, 2026 · Backend Development

Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing

This article explains how to integrate the Java‑DataLoader library into a Spring Boot 3.5.0 application, covering dependency setup, entity and repository definitions, service methods, DataLoader configuration, testing, contextual loading, and custom two‑level caching to achieve high‑performance batch data fetching.

Batch loadingDataLoaderGraphQL
0 likes · 12 min read
Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing
MeowKitty Programming
MeowKitty Programming
May 10, 2026 · Backend Development

Why Java Developers Should Stop Treating Null as a Minor Issue – JSpecify Turns NPEs into Enforceable Contracts

The article explains how Java developers have become numb to NullPointerExceptions, why AI‑assisted coding makes undocumented null assumptions riskier, and how JSpecify's nullability annotations—adopted by Spring 7—provide explicit contracts that improve code safety and tooling support.

AI code generationJSpecifyJava
0 likes · 7 min read
Why Java Developers Should Stop Treating Null as a Minor Issue – JSpecify Turns NPEs into Enforceable Contracts
samdeepthink
samdeepthink
May 10, 2026 · Backend Development

Why Debugging Is the Best Way to Master Framework Source Code

The author argues that understanding frameworks through a debugging mindset and concise demo programs—such as inspecting Redis’s single‑threaded model, Spring’s circular‑dependency resolution, ThreadPoolExecutor’s rejection policy, and HashMap’s resize behavior—provides deeper insight than memorization, and shows how to isolate problems into minimal, testable units.

FrameworksHashMapJava
0 likes · 4 min read
Why Debugging Is the Best Way to Master Framework Source Code