Tagged articles
5000 articles
Page 2 of 50
Architect's Guide
Architect's Guide
Apr 29, 2026 · Backend Development

How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push

This article walks through building a Netty‑based WebSocket server integrated with Spring Boot, configuring the channel pipeline, implementing custom handlers, exposing a push‑message service, and testing the end‑to‑end flow that enables the backend to push real‑time messages to web clients.

JavaNettyServer Push
0 likes · 8 min read
How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push
Su San Talks Tech
Su San Talks Tech
Apr 29, 2026 · Artificial Intelligence

10 Essential AI Prompt Templates Every Programmer Should Use

The article explains why well‑crafted prompts are crucial for AI‑assisted programming, introduces the STAR principle for prompt design, and provides ten ready‑to‑use prompt templates covering requirement analysis, test generation, code explanation, refactoring, debugging, performance tuning, SQL design, documentation, architecture review, and language translation.

AI promptingJavaPrompt Engineering
0 likes · 12 min read
10 Essential AI Prompt Templates Every Programmer Should Use
Architecture & Thinking
Architecture & Thinking
Apr 29, 2026 · Backend Development

Must‑Know CompletableFuture: Usage, Best Practices, and Real‑World Scenarios

This article explains why CompletableFuture replaces traditional Future in high‑concurrency Java applications, demonstrates core APIs such as runAsync, supplyAsync, thenApply, allOf, anyOf, thenCombine, and exception handling, and provides detailed code examples—including serial, parallel, aggregation, and an e‑commerce order‑processing case—to guide robust asynchronous programming.

CompletableFutureConcurrencyException Handling
0 likes · 26 min read
Must‑Know CompletableFuture: Usage, Best Practices, and Real‑World Scenarios
The Dominant Programmer
The Dominant Programmer
Apr 29, 2026 · Backend Development

Spring MVC + OpenFeign: Contract‑First API, Controller Logic, and Feign Reuse in Microservices

This article explains a standard Spring MVC + OpenFeign design pattern for microservices, where a contract‑first interface defines routing and API specs, Controllers implement business logic, and Feign clients reuse the same interface for remote calls, with full Maven project setup, code samples, and Nacos integration.

Contract-FirstJavaMaven
0 likes · 15 min read
Spring MVC + OpenFeign: Contract‑First API, Controller Logic, and Feign Reuse in Microservices
Top Architect
Top Architect
Apr 28, 2026 · Backend Development

Elegant API Rate Limiting with Spring Interceptor and Redis

This article demonstrates a step‑by‑step implementation of API anti‑brush (rate limiting) using a Spring Interceptor combined with Redis, explains how to configure time windows and request limits, introduces a custom @AccessLimit annotation for fine‑grained control, discusses path‑parameter pitfalls, real‑IP handling, and shares practical testing results.

API SecurityInterceptorJava
0 likes · 20 min read
Elegant API Rate Limiting with Spring Interceptor and Redis
Java Architect Handbook
Java Architect Handbook
Apr 28, 2026 · Backend Development

SpringBoot + Disruptor: Achieving 6 Million Orders per Second with Ultra‑Fast Concurrency

This article explains why Disruptor—a lock‑free, high‑throughput Java queue from LMAX—was chosen over traditional brokers, details its core concepts such as RingBuffer, Sequence, and WaitStrategy, and provides a step‑by‑step SpringBoot demo that can handle up to six million orders per second without pressure.

DisruptorJavaMessage Queue
0 likes · 13 min read
SpringBoot + Disruptor: Achieving 6 Million Orders per Second with Ultra‑Fast Concurrency
Architect's Guide
Architect's Guide
Apr 28, 2026 · Backend Development

Tired of Endless if‑else? Try a Rule Engine for Cleaner Logic

The article shows how a growing list of if‑else checks for user eligibility becomes hard to maintain, then walks through designing and implementing a Java rule engine—defining rule abstractions, building an AND/OR executor, and demonstrating usage with concrete examples, while discussing its advantages and drawbacks.

