Tagged articles

Java

5000 articles · Page 8 of 50
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.

AIJavaMulti-agent
0 likes · 16 min read
From Spring Boot 3.5 to an AI OS: One JAR Powers Agents, Knowledge Base, and Toolchain
Java Tech Workshop
Java Tech Workshop
Apr 27, 2026 · Backend Development

How to Integrate Kafka with SpringBoot for High‑Performance Messaging

This article walks through Kafka’s core architecture, explains why it achieves massive throughput, and provides a step‑by‑step SpringBoot integration—including environment setup, Maven dependencies, configuration, producer and consumer code, advanced features like transactions and dead‑letter queues, plus performance monitoring and tuning tips.

ConsumerDead Letter QueueJava
0 likes · 11 min read
How to Integrate Kafka with SpringBoot for High‑Performance Messaging
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.

JavaService Layerarchitecture
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
Java Tech Workshop
Java Tech Workshop
Apr 26, 2026 · Backend Development

Getting Started with SpringBoot Integration of RabbitMQ

This article explains why RabbitMQ is essential for distributed systems, outlines its core functions and typical scenarios, and provides step‑by‑step instructions for setting up Docker or local installations, adding Maven dependencies, configuring SpringBoot, and implementing Direct, Fanout, and Topic exchange patterns with code examples and troubleshooting tips.

Direct ExchangeIntegrationJava
0 likes · 20 min read
Getting Started with SpringBoot Integration of RabbitMQ
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
Cloud Architecture
Cloud Architecture
Apr 25, 2026 · Backend Development

Spring Boot & Tomcat Tuning for High Concurrency: 17 Techniques & 12 Key Parameters

This guide walks through a complete Spring Boot and Tomcat performance tuning workflow for high‑traffic services, covering thread‑model fundamentals, capacity planning, 17 practical engineering tricks, 12 essential Tomcat parameters, and strategies for graceful deployment, observability, and fault isolation.

JavaPerformance TuningSpring Boot
0 likes · 43 min read
Spring Boot & Tomcat Tuning for High Concurrency: 17 Techniques & 12 Key Parameters
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 Tech Workshop
Java Tech Workshop
Apr 25, 2026 · Information Security

Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers

This article walks through building a complete OAuth2.0 solution in Spring Boot, covering core concepts, a comparison of the four grant types, project initialization, detailed configuration of the authorization and resource servers, custom login pages, end‑to‑end testing, advanced optimizations, and security best‑practice recommendations.

JWTJavaOAuth2
0 likes · 24 min read
Step‑by‑Step Guide to Integrating Spring Boot with OAuth2.0 Authorization and Resource Servers
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-BeforeJava
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.

ActuatorConfigurationJava
0 likes · 9 min read
Seven Techniques to Retrieve Spring Boot Properties
Java Tech Workshop
Java Tech Workshop
Apr 25, 2026 · Backend Development

Secure SpringBoot: Configuring HTTPS and Enabling HTTP/2

This guide explains why plain HTTP is unsafe for enterprise projects, outlines the core principles and benefits of HTTPS and HTTP/2, compares certificate types, provides step‑by‑step commands to generate self‑signed and authority‑issued certificates, and shows how to configure SpringBoot, enable automatic HTTP‑to‑HTTPS redirects, verify HTTP/2 activation, and apply production‑grade security hardening.

HTTPSJavaSSL
0 likes · 22 min read
Secure SpringBoot: Configuring HTTPS and Enabling HTTP/2
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.

JavaLarge DataMybatisPlus
0 likes · 10 min read
How MyBatis‑Plus Handles Slow Queries on Massive Datasets
Java Tech Workshop
Java Tech Workshop
Apr 24, 2026 · Backend Development

SpringBoot Sensitive Data Desensitization via Jackson Serialization (Zero‑Intrusion, High‑Performance)

This article explains how to protect user privacy in SpringBoot applications by masking sensitive fields such as phone numbers, ID cards, emails, bank cards, names, and addresses during JSON serialization using a custom Jackson serializer and annotation, offering a zero‑intrusion, high‑performance solution compared to other approaches.

AnnotationJacksonJava
0 likes · 16 min read
SpringBoot Sensitive Data Desensitization via Jackson Serialization (Zero‑Intrusion, High‑Performance)
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.

ConcurrencyJavaVirtual Threads
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.

AnnotationData TranslationEasy-Trans
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 HierarchyJavaSubclass
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 generationAPI designBackend Development
0 likes · 6 min read
Why Java Developers Should Re‑Emphasize API Design in the AI Era
Cloud Architecture
Cloud Architecture
Apr 23, 2026 · Backend Development

Gracefully Stopping Java Threads: Kernel Mechanics to Cloud‑Native Guide

This article explains why Java threads cannot be force‑killed, how Thread.interrupt works, and provides a step‑by‑step framework—including cooperative cancellation, two‑phase termination, thread‑pool shutdown, Kafka consumer handling, Spring Boot lifecycle integration, and Kubernetes termination orchestration—to achieve safe, observable shutdown of production‑grade Java services.

ConcurrencyJavaKafka
0 likes · 31 min read
Gracefully Stopping Java Threads: Kernel Mechanics to Cloud‑Native Guide
Cloud Architecture
Cloud Architecture
Apr 23, 2026 · Backend Development

Three Practical Spring Boot Solutions for Auto‑Cancelling Orders After 30 Minutes

This article analyzes the challenges of automatically cancelling unpaid orders after 30 minutes in high‑traffic e‑commerce systems and compares three production‑grade approaches—simple scheduled polling, RabbitMQ delayed queues, and a time‑bucket plus MQ strategy—detailing their architectures, code, trade‑offs, and best‑practice recommendations.

DatabaseJavaSpring Boot
0 likes · 41 min read
Three Practical Spring Boot Solutions for Auto‑Cancelling Orders After 30 Minutes
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 CleanupDatabaseJava
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
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
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 DevelopmentFramework ComparisonJava
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 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.

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

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

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

JavaLangChain4jQdrant
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 ProcessorJavaRequestBodyAdvice
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 DevelopmentJavaSpring
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.

ElasticsearchFull-text SearchJava
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.

JavaObject-Orientedclass
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.

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

DeadlockIsolation LevelJava
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
Cloud Architecture
Cloud Architecture
Apr 17, 2026 · Backend Development

The Distributed Transaction ‘Silver Bullet’ Myth: Practical SAGA, TCC, and Outbox Implementation

Distributed transactions have no universal silver bullet; architects must balance consistency, latency, throughput, complexity, and operational cost, and choose among SAGA, TCC, and Outbox patterns based on concrete trade‑offs, failure handling, and real‑world engineering constraints.

Distributed TransactionsJavaMicroservices
0 likes · 47 min read
The Distributed Transaction ‘Silver Bullet’ Myth: Practical SAGA, TCC, and Outbox Implementation
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.

CloudEventsJavaSpring Boot
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.

ConcurrencyJavaPerformance
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