Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#Backend Development

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

500 articles in the current browsing window, ordered by publication date.

RocketMQ Reliability Deep Dive: Three-Phase Model, Transaction Messages & Atomic Guarantees

This article details RocketMQ's end-to-end message reliability through a three-phase model (send, store, consume), transaction messages using half-messages and a check-back mechanism to atomically bind local transactions with message delivery, idempotency design, reconciliation fallback, and production-grade configurations with real incident postmortems.

Elegant Payment System Design: From Business Decomposition to TCC Transactions

This article breaks down payment system design into business decomposition, sequence modeling, data structure design, and key technical patterns like TCC transactions, locking, and fund settlement, using e-commerce scenarios to illustrate each layer.

Claude Code Bug Loop? Use GPT-5.2 Codex CLI for Second Opinion

The author shares a practical workflow for escaping Claude Code's bug-regression loops by integrating GPT-5.2 via OpenAI's Codex CLI as a second-opinion reviewer, detailing configuration, command patterns, sandbox modes, and background execution tips for complex backend projects.

Designing Universal Permission Systems: RBAC Models & Spring Security Implementation with JWT

This article explains RBAC permission models (RBAC0 through RBAC3) and demonstrates practical Spring Security integration covering basic setup, JWT token authentication, JSON login customization, BCrypt password encryption, and database-backed authentication with code examples.

Dynamic JSON Field Control in Spring Boot Without Code Changes: Jackson + ByteBuddy Mixin Composition

This article demonstrates how to dynamically control JSON serialization in Spring Boot 3.5.0 by combining Jackson mixins with ByteBuddy-generated interfaces, enabling per-class and global serialization rules without modifying DTOs or writing repetitive configuration.

How I Replaced 16 If-Else Blocks with Spring Boot Strategy Pattern (And Why It Works)

This tutorial demonstrates how to refactor a 16-branch if-else chain in a Spring Boot order service using the Strategy Pattern, showing interface definition, strategy implementations, auto-registration via Spring's List injection, factory pattern for O(1) lookup, and common pitfalls to avoid.

Java 27 Structured Concurrency: Replacing CompletableFuture for Parallel Homepage Aggregation

The article demonstrates migrating a homepage aggregation API from CompletableFuture to Java 27's StructuredTaskScope, showing how structured concurrency simplifies parallel downstream calls by automatically managing task lifecycle, cancellation on failure, scope-level timeouts, virtual threads, and observability—reducing exception handling code by half while making concurrency semantics match business intent.

Simplify Multi-Value Mapping in Java with Apache Commons Collections MultiValuedMap

This tutorial demonstrates how Apache Commons Collections 4's MultiValuedMap interface eliminates boilerplate code when mapping keys to multiple values, covering core operations, three implementations (ArrayListValuedHashMap, HashSetValuedHashMap, UnmodifiableMultiValuedMap), and practical code examples with output.

Why PHP Developers Should Choose Zig Over Rust as Their Second Language in the AI Era

This article argues that PHP developers should adopt Zig as a second language instead of Rust, because Zig's explicit memory management, seamless C interoperability, and lack of borrow checker make it more suitable for AI-assisted development of native extensions, CLI tools, and low-level systems while complementing PHP's business logic strengths.

Redis Cache Penetration, Breakdown & Avalanche: Three Lines of Defense

This article dissects Redis cache penetration, breakdown, and avalanche as three forms of cache-miss storms, detailing layered defenses — Bloom filters for penetration, mutex locks and logical expiration for breakdown, TTL jittering plus multi-level caching and rate limiting for avalanche — with implementation code, capacity formulas, and production checklists.

Java Campus Recruitment Crash Course: From Core Concepts to Deployable Projects in 30, 60, or 90 Days

A structured Java backend interview preparation guide covering core Java, MySQL, Spring ecosystem, Redis, message queues, microservices basics, deployment, and project practice with flexible 30-day, 8-week, and 12-week schedules for campus recruitment candidates.

Why Spring Boot's /tmp Fills Up Even When Streaming Files to MinIO

Spring Boot's multipart parser writes uploads to disk before your controller runs, filling /tmp during concurrent large files; the fix is direct browser-to-object-storage uploads via presigned URLs, plus temp directory isolation, concurrency limits, and content validation.

AI-Native Financial API Redesign: From Aggregated to Single-Scenario Interfaces

This article analyzes the mismatch between traditional aggregated financial APIs and LLM-assisted programming, proposing a shift to single-scenario interfaces with atomic parameters, explicit constraints, and an AI gateway layer, validated by GLM-5.2 experiments showing 88% complexity reduction and 65% faster development.

Designing Production-Grade APIs: Contracts, Security, Idempotency & Rate Limiting with Code

This comprehensive guide covers designing production-ready APIs from contract design and security (HMAC-SHA256 signatures, nonce replay protection) to idempotency (five patterns with Redis Lua), distributed rate limiting (token bucket, sliding window), observability (TraceID, logging, monitoring), and versioning strategies, with production-ready Java code examples.

How to Implement Redis Cache Warming in Spring Boot

This article demonstrates how to implement Redis cache warming in Spring Boot using an abstract cache class, ApplicationContextAware utility, and CommandLineRunner to preload hot data at startup, with a concrete NewsCache example showing RedisTemplate integration and automatic cache reload on expiration.

How Spring Boot Auto-Configuration Finds and Loads Classes: A Deep Dive

This article explains Spring Boot's auto-configuration mechanism, covering how @EnableAutoConfiguration triggers AutoConfigurationImportSelector, loads candidate classes from META-INF imports files, evaluates conditional annotations like @ConditionalOnClass and @ConditionalOnMissingBean at different phases, orders configurations via @AutoConfigureBefore/After, binds properties with @ConfigurationProperties, and troubleshoots silent failures using --debug and ConditionEvaluationReport.

Process Orchestration: The Survival Skill for Multi-Business Backend Systems

The article explains why process orchestration is essential for backend systems serving multiple business lines, demonstrating a flow engine with process, success, rollback, and callback nodes that eliminates if-else chains, ensures code isolation, and enables safe extension, with code examples and a Git repository reference.

EF Core Deep Dive: Change Tracking, Query Optimization, Concurrency & Migration Strategies

This comprehensive guide explores EF Core's ChangeTracker internals, performance optimization techniques including AsNoTracking and compiled queries, optimistic concurrency with Timestamp tokens, production migration strategies using SQL scripts and bundles, and previews EF Core 10 LTS features like vector search and JSON support.

Choosing a Java Garbage Collector: Which Metric Are You Optimizing For?

This guide explains Java garbage collector internals and selection criteria, covering Serial, Parallel, G1, ZGC, and Shenandoah, detailing their trade-offs between throughput, latency, and memory overhead, and provides scenario-based recommendations for microservices, low-latency systems, batch processing, and small containers, including upcoming Java 27 defaults.

Java vs Python: Why You Should Extend, Not Switch, for AI & Data

This article analyzes whether Java developers should switch to Python, distinguishing three motivations—AI application development, data analysis/automation, and career dissatisfaction—and argues for extending skills with Python rather than switching, detailing ecosystem boundaries, a real-world SaaS architecture, and practical learning targets.

Elegant API Rate Limiting with Spring Interceptor, Redis & Custom Annotations

This article demonstrates building an elegant API rate limiter in Spring Boot using interceptors and Redis, evolving from a basic fixed-window implementation to a flexible annotation-driven design supporting per-endpoint limits, class-level defaults, and solutions for path parameters and sliding window logic.

Snowflake ID Collision in Production: Why Custom ID Generators Fail

A production incident caused by a flawed custom Snowflake ID generator with a 31-bit timestamp (24-day cycle), IP-based BusinessId collisions, and unconfigured WorkerId/DataCenterId led to duplicate order IDs; the article analyzes the root causes and recommends mature libraries like Hutool and Baomidou with proper WorkerId assignment strategies.

Nginx Proxy Cache Internals: Key-Value Design, Configuration & Cache Locking Strategies

This article explains Nginx proxy caching as a local key-value file-system store, detailing its five-step request flow, configuration directives like proxy_cache_path and proxy_cache_lock, and techniques such as stale-cache serving and background updates to reduce backend load, cut latency, and improve availability during upstream failures.

Arthas 4 Meets AI: Diagnose Java Apps with Natural Language via MCP

Arthas 4 introduces an MCP server that lets AI assistants execute Java diagnostic commands like thread, trace, and watch through natural language, enabling developers to troubleshoot JVM issues without memorizing command syntax, with 29 tools across JVM, class loading, monitoring, and utility categories.

13 Years of Java Mastery: Free Knowledge Map for Backend Engineers

A Java engineer shares a free, comprehensive knowledge map built from 13 years in Beijing, covering nine modules including industrial project breakdowns, source code deep dives, algorithm patterns, AI integration, interview strategies, system design frameworks, and developer tools—all aimed at helping engineers move beyond CRUD and advance to architecture roles.

13 Years of Java Mastery: A Free Knowledge Map for Engineers

A Java engineer shares a free, comprehensive knowledge map built from 13 years in Beijing, covering nine modules including industrial projects, source code analysis, algorithm patterns, AI integration, interview strategies, system design, tools, and more, with practical methodologies and no paywalls.

Palantir Ontology Functions: Turning Business Logic into Reusable, Typed Assets for Agents

The article explains how Palantir Ontology Functions centralize scattered business logic into typed, testable, monitorable server‑side functions that operate on business objects, contrasting them with Pipelines, Actions, and Automations, and showing why they provide stable tools for Agents versus fragile prompt‑embedded formulas.

Why Activity Tables Need Status Fields: Beyond Start and End Times

The article explains why marketing activity tables require a status field (draft, approving, release, cancelled) alongside start_time and end_time, because time fields alone cannot represent manual termination, approval workflows, or operational interventions, and demonstrates SQL queries combining both dimensions.

From AI Replacement Fear to AI Command: A PHP Developer's Laravel AI SDK Journey

A PHP developer shares how they overcame AI replacement anxiety by adopting Laravel AI SDK to build production-ready AI agents, integrating tools for real-time data access, and using Claude Code for AI-assisted development, proving PHP's viability for AI integration without switching languages.

Google Cloud Swift SDK: Compile-Time Data-Race Safety for Server-Side

Google launches Cloud Swift SDK for Swift 6.2+, using SwiftNIO's async event loops, HTTP/2, gRPC, and compile-time data-race safety; engineers praise Swift's lightweight runtime, ARC, and syntax as a developer-friendly alternative to Rust or C++ for backend microservices, despite slow adoption after IBM's 2019 exit.

Open-Source Tool Generates Full-Stack Spring Boot CRUD Code from DB Schema

This article introduces an open-source code generator that automatically creates complete Spring Boot CRUD layers—entities, DAOs, MyBatis mappers, services, converters, and controllers—from database schemas or SQL, featuring customizable templates with dynamic parameters and reusable code blocks for team-specific conventions.

Navicat Gone, Spring Shrunk: GPT-6 AI Takes Over Backend Workflows

The author explains how OpenAI's GPT-6 model family with computer-use capabilities and halved pricing eliminates the need for tools like Navicat and reduces Spring to a template, shifting backend developers from code writing to problem definition and model output auditing.

Spring Boot + Apache CXF: Building Production-Ready SOAP WebServices with WSDL & WS-Security

This guide covers integrating Spring Boot with Apache CXF to publish and consume SOAP web services, detailing WSDL-first vs code-first approaches, endpoint configuration, client invocation patterns, WS-Security (username tokens, signatures, encryption), MTOM attachments, message validation, exception handling, testing strategies, and production hardening against XXE, large payloads, and version conflicts.

Spring Boot 4.1's InetAddressFilter Finally Blocks SSRF in URL Preview APIs

The article demonstrates how Spring Boot 4.1's new InetAddressFilter.externalAddresses() simplifies SSRF protection for user-supplied URLs, replacing manual IP checks with a centralized HTTP client filter, while also covering URL validation, redirect handling, timeouts, response size limits, and testing strategies to secure link preview and similar features.

Django vs Flask vs FastAPI: How to Choose the Right Python Web Framework

This article compares Django, Flask, and FastAPI based on real project experience, analyzing each framework's architecture, built-in features, learning curve, performance, and ideal use cases to help developers select the best fit for their project requirements and team capabilities.

Why Developers Are Migrating to Apache PDFBox 3: Key Changes and Practical Examples

This article analyzes Apache PDFBox 3's major improvements over 2.x, including the new Loader API, incremental parsing for memory efficiency, rewritten IO layer with java.nio, and cleaner APIs, while providing practical code examples for loading PDFs, extracting text, and generating documents.

Dynamic Field Validation in Spring Boot via @DynamicValid and Argument Resolver

This article demonstrates how to implement per-endpoint dynamic field validation in Spring Boot 3.5.0 using a custom @DynamicValid annotation and HandlerMethodArgumentResolver, allowing flexible control over required, optional, and unknown fields for Map, JsonNode, or POJO parameters, with support for custom validators and integration with @Validated.

Idempotency Design for Write Services: 7 Patterns & Selection Guide

This article details seven idempotency patterns for backend write operations—including unique keys with database constraints, state machines, execution records, naturally idempotent actions, request fingerprinting, client-generated keys, and server-issued tokens—with concrete examples, SQL code, and a selection guide to match each pattern to specific business scenarios like payment callbacks, order cancellations, and duplicate purchases.

5 Ways to Prevent API Replay Attacks: From Nonces to Idempotency Keys

This article explains five practical solutions to prevent API replay attacks, including unique nonces with Redis storage, timestamp validation, combined signature-timestamp-nonce schemes, backend-issued one-time tokens, and business-level idempotency keys for critical operations like payments.

Java 27 Finally Lets You Switch on long, double, boolean — With Range Guards

Java 27's preview feature extends switch expressions to all primitive types (long, float, double, boolean) and adds pattern matching with 'when' guards, enabling concise range-based business rules instead of if-else chains, though it remains a preview feature requiring explicit enablement.

18 Battle-Tested Java Coding Techniques for High-Performance, Low-CPU Systems (Part 1)

This article presents 18 practical coding techniques derived from million-QPS production systems to reduce CPU consumption and improve performance, covering type unification, string handling, loop optimization, caching strategies, and data structure selection with concrete before/after code examples.

Java 27 Structured Concurrency: Simplifying Parallel Aggregation Beyond CompletableFuture

The author explores Java 27's Structured Concurrency (StructuredTaskScope) for parallel service aggregation, showing how it replaces CompletableFuture with clearer lifecycle, automatic cancellation on failure, scope-level timeouts, and virtual threads, while noting it remains a preview API requiring --enable-preview.

Beyond Pause Times: Deep Dive into G1 GC Log Analysis for Java Performance Tuning

This article teaches how to analyze G1 GC logs beyond simple pause times by breaking down phase timings, heap changes, GC causes, and concurrent marking overhead, then mapping log signals like high Update RS or Object Copy to concrete code-level issues such as excessive reference writes, humongous allocations, or weak reference abuse.

Why Hutool 5 Dominates Java Projects: One Library Replaces Dozens of Custom Utils

This article analyzes why Hutool 5 has become the standard Java utility library, detailing its modular design, code reduction benefits, performance improvements over JDK, and comparison with Guava and Apache Commons, while providing practical migration examples for strings, dates, files, HTTP, JSON, and AI integration.

12 Spring Transaction Failure Scenarios: Why 90% of Developers Fall for #8

This article systematically breaks down 12 common scenarios where Spring @Transactional fails, from non-public methods and self-invocation to exception swallowing, wrong propagation, controller-layer annotations, long transactions, and misconfigured transaction managers. Each scenario includes code examples, root-cause analysis, and practical fixes.

Spring Boot 4.1 Upgrade: Why Your Decade-Old ObjectMapper Breaks First

This article details the practical challenges and solutions when migrating from Spring Boot 3.x to 4.x, focusing on the Jackson 2 to 3 transition including package changes, exception handling updates, annotation exceptions, immutable ObjectMapper configuration, and coexistence strategies for legacy dependencies.

Dynamic Service Provider Switching with Spring-Smart-DI's @AutowiredProxySPI

This tutorial demonstrates how to use Spring-Smart-DI's @AutowiredProxySPI annotation to dynamically switch between multiple service implementations (e.g., SMS providers) at runtime by changing configuration values, without application restarts, using proxy-based injection that resolves the active implementation on each call.

Reliable Delivery for Billion-Scale LongConn Gateways: Tackling ACK Storms

The article explains why a successful Netty write does not guarantee message delivery, and presents a production‑grade solution for billion‑scale long‑connection gateways that combines application‑level ACKs, timeout‑driven retries, offline compensation, state‑machine design, back‑pressure handling, and observability to prevent ACK storms and retry avalanches.

Final Chapter: Master SQL Server Stored Procedures – Batch Execution & Params

This concluding tutorial walks beginners through SQL Server stored procedures, highlighting their speed, reusability, and automation advantages over single statements and views, and demonstrates creating, invoking (with and without parameters), altering, and dropping procedures while sharing naming conventions and common pitfalls.

Mastering Database Transactions: Eliminate Data Chaos and Loss with ACID Basics

The article explains how database transactions ensure atomicity, consistency, isolation, and durability, showing why they are essential for preventing data inconsistency, loss, and reconciliation errors, and provides step‑by‑step SQL examples of successful and rolled‑back transactions along with practical tips for safe usage.

Designing and Implementing Robust Payment Process Logic

An in‑depth guide walks through the business background, modular decomposition, sequence diagram, and data‑structure design of payment systems, illustrating how to manage account balances, transaction logs, third‑party integration, and order models while addressing transaction consistency, locking, retries, and settlement accuracy.

12 Unfiltered Observations on Working with AI

The author, an experienced backend developer, shares twelve hard‑earned observations about integrating AI into daily coding, debugging, and review workflows, highlighting the importance of an AI‑first mindset, the shift from ability to willingness, prompt engineering, human judgment, and the broader impact on teams and knowledge management.

When AI Writes Whole Projects, What Jobs Remain for Java Backend Developers?

After an AI mistakenly removed three reflection‑based Spring beans from a 5,000‑line service, the author reflects on how AI‑driven code generation is reshaping Java backend roles—from writing code to focusing on architecture, requirements, and AI‑orchestrated testing—highlighting recent survey data and upcoming Spring AI 2.0 features.

Implementing a Net‑Disk‑Style 10 GB File Upload with Spring Boot: No Restart After Interrupt

The article explains why the standard MultipartFile upload fails for multi‑gigabyte files, then details a Spring Boot solution that splits files into 10 MB chunks, uses SHA‑256 hashes for identification, supports resumable and instant uploads, and safely merges chunks on the server.

API Flood Protection: Emergency Mitigation, Multi-Layer Defense & Rate Limiting Algorithms

This article provides a comprehensive guide to handling API abuse, covering emergency mitigation within three minutes, a multi-layer defense architecture, comparison of four rate limiting algorithms, practical implementations using Redis+Lua token bucket, Sentinel, and Guava Bloom filter, cache protection strategies, idempotency design, and a simulated interview scenario with code examples for distributed rate limiting and replay attack prevention.

How to Write Robust Code When Integrating Third‑Party APIs: A Real‑World Example

The article walks through a production scenario where business documents must be synchronized to a low‑code platform via its OpenAPI, explaining how to build a unified client, verify apparent failures, apply a single retry, and fall back to a task table for asynchronous recovery, all illustrated with concrete code.

How to Build an Enterprise‑Grade API with Gin and GORM

This tutorial walks through creating a complete Go backend service using Gin and GORM, covering project setup, layered architecture, database initialization, user model definition, JWT‑based registration and login, pagination, middleware, routing, and deployment options, while also suggesting extensible features such as RBAC, Swagger, Redis caching, Docker, and micro‑service frameworks.

Designing AI‑Friendly Backend Architecture for 24/7 Unattended Development

The article outlines a comprehensive roadmap for transforming traditional backend systems into AI‑friendly architectures, introducing concepts such as Architecture Maps, Service Cards, SKILL packages, multi‑layered testing, permission tiers, and a Harness framework to enable reliable, 24/7 unattended AI‑driven development and operations.

Spring Boot & MinIO: Building an Enterprise File Platform with Multipart Upload & Multi-tenancy

This article details building an enterprise file service platform using Spring Boot and MinIO, covering cluster architecture, multi-tenant isolation, SDK tuning, multipart upload with resumable frontend direct upload, lifecycle management, security controls, production optimization, and async image processing pipelines.

How a 10‑Year Backend Engineer Burned AI Credits and Turned WorkBuddy into a Project Owner

After a decade of backend work, the author burned through all WorkBuddy token credits, distilled three strict rules for AI‑agent management, compared WorkBuddy with Copilot, Cursor and Claude, and showed how disciplined use of AI agents can automate end‑to‑end development tasks while reshaping daily workflow.

Connection Pool Exhausted? It's Likely Leaked Connections, Not Database Limits

This guide diagnoses database connection pool exhaustion by distinguishing connection leaks from genuine high concurrency, demonstrating log analysis for HikariCP and Druid, verifying leaks via SHOW PROCESSLIST and pool metrics, fixing code with try-with-resources, tuning key HikariCP parameters, and enabling leak detection to pinpoint exact leak locations.

Designing Effective API Caching: Strategies, Layers, and Best Practices

This guide explains API caching fundamentals, cache hit vs miss, multi‑layer cache hierarchies, common strategies such as cache‑aside and stale‑while‑revalidate, TTL tuning, event‑driven invalidation, avalanche prevention, HTTP cache directives, and key monitoring metrics to help engineers build resilient, high‑performance services.

Managing Statutory Holidays in Enterprise Attendance with SpringBoot & Vue3

The article explains how to avoid common pitfalls in handling statutory holidays for enterprise attendance systems by building an independent work‑day calendar service, storing daily date types in a database, providing unified SpringBoot APIs for rule evaluation, and offering a Vue3 visual calendar for HR to maintain holidays, adjustments, and custom company holidays.

AI‑Native Development for Transaction Core: A Five‑Gate Framework to Stabilize Legacy Systems

To adapt legacy order‑system development to AI‑generated code, the authors propose a five‑gate, spec‑driven workflow—demand clarification, technical design, TDD implementation, gate‑controlled review, and end‑to‑end telemetry—built on a five‑layer bottom‑up architecture that enforces stability, observability, and human‑validated safeguards.

Why Ignoring Non‑Critical Alerts Is Safe When Core Services Are Monitored

The author explains that when core business modules are properly monitored with structured logs and dedicated alert groups, a flood of non‑critical alerts can be ignored, shares a lightweight Java StructuredLog utility, and outlines best practices for real‑time monitoring and log standardization.

From MySQL to 10M QPS: A Full‑Stack Engineering Blueprint for High‑Throughput Transaction Systems

This white‑paper dissects why a monolithic MySQL‑based order service collapses under peak traffic and presents a layered, asynchronous architecture—using Redis for stock pre‑allocation, RocketMQ for transactional messaging, sharding, idempotency, and comprehensive observability—to reliably handle tens of millions of queries per second.

Build a Spring Boot Code Review Skill: Turn Claude Code into Your Senior Architect

This guide walks you through creating a Claude Code Skill for Spring Boot projects that automates comprehensive, security‑aware code reviews by encapsulating architectural standards, generating structured reports, and integrating with CI/CD pipelines to boost code quality and team productivity.

Enforcing Clean Architecture in Spring Boot 3 with Maven Multi‑Module and ArchUnit

Spring Boot 3 projects quickly outgrow single‑module structures, so this guide shows how to split a codebase into Maven multi‑module layers, define clear dependency rules, configure parent and child POMs, and use ArchUnit tests to automatically enforce architectural boundaries during builds.

AI Customer Service at Millions Scale: Chat API to Function Calling (SpringBoot)

The article details how a Spring Boot‑based intelligent customer service evolves from a simple chat endpoint to a robust Function Calling architecture, addressing challenges such as real‑time data access, permission checks, idempotency, error handling, token management, and scaling to tens of millions of daily conversations.

Redis Distributed Lock with Three Checks: Why Small Projects Should Rethink Its Use

The article analyzes Redis distributed locks—its three‑step verification, the limited guarantees it provides, and why small‑to‑medium projects should often prefer database constraints, idempotency keys, or state machines over adding a lock that introduces extra complexity and maintenance overhead.

Choosing the Right Streaming Protocol for AI: Comparing Five Options (Part 2)

This article analyzes five streaming protocols for AI—including gRPC Stream, Streamable HTTP (MCP), SSE, WebSocket, and HTTP Chunked—detailing their mechanisms, code examples, pros and cons, and provides a decision matrix to help engineers select the most suitable protocol based on connection model, data format, infrastructure compatibility, and development complexity.

Turn Java Methods into AI Agent Tools with @Tool Annotation – Day 2 of 3‑Day Spring AI Crash Course

This article explains how to equip a Spring AI Agent with real‑world capabilities by annotating Java methods with @Tool, registers those tools for the agent, demonstrates single‑ and multi‑tool orchestration, and shows how the Advisor mechanism brings AOP‑style processing such as RAG and memory management into AI workflows.

How We Replaced Hardcoded Routing with LiteFlow for Dynamic Orchestration & Hot Reloads

This article details replacing hardcoded business routing with LiteFlow in a Spring Boot production system, covering component design, EL-based flow orchestration, Nacos-powered hot rule updates, thread-pool tuning, exception isolation, observability, and rule versioning — with concrete code, config, and lessons learned.

External Platform Integration Postmortem: From Unknown Code and New Workflow Pitfalls to AI Agent‑Driven Flow Clarity

A four‑day sprint turned into a week‑long integration effort, revealing hidden code paths, mismatched documentation, signature confusion, and field‑mapping errors, which were finally untangled by an AI Agent that mapped entry points, generated replayable curl commands, and produced a structured hand‑off document.

No AOP? Achieve Zero‑Intrusion Parameter Auto‑Filling in Spring Boot

This article demonstrates how to leverage Spring Boot's type‑conversion and AnnotationFormatterFactory to implement elegant, zero‑intrusion parameter auto‑filling, covering a basic string‑to‑object conversion example and a remote‑service lookup scenario with complete code and test results.

Full Hands‑On Guide: Extending Spring AI Workflow Engine with Human‑in‑the‑Loop Approval

This article walks through adding a zero‑dependency human‑approval node to a Spring AI YAML‑DSL workflow engine, detailing the problem of critical business decisions, the JDK‑based pause‑and‑resume architecture, step‑by‑step code changes, best‑practice recommendations, and real‑world use cases such as large‑payment and content‑review approvals.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.