Code ExampleJavaRule Engine
0 likes · 7 min read
Tired of Endless if‑else? Try a Rule Engine for Cleaner Logic
Java Backend Technology
Java Backend Technology
Apr 28, 2026 · Backend Development

10 Common MyBatis-Plus Pitfalls and How to Avoid Them

This article examines ten frequent pitfalls when using MyBatis-Plus—such as incorrect pagination counts, disabled pagination, logical‑delete mishandling, auto‑fill failures, optimistic‑lock issues, batch‑insert slowness, enum mapping errors, JSON type‑handler problems, and query‑wrapper quirks—explains their causes, and provides concrete code‑level solutions and best‑practice recommendations.

Batch InsertEnum MappingJSON TypeHandler
0 likes · 18 min read
10 Common MyBatis-Plus Pitfalls and How to Avoid Them
MeowKitty Programming
MeowKitty Programming
Apr 27, 2026 · Artificial Intelligence

Java AI Agents: Beyond Tool Calls to Memory Layers

The article explains that recent Spring AI updates—AutoMemoryTools and the Session API—introduce long‑term and short‑term memory capabilities, arguing that Java AI agents must shift focus from merely invoking tools to managing context and memory to become reliable production systems.

AI agentsAutoMemoryToolsJava
0 likes · 6 min read
Java AI Agents: Beyond Tool Calls to Memory Layers
Java Companion
Java Companion
Apr 27, 2026 · Artificial Intelligence

From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain

MateClaw is an open‑source, Java‑centric AI operating system built on Spring Boot 3.5 and Spring AI Alibaba that runs as a single JAR, offering multi‑agent collaboration, a structured wiki‑style knowledge base, tool‑guarded utilities, multi‑model routing, and cross‑channel deployment while keeping all data on‑premises.

AIJavaKnowledge Base
0 likes · 16 min read
From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain
Su San Talks Tech
Su San Talks Tech
Apr 27, 2026 · Backend Development

10 Common Pitfalls in MyBatis-Plus and How to Avoid Them

The article enumerates ten typical traps when using MyBatis-Plus—such as incorrect pagination counts, ineffective pagination plugins, logical delete mishandling, auto‑fill failures, optimistic‑lock issues, null‑value conditions, batch‑insert slowness, enum mapping errors, wrapper overwrites, and type‑handler problems—explains why they occur, and provides concrete code‑level solutions and best‑practice recommendations.

Batch InsertEnum MappingJava
0 likes · 19 min read
10 Common Pitfalls in MyBatis-Plus and How to Avoid Them
Ray's Galactic Tech
Ray's Galactic Tech
Apr 26, 2026 · Backend Development

Dissecting MCP Protocol: Scaling Java Microservices for AI‑Native Tooling

This article analyzes the Model Context Protocol (MCP), detailing its architecture, JSON‑RPC extensions, Streamable HTTP transport, and governance layers, and demonstrates how to transform high‑traffic Java microservices into a secure, observable AI‑native capability layer using an independent MCP gateway, tooling standards, and production‑grade implementations.

AI-nativeJavaMCP
0 likes · 46 min read
Dissecting MCP Protocol: Scaling Java Microservices for AI‑Native Tooling
Top Architect
Top Architect
Apr 26, 2026 · Backend Development

Why the Service Layer Should Not Return a Result Object in Java

The article explains why returning a Result wrapper from the Service layer couples business and presentation logic, reduces reusability, complicates testing and transaction handling, and suggests keeping services pure by returning domain objects and handling errors via exceptions.

Exception HandlingJavaService Layer
0 likes · 12 min read
Why the Service Layer Should Not Return a Result Object in Java
Java Tech Enthusiast
Java Tech Enthusiast
Apr 26, 2026 · Industry Insights

How Sun Microsystems—once a programmer’s dream company—collapsed

Sun Microsystems, once hailed for its groundbreaking CPUs, operating systems, and programming language, rose from a Stanford‑born workstation startup to dominate 80s‑90s workstations and servers, but arrogance, market blind spots, and the rise of Linux and Intel CPUs led to its rapid decline and eventual acquisition by Oracle.

JavaSPARCSolaris
0 likes · 12 min read
How Sun Microsystems—once a programmer’s dream company—collapsed
Lisa Notes
Lisa Notes
Apr 26, 2026 · Fundamentals

Master Java Object Type Conversion: Upcasting and Downcasting Basics

This article explains Java object type conversion, covering upcasting (implicit parent‑to‑child casting) and downcasting (explicit child‑to‑parent casting), their safety rules, static method behavior, and how to use the instanceof operator to avoid runtime errors.

DowncastingInstanceofJava
0 likes · 5 min read
Master Java Object Type Conversion: Upcasting and Downcasting Basics
The Dominant Programmer
The Dominant Programmer
Apr 25, 2026 · Backend Development

Integrating LangChain4j with Spring Boot for Fast AI Conversations on Alibaba Baichuan

This guide walks through using the SpringAIAlibaba framework to integrate Alibaba Baichuan with Spring Boot via LangChain4j, explains core concepts, compares LangChain4j to Spring AI and OpenAI, and provides step‑by‑step dependency setup, environment configuration, code examples, and a simple browser test.

AI chatAgentAlibaba Baichuan
0 likes · 11 min read
Integrating LangChain4j with Spring Boot for Fast AI Conversations on Alibaba Baichuan
Ray's Galactic Tech
Ray's Galactic Tech
Apr 25, 2026 · Artificial Intelligence

Mastering Spring AI MCP: Bidirectional Communication, Four Providers, Sampling Callbacks, and Dual‑Mode Deployment

This article explains why traditional function‑calling is insufficient for production AI services and shows how Spring AI's Model Context Protocol (MCP) introduces bidirectional communication, addressable resources, parameterized prompts, tool orchestration, and server‑initiated sampling, providing a complete roadmap to build a production‑grade AI microservice architecture.

AIJavaMCP
0 likes · 37 min read
Mastering Spring AI MCP: Bidirectional Communication, Four Providers, Sampling Callbacks, and Dual‑Mode Deployment
Java Architect Handbook
Java Architect Handbook
Apr 25, 2026 · Backend Development

Why MyBatis Mapper Interfaces Don't Need Implementation Classes

MyBatis generates mapper implementations at runtime using JDK dynamic proxies; the proxy intercepts interface calls, builds a statementId from the interface’s fully‑qualified name and method name, looks up the corresponding MappedStatement via the namespace‑id convention, and delegates execution to SqlSession, eliminating the need for a concrete class.

JDK Dynamic ProxyJavaMapperMethod
0 likes · 13 min read
Why MyBatis Mapper Interfaces Don't Need Implementation Classes
MeowKitty Programming
MeowKitty Programming
Apr 25, 2026 · Backend Development

When Connecting Java to AI, More Tools Aren’t Always Better: Dynamic Tool Discovery Is the New Hotspot

The article explains why loading a Java AI agent with dozens of tools hurts token efficiency and accuracy, and how Spring AI’s dynamic tool discovery—implemented via ToolSearchToolCallAdvisor—lets models fetch only the needed tools per turn, saving up to 64% of tokens and simplifying tool governance for large Java back‑ends.

AI agentsBackend IntegrationDynamic Tool Discovery
0 likes · 7 min read
When Connecting Java to AI, More Tools Aren’t Always Better: Dynamic Tool Discovery Is the New Hotspot
Tech Freedom Circle
Tech Freedom Circle
Apr 25, 2026 · Fundamentals

Why a Simple Singleton Answer Failed an Alibaba Interview: The Real Role of volatile, Memory Barriers, and Happens‑Before

The article dissects an Alibaba interview question about the volatile modifier, showing why answering only with a lazy‑loaded singleton is insufficient, and explains how volatile prevents instruction reordering, establishes memory barriers, and creates happens‑before relationships to make double‑checked locking safe.

ConcurrencyHappens-beforeJMM
0 likes · 20 min read
Why a Simple Singleton Answer Failed an Alibaba Interview: The Real Role of volatile, Memory Barriers, and Happens‑Before
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 25, 2026 · Backend Development

Seven Techniques to Retrieve Spring Boot Properties

This article demonstrates seven practical ways to access configuration properties in a Spring Boot 3.5.0 application, covering ContextRefreshedEvent listeners, ConfigurableEnvironment, the Environment interface, @Value, @ConfigurationProperties, ConfigurableBeanFactory, and the Actuator /env endpoint, each with code examples and usage notes.

ActuatorEnvironmentJava
0 likes · 9 min read
Seven Techniques to Retrieve Spring Boot Properties
MeowKitty Programming
MeowKitty Programming
Apr 24, 2026 · Backend Development

MCP Has Changed: Why Java Teams Should Move From SSE to Streamable HTTP for AI

The 2025 MCP specification replaces the old HTTP+SSE transport with Streamable HTTP, requiring Java services to handle both POST and GET, manage session IDs, support reconnection and authentication, and rethink gateway, load‑balancing, and client recovery strategies instead of relying on a simple SSE long‑connection model.

AI integrationJavaMCP
0 likes · 7 min read
MCP Has Changed: Why Java Teams Should Move From SSE to Streamable HTTP for AI
Top Architect
Top Architect
Apr 24, 2026 · Backend Development

How MyBatis‑Plus Handles Slow Queries on Massive Datasets

The article explains why ordinary MyBatisPlus pagination becomes slow and memory‑hungry when processing millions of rows, and demonstrates three alternatives—regular query, stream query, and cursor query—detailing their implementations, trade‑offs, and practical code snippets for MySQL and Oracle environments.

CursorJavaLarge Data
0 likes · 10 min read
How MyBatis‑Plus Handles Slow Queries on Massive Datasets
Java Architect Handbook
Java Architect Handbook
Apr 24, 2026 · Interview Experience

Why Use Coroutines When Threads Already Exist? Java Interview Deep Dive

An interview‑focused analysis explains how processes allocate resources, threads handle CPU scheduling, and coroutines act as lightweight user‑mode threads, comparing their creation costs, switching overhead, and memory usage, and highlights Java 19/21 virtual threads as the Java implementation of coroutines.

ConcurrencyJavaThread
0 likes · 13 min read
Why Use Coroutines When Threads Already Exist? Java Interview Deep Dive
IoT Full-Stack Technology
IoT Full-Stack Technology
Apr 24, 2026 · Backend Development

One Annotation Eliminates Redundant ID‑to‑Name, Dictionary, and Enum Translations in SpringBoot

Easy‑Trans is a SpringBoot starter that provides five translation modes—simple ID‑to‑name, dictionary code‑to‑text, enum mapping, RPC cross‑service, and custom data source—allowing developers to replace repetitive lookup code with a single @Trans annotation, optionally enabled with caching for high performance.

Data TranslationEasy-TransJava
0 likes · 6 min read
One Annotation Eliminates Redundant ID‑to‑Name, Dictionary, and Enum Translations in SpringBoot
java1234
java1234
Apr 24, 2026 · Artificial Intelligence

Choosing Between Spring AI 2.0 and LangChain4j for Java AI Development

This article compares Spring AI 2.0 and LangChain4j, examining their positioning, version alignment, architecture, programming model, RAG support, observability, learning curve, and ecosystem integration to help Java teams decide which library best fits their AI project constraints.

AI librariesJavaLLM integration
0 likes · 13 min read
Choosing Between Spring AI 2.0 and LangChain4j for Java AI Development
Java Web Project
Java Web Project
Apr 24, 2026 · Backend Development

Boost Java Productivity: Integrate Claude & Codex into IntelliJ IDEA Free

The article presents a step‑by‑step, three‑month‑tested workflow that embeds Anthropic Claude and OpenAI Codex into IntelliJ IDEA via the Continue plugin, enabling Java developers to auto‑generate CRUD code, unit tests, and refactorings, connect Claude to the database, and avoid repetitive coding tasks without purchasing a subscription.

AI-assisted developmentClaudeCodex
0 likes · 12 min read
Boost Java Productivity: Integrate Claude & Codex into IntelliJ IDEA Free
Lisa Notes
Lisa Notes
Apr 24, 2026 · Fundamentals

Java Inheritance from Scratch: Stage‑2 AI Learning Notes

This note explains Java inheritance, covering the single‑inheritance class hierarchy, a Car class example, a ChildCar subclass that adds a load field, and eight key inheritance capabilities such as member reuse, method overriding, and constructor chaining, illustrating why inheritance improves code reuse and quality.

Class HierarchyConstructorInheritance
0 likes · 7 min read
Java Inheritance from Scratch: Stage‑2 AI Learning Notes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 24, 2026 · Backend Development

Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis

This article demonstrates how to create a millisecond‑level real‑time online user tracking system using Spring Boot 3.5, WebSocket with STOMP, and Redis pub/sub, covering environment setup, Maven dependencies, server‑side configuration, presence services, event listeners, and a simple front‑end page.

JavaRedisSpring Boot
0 likes · 10 min read
Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis
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 GenerationBackend DevelopmentJava
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.

Async CleanupConsistencyDatabase
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 LagInterview preparationJava
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
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 23, 2026 · Backend Development

Real-Time Bidirectional Config Updates in Spring Boot 3 Without Restart

This tutorial shows how to integrate Apache Commons Configuration2 with Spring Boot 3 to load, refresh, persist, and listen to configuration changes in real time, using periodic reload triggers, auto‑save, and event listeners so updates take effect without restarting the service.

Apache Commons Configuration2Auto SaveDynamic Configuration
0 likes · 8 min read
Real-Time Bidirectional Config Updates in Spring Boot 3 Without Restart
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.

AuthenticationDesign PatternsFactory Pattern
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.

ConcurrencyJavaPerformance Optimization
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 navigationDatabase
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 EditingJavaOpenAI
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 integrationJavaOpenAI
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 SecurityJavaRSA
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.

ConcurrencyDistributed SystemsJVM
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 DevelopmentCPUConcurrency
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.

ConcurrencyConcurrentHashMapJava
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 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.

BotJavaMessaging
0 likes · 12 min read
How to Build a Personal WeChat Bot with iLink and the JiLink Java SDK
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 PracticesCode Review
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.

ClassConstructorJava
0 likes · 4 min read
Java Basics: Building a Car Class from Scratch
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
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 FrameworksJavacomparison
0 likes · 10 min read
Which Java Backend Framework Reigns Supreme? A Data‑Driven Comparison of Spring Boot, Quarkus, Micronaut, and More
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.

ConcurrencyJavaPinning
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 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
Selected Java Interview Questions
Selected Java Interview Questions
Apr 14, 2026 · Backend Development

Mastering Java Exception Hierarchy: From Checked to Unchecked and Best Practices

This guide explains Java's exception inheritance tree, the design intent behind checked and unchecked exceptions, proper handling strategies, common pitfalls, and interview‑ready answers to high‑frequency questions, helping developers write robust, maintainable backend code.

Backend DevelopmentChecked ExceptionException Handling
0 likes · 8 min read
Mastering Java Exception Hierarchy: From Checked to Unchecked and Best Practices
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
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).

JavaJxBrowserProtobuf
0 likes · 7 min read
How to Build Modern Java Desktop Apps with Shadcn UI, React, and JxBrowser
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.

CollaborationEcosystemIndustry Insights
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.

ConcurrencyConcurrentHashMapJava
0 likes · 7 min read
Why a Simple HashMap Bug Crashed Our High‑Concurrency Service and How to Fix It