Tagged articles

Java

5000 articles · Page 5 of 50
MeowKitty Programming
MeowKitty Programming
Apr 23, 2026 · Backend Development

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

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

AI code generationAPI designBackend Development
0 likes · 6 min read
Why Java Developers Should Re‑Emphasize API Design in the AI Era
Ray's Galactic Tech
Ray's Galactic Tech
Apr 23, 2026 · Backend Development

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

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

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

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

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

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

Meituan Second Interview: Solving High RocketMQ Consumption Latency in Production

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

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

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

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

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

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

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

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

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

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

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

Beware of BigDecimal Pitfalls: When Precision Errors Can Cost You

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

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

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

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

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

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

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

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

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

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

Design PatternsFactory PatternJava
0 likes · 14 min read
Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns
Java Architect Handbook
Java Architect Handbook
Apr 22, 2026 · Backend Development

How Changing Five Lines of Code Boosted API Throughput Over 10×

A low‑traffic B2B service struggled to meet a 500 req/s demand, achieving only 50 req/s with high CPU usage; through systematic profiling, lock analysis, async refactoring, thread‑pool tuning, and eliminating costly Spring bean creation, the team dramatically improved response times and throughput, revealing deeper CPU‑usage mysteries.

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

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

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

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

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

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

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

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

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

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

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

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

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

5 Common Spring Boot Filter Pitfalls and How to Avoid Them

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

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

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

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

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

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

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

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

How Groovy Scripts Enable Dynamic Business Rules in Spring Boot

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

Dynamic ScriptingGroovyJava
0 likes · 16 min read
How Groovy Scripts Enable Dynamic Business Rules in Spring Boot
Java Backend Full-Stack
Java Backend Full-Stack
Apr 20, 2026 · Backend Development

What Skills Should a 3‑Year Java Backend Developer Master?

The article outlines a comprehensive skill matrix for a three‑year Java backend engineer, covering core Java and JVM knowledge, mainstream frameworks, storage, messaging, containerization, architecture, engineering practices, soft skills, and emerging trends such as AI integration and reactive programming.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

AIAI engineeringJava
0 likes · 8 min read
Why Java Developers Can Now Treat AI as a Full Engineering Stack
IT Services Circle
IT Services Circle
Apr 18, 2026 · Backend Development

7 Common Spring Backend Code Review Mistakes and Their Fixes

This article shares seven frequent pitfalls discovered during Spring backend code reviews—such as misuse of @Async, exposing exception details, non‑unique lock values, deep pagination, missing batch operations, lack of authorization, and insecure file uploads—and provides concrete corrected examples and best‑practice recommendations.

Backend DevelopmentBest PracticesJava
0 likes · 13 min read
7 Common Spring Backend Code Review Mistakes and Their Fixes
Java Companion
Java Companion
Apr 18, 2026 · Backend Development

How Arthas + MCP Enable AI-Powered Java Runtime Diagnosis

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

AIArthasBackend Tools
0 likes · 13 min read
How Arthas + MCP Enable AI-Powered Java Runtime Diagnosis
Coder Trainee
Coder Trainee
Apr 18, 2026 · Backend Development

Building a Tech Blog from Scratch: Implementing a Comment System and Full‑Text Search

This article walks through the design and implementation of a nested comment system with likes, @‑mentions, and sensitive‑word filtering, plus full‑text search using Elasticsearch, covering database schema changes, backend services, Vue components, and recommendation logic for a technical blog platform.

Comment SystemElasticsearchFull-Text Search
0 likes · 23 min read
Building a Tech Blog from Scratch: Implementing a Comment System and Full‑Text Search
Lisa Notes
Lisa Notes
Apr 18, 2026 · Fundamentals

Java Basics: Building a Car Class from Scratch

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

Javaclassconstructor
0 likes · 4 min read
Java Basics: Building a Car Class from Scratch
Java Tech Workshop
Java Tech Workshop
Apr 18, 2026 · Backend Development

Deep Dive into SpringBoot @Transactional: How It Works and Common Pitfalls

This article explains the fundamentals of transaction management in SpringBoot, detailing the ACID properties, the @Transactional annotation’s AOP‑based implementation, core attributes such as propagation, isolation, rollback rules, timeout and read‑only mode, and provides practical code examples for single‑ and multi‑datasource scenarios.

@TransactionalJavaSpring
0 likes · 20 min read
Deep Dive into SpringBoot @Transactional: How It Works and Common Pitfalls
LuTiao Programming
LuTiao Programming
Apr 18, 2026 · Backend Development

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

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

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

How to Integrate Tess4J OCR into a Spring Boot Application

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

JavaLanguage DataOCR
0 likes · 9 min read
How to Integrate Tess4J OCR into a Spring Boot Application
Ray's Galactic Tech
Ray's Galactic Tech
Apr 17, 2026 · Backend Development

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

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

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

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

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

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

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

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

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

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

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

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

Implementing API Rate Limiting in Spring Boot with AOP

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

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

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

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

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

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

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

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

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

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

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

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

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

ArthasJVMJava
0 likes · 18 min read
How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service
Java Architect Essentials
Java Architect Essentials
Apr 15, 2026 · Backend Development

Spring 7.0.4: Hidden Deadlock Fix and 30‑50% Startup Boost for K8s Apps

The article analyzes a nondeterministic deadlock bug in Spring 7.0.0‑7.0.3 that surfaces in Kubernetes pods, explains how Spring 7.0.4 resolves it with a revised shutdown state machine, details additional performance‑related fixes and new features, and provides practical upgrade guidance based on JDK version and deployment scenario.

BugFixJavaKubernetes
0 likes · 14 min read
Spring 7.0.4: Hidden Deadlock Fix and 30‑50% Startup Boost for K8s Apps
Java Tech Workshop
Java Tech Workshop
Apr 15, 2026 · Backend Development

Implementing Operation Logging in SpringBoot with AOP

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

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

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

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

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

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

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

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

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

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

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

6 Essential AI Agent Design Patterns Every Developer Should Master

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

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

Why Java + AI Will Become the Backend Breakthrough by 2026

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

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

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

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

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

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

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

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

Understanding SpringBoot Extension Points: ApplicationContextInitializer vs ApplicationListener

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

JavaSpringBootapplicationcontextinitializer
0 likes · 31 min read
Understanding SpringBoot Extension Points: ApplicationContextInitializer vs ApplicationListener
FunTester
FunTester
Apr 12, 2026 · Industry Insights

Why Software Standards Matter: Unlocking Collaboration and Longevity

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

CollaborationIndustry InsightsJava
0 likes · 9 min read
Why Software Standards Matter: Unlocking Collaboration and Longevity
macrozheng
macrozheng
Apr 12, 2026 · Backend Development

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

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

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

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

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

Database DesignJavaMini Program
0 likes · 21 min read
Integrating WeChat Pay for Education Mini‑Programs: Automated Deposit and Final‑Payment Settlement
Java Tech Workshop
Java Tech Workshop
Apr 12, 2026 · Backend Development

Understanding SpringBoot’s Environment and PropertySource: Core Concepts and Practical Usage

The article explains SpringBoot’s configuration architecture, detailing how the Environment facade and PropertySource abstractions manage all settings, the loading order, key APIs, debugging techniques, custom PropertySource extensions, and dynamic refresh, enabling developers to resolve priority conflicts and implement advanced configuration scenarios.

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

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

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

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

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

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

JavaValidationconfiguration-binding
0 likes · 25 min read
Why @ConfigurationProperties Is the Preferred Way to Bind Configurations in SpringBoot
LuTiao Programming
LuTiao Programming
Apr 11, 2026 · Backend Development

Why Simple Spring Boot APIs Slow Down Under Load and How Proper Redis Caching Fixes It

The article walks through a step‑by‑step integration of Redis caching into a Spring Boot application, showing how to add dependencies, configure connections, enable caching annotations, customize serialization, simulate slow data sources, and fine‑tune TTLs to turn laggy endpoints into smooth, high‑throughput services.

CachingJavaRedis
0 likes · 11 min read
Why Simple Spring Boot APIs Slow Down Under Load and How Proper Redis Caching Fixes It
Architect's Tech Stack
Architect's Tech Stack
Apr 10, 2026 · Backend Development

Replace RabbitMQ with Spring Events for Cleaner Order Processing

This article explains how to refactor a monolithic order‑creation method by using Spring's built‑in ApplicationEvent mechanism, separating core logic from side‑effects such as SMS, points, and notifications, and clarifies when to choose Spring events over a message queue.

JavaMQ AlternativeSpring
0 likes · 7 min read
Replace RabbitMQ with Spring Events for Cleaner Order Processing
ITPUB
ITPUB
Apr 10, 2026 · Backend Development

How a Simple Refactor and Parallelism Cut Java Loop Time from 26s to 0.7s

A new team member transformed a painfully slow Java data‑processing routine—originally taking 26,856 ms—by refactoring nested loops, extracting repeated calculations, and introducing a thread‑pool for parallel execution, reducing runtime to just 748 ms, and the article walks through the before‑and‑after code and key techniques.

JavaPerformance Optimizationparallel computing
0 likes · 8 min read
How a Simple Refactor and Parallelism Cut Java Loop Time from 26s to 0.7s
Tech Verticals & Horizontals
Tech Verticals & Horizontals
Apr 10, 2026 · Artificial Intelligence

Enterprise‑Scale Codex + OpenSpec + Superpowers Workflow: A Step‑by‑Step, Governed AI Development Process

This article presents a comprehensive, enterprise‑grade workflow that combines Codex, OpenSpec, and Superpowers to turn AI‑assisted coding from chaotic code generation into a controlled, spec‑driven, and engineerable process for Java/Spring Boot microservice teams.

AI codingCodexEnterprise Workflow
0 likes · 15 min read
Enterprise‑Scale Codex + OpenSpec + Superpowers Workflow: A Step‑by‑Step, Governed AI Development Process
Java Companion
Java Companion
Apr 10, 2026 · Backend Development

Stop Confusing PO, VO, BO, DTO, DAO, and POJO: A Complete Guide

This article explains the six common Java object types—POJO, PO, DAO, BO, DTO, and VO—detailing their roles in a three‑layer architecture, how they flow through a request, conversion tools, a comparison table, and answers common questions for developers.

DTOJavaarchitecture
0 likes · 16 min read
Stop Confusing PO, VO, BO, DTO, DAO, and POJO: A Complete Guide
Java Tech Workshop
Java Tech Workshop
Apr 10, 2026 · Backend Development

Understanding SpringBoot @Conditional Annotations: A Deep Dive into Conditional Configuration

This article explains how SpringBoot uses the @Conditional family of annotations to control bean creation based on classpath presence, existing beans, configuration properties, resources, and application type, providing practical code examples, common pitfalls, custom condition creation, and interview questions.

@ConditionalAuto-ConfigurationJava
0 likes · 22 min read
Understanding SpringBoot @Conditional Annotations: A Deep Dive into Conditional Configuration
Coder Circle
Coder Circle
Apr 9, 2026 · Artificial Intelligence

Mastering Agent Harness: An Architecture Guide for Java Developers

This article deeply analyzes the Agent Harness framework, mapping its concepts to familiar Spring components, detailing its layered design, lifecycle management, skill registration, memory handling, security sandboxing, checkpointing, multi‑model adapters, and multi‑agent collaboration, and even provides a minimal 20‑line implementation.

AI agentsAgent HarnessJava
0 likes · 15 min read
Mastering Agent Harness: An Architecture Guide for Java Developers
Java Tech Workshop
Java Tech Workshop
Apr 8, 2026 · Backend Development

Measuring SpringBoot Test Coverage with JaCoCo: Configuration and Best Practices

This guide explains how to integrate JaCoCo into SpringBoot projects using Maven or Gradle, generate detailed HTML and XML coverage reports, interpret line, branch, and method metrics, exclude irrelevant code, set coverage thresholds, and address common pitfalls to ensure thorough testing of critical business logic.

JaCoCoJavaSpringBoot
0 likes · 17 min read
Measuring SpringBoot Test Coverage with JaCoCo: Configuration and Best Practices
JakartaEE China Community
JakartaEE China Community
Apr 8, 2026 · Backend Development

From Reactive Streams to Virtual Threads: A Deep Dive

The article examines Project Loom's virtual threads, compares them with reactive streams, explores their underlying mechanisms, presents a direct‑style flow library (Jox) that combines both paradigms, and evaluates performance, backpressure, and error handling in Java concurrency.

JavaJoxProject Loom
0 likes · 22 min read
From Reactive Streams to Virtual Threads: A Deep Dive
SpringMeng
SpringMeng
Apr 8, 2026 · Operations

AI-Integrated Arthas: Turning Online Issue Diagnosis into One-Click Debugging

The article explains how Arthas, now integrated with the Model Context Protocol (MCP), lets AI automatically execute and interpret diagnostic commands for Java applications, offering step‑by‑step case studies, a detailed workflow, and an analysis of its strengths and limitations.

AI debuggingArthasJava
0 likes · 13 min read
AI-Integrated Arthas: Turning Online Issue Diagnosis into One-Click Debugging
Coder Trainee
Coder Trainee
Apr 8, 2026 · Backend Development

How to Fix CORS Issues After Upgrading to Spring Boot 2.5.x

Upgrading a Spring Boot application from 2.1.8 to 2.5.6 can break existing CORS configurations, but adding a WebMvcConfigurer bean with allowedOriginPatterns resolves the new cross‑origin restrictions, as demonstrated with concrete code examples.

CORSJavaSpringBoot
0 likes · 3 min read
How to Fix CORS Issues After Upgrading to Spring Boot 2.5.x