Tagged articles

Spring AI

273 articles · Page 1 of 3
Java Tech Enthusiast
Java Tech Enthusiast
Sep 23, 2026 · Artificial Intelligence

Java AI Framework Selection: Infrastructure vs. Orchestration Layers Compared

This guide categorizes six major Java AI frameworks into infrastructure and orchestration layers, detailing Spring AI 2.0's Advisor chain, LangChain4j's model breadth, Solon AI's Java 8 compatibility, Spring AI Alibaba's workflow engine, AgentScope's production-grade harness, and Embabel's deterministic GOAP planning to match frameworks to project constraints and scenarios.

AI frameworksAgentScopeEmbabel
0 likes · 30 min read
Java AI Framework Selection: Infrastructure vs. Orchestration Layers Compared
Java Backend Technology
Java Backend Technology
Sep 21, 2026 · Backend Development

Spring AI Alibaba Didn't Die—It Graduated: Java Backends in the Agent Era

The article explains why Spring AI Alibaba's maintenance pause signals mission completion, not abandonment, as Spring AI now natively supports Chinese models via OpenAI-compatible APIs. It argues Java backends remain essential by shifting from writing APIs to organizing capabilities for AI agents through MCP, emphasizing deep business knowledge as the irreplaceable asset.

AI agentsAPI DesignJava backend
0 likes · 9 min read
Spring AI Alibaba Didn't Die—It Graduated: Java Backends in the Agent Era
Su San Talks Tech
Su San Talks Tech
Sep 18, 2026 · Artificial Intelligence

Java AI Framework Selection: Choose by Architectural Layer, Not Feature Lists

This guide categorizes Java AI frameworks into infrastructure and orchestration layers, comparing Spring AI, LangChain4j, Solon AI, Spring AI Alibaba, AgentScope, and Embabel with code examples, version requirements, and decision criteria for matching frameworks to project constraints and use cases.

AgentScopeEmbabelJava AI frameworks
0 likes · 28 min read
Java AI Framework Selection: Choose by Architectural Layer, Not Feature Lists
Open Source Tech Hub
Open Source Tech Hub
Sep 15, 2026 · Industry Insights

Spring AI Alibaba Deprecated: Spring AI's Rapid Evolution Made It Obsolete

Spring AI Alibaba halted maintenance because Spring AI's rapid maturation and OpenAI protocol standardization made its wrapper redundant, offering three lessons for Java AI developers: avoid secondary wrappers, embrace standard interfaces, and decouple business logic from experimental agent frameworks.

AI developmentJava AIOpenAI compatibility
0 likes · 6 min read
Spring AI Alibaba Deprecated: Spring AI's Rapid Evolution Made It Obsolete
Cloud Architecture
Cloud Architecture
Sep 13, 2026 · Backend Development

Production-Grade RAG with Spring AI: Verifiable, Rollbackable, Auditable Knowledge Base

This article details a production-ready customer service knowledge base built with Spring AI 2.0.1 and Milvus, covering immutable index versioning, tenant-isolated retrieval with parameterized filters, deterministic chunk IDs, idempotent ingestion pipelines, dual-index blue-green deployments, and comprehensive observability with automated rollback triggers.

KubernetesMilvusProduction Engineering
0 likes · 27 min read
Production-Grade RAG with Spring AI: Verifiable, Rollbackable, Auditable Knowledge Base
Cloud Architecture
Cloud Architecture
Sep 12, 2026 · Backend Development

From Monolith to Distributed: Spring AI Embedding Product Semantic Recall System

This article details the evolution of a product semantic recall system using Spring AI Embedding, covering architecture design, reliable vector indexing with Outbox pattern, hybrid search fusion, pgvector HNSW tuning, and safe migration to Milvus, with production readiness criteria and observability practices.

MilvusOutbox PatternSpring AI
0 likes · 20 min read
From Monolith to Distributed: Spring AI Embedding Product Semantic Recall System
SpringMeng
SpringMeng
Sep 10, 2026 · Artificial Intelligence

Building an AI Contract Review System with Spring AI & RAG: 2-Month Case Study

This article details the development of an AI-powered contract review system using RAG and Spring AI, covering the tech stack (Java 21, Spring Boot 3.x, MySQL, Redis, MinIO), document parsing with Apache Tika and PaddleOCR, user roles, and features like clause-level risk detection, version control, and knowledge base management.

AI contract reviewJava 21PaddleOCR
0 likes · 6 min read
Building an AI Contract Review System with Spring AI & RAG: 2-Month Case Study
LuTiao Programming
LuTiao Programming
Sep 6, 2026 · Artificial Intelligence

Spring AI 2.0 Tool Search: Stop Flooding LLMs with Dozens of Tools

The author migrates a Spring AI Agent with 30+ business tools to Spring AI 2.0's Tool Search, which uses Lucene indexing to let the model search for relevant tools before calling them, reducing context overload and improving selection accuracy, while sharing best practices for tool descriptions and safe write-operation handling.

AI AgentAgent ArchitectureJava
0 likes · 15 min read
Spring AI 2.0 Tool Search: Stop Flooding LLMs with Dozens of Tools
dbaplus Community
dbaplus Community
Aug 30, 2026 · Artificial Intelligence

Cut Alert Troubleshooting Time by 80% with LLM Agents: A Full Technical Walkthrough

The article details how an LLM‑driven Troubleshooter system automates data collection, root‑cause analysis, and recommendation generation for alerts, slashing median investigation time from about 20 minutes to 4.4 minutes across 11 services and over ten alert types, and presents architecture, tool design, observability, a real‑world case, performance metrics, and future roadmap.

Alert TroubleshootingLLMReAct agent
0 likes · 17 min read
Cut Alert Troubleshooting Time by 80% with LLM Agents: A Full Technical Walkthrough
The Dominant Programmer
The Dominant Programmer
Aug 29, 2026 · Artificial Intelligence

Harness Engineering with Spring AI Alibaba: Theory, Architecture, and Full Implementation Guide

This comprehensive guide walks through Harness Engineering concepts, the seven‑layer architecture, environment setup, full Spring Boot codebase, agent configuration, best‑practice recommendations, testing procedures, common issues, and advanced directions for building controllable AI agents with Spring AI Alibaba.

AI agentsAgent ArchitectureHarness Engineering
0 likes · 34 min read
Harness Engineering with Spring AI Alibaba: Theory, Architecture, and Full Implementation Guide
Code Ape Tech Column
Code Ape Tech Column
Aug 28, 2026 · Databases

Redis Transforms into AI Data Infrastructure: Vector Search, Vector Sets, Semantic Cache & Agent Memory

This article details Redis's evolution into a comprehensive AI data infrastructure, covering its four core capabilities—vector search with hybrid queries, native Vector Sets data type, LangCache semantic caching for 70% LLM cost reduction, and Redis Iris context engine for AI agent memory—with technical implementations, performance benchmarks, and use-case recommendations.

AI agent memoryHNSWJava
0 likes · 16 min read
Redis Transforms into AI Data Infrastructure: Vector Search, Vector Sets, Semantic Cache & Agent Memory
The Dominant Programmer
The Dominant Programmer
Aug 20, 2026 · Artificial Intelligence

Deep Dive into Context Engineering with Spring AI Alibaba

This article explains how Spring AI Alibaba’s Agent framework uses Hooks and Interceptors to dynamically control model, tool, and lifecycle contexts, demonstrating the concepts through a complete e‑commerce smart‑customer‑service demo with role‑based tool selection, dynamic prompts, and context compression.

AI AgentInterceptorJava
0 likes · 21 min read
Deep Dive into Context Engineering with Spring AI Alibaba
The Dominant Programmer
The Dominant Programmer
Aug 19, 2026 · Artificial Intelligence

Persisting Spring AI Alibaba Memory to Redis: A Hands‑On Guide

This guide walks through configuring Spring AI Alibaba 1.1.2.0 to persist an agent's short‑term memory in Redis, covering environment setup, core concepts like Checkpointer and StateSerializer, step‑by‑step Maven project creation, code snippets, common pitfalls, and verification of multi‑turn conversation state across sessions.

AgentJavaRedis
0 likes · 17 min read
Persisting Spring AI Alibaba Memory to Redis: A Hands‑On Guide
The Dominant Programmer
The Dominant Programmer
Aug 18, 2026 · Artificial Intelligence

Comprehensive Guide to Spring AI Alibaba Tools: From Basics to Advanced

This article presents a complete, runnable Spring AI Alibaba Tools example (v1.1.2.0) that explains core concepts, three creation methods, registration techniques, advanced features such as JSON schema generation and custom result conversion, environment setup, testing commands, and common troubleshooting tips.

AI AgentAlibabaJSON Schema
0 likes · 32 min read
Comprehensive Guide to Spring AI Alibaba Tools: From Basics to Advanced
Linyb Geek Road
Linyb Geek Road
Aug 16, 2026 · Artificial Intelligence

Complete Spring AI Stack: Mapping the 2026 Java AI Ecosystem

The article presents a layered roadmap of the 2026 Java AI ecosystem, compares major AI frameworks, LLMs, embedding models, vector databases, and agent toolchains, and offers three concrete stack configurations with cost estimates and practical configuration snippets for architects and technical leaders.

AI StackAgentJava
0 likes · 13 min read
Complete Spring AI Stack: Mapping the 2026 Java AI Ecosystem
Java Architecture Diary
Java Architecture Diary
Aug 14, 2026 · Artificial Intelligence

Use JVM Native Vector API to Remove an External Vector Store in RAG

This guide shows how to replace external vector databases like Milvus or Qdrant with the JVM’s incubating Vector API and the integrallis/vectors library, providing built‑in distance kernels, indexing (FLAT, HNSW, IVF), and persistence, and demonstrates integration with Spring AI and LangChain4j through concise code examples and required JVM flags.

JVM Vector APIJavaLangChain4j
0 likes · 7 min read
Use JVM Native Vector API to Remove an External Vector Store in RAG
Architecture Digest
Architecture Digest
Aug 9, 2026 · Backend Development

Setting Up Trae IDE for Spring AI: A Quick‑Start Guide

This article walks Java developers through installing Trae IDE, configuring the required JDK, Maven and Spring AI dependencies, creating a Spring Boot project, adding AI model settings, implementing a chat controller with synchronous and streaming endpoints, and troubleshooting common issues.

AIAPI keyBuilder mode
0 likes · 12 min read
Setting Up Trae IDE for Spring AI: A Quick‑Start Guide
AI Software Product Manager
AI Software Product Manager
Aug 3, 2026 · Artificial Intelligence

Choosing the Right AI Agent Framework for Large‑Model Development

This guide analyses why selecting an AI‑Agent framework is more complex than picking a model, defines key evaluation dimensions, compares the major Python and Java ecosystems (LangChain, LangGraph, LangChain4j, Spring AI, LlamaIndex, Haystack, CrewAI), highlights common pitfalls, and provides a step‑by‑step selection process and architectural recommendations for enterprise deployments.

AI AgentLangChainLangGraph
0 likes · 40 min read
Choosing the Right AI Agent Framework for Large‑Model Development
Architect's Tech Stack
Architect's Tech Stack
Aug 3, 2026 · Artificial Intelligence

Spring Founder Returns with a New AI Agent Framework

Rod Johnson, the creator of Spring, introduces Embabel—a Kotlin‑based AI agent framework that uses GOAP planning to make agents deterministic, explainable, and Java‑friendly, aiming to turn uncontrolled AI demos into production‑ready systems.

AI agentsEmbabelGOAP
0 likes · 3 min read
Spring Founder Returns with a New AI Agent Framework
The Dominant Programmer
The Dominant Programmer
Jul 26, 2026 · Artificial Intelligence

Building Smart Agents with Spring AI Alibaba: A Hands‑On Guide

This article walks through the Spring AI Alibaba Agent Framework (v1.1.2.0), explaining the ReAct reasoning‑acting loop, core APIs, configuration, code examples, testing commands, and common troubleshooting steps so developers can quickly create LLM‑driven agents with tool‑calling and memory support.

Agent FrameworkAlibabaJava
0 likes · 15 min read
Building Smart Agents with Spring AI Alibaba: A Hands‑On Guide
Ray's Galactic Tech
Ray's Galactic Tech
Jul 23, 2026 · Artificial Intelligence

Stop Embedding Business Logic in Prompts: An Enterprise Guide to Spring AI Alibaba Skills

The article explains why many AI projects fail not because of model performance but due to architectural boundaries, illustrates a real‑world incident caused by an ever‑growing "super Prompt", and shows how Spring AI Alibaba Skills can split responsibilities, enforce governance, and make AI services production‑ready.

Alibaba SkillsEnterprise AISpring AI
0 likes · 26 min read
Stop Embedding Business Logic in Prompts: An Enterprise Guide to Spring AI Alibaba Skills
Ray's Galactic Tech
Ray's Galactic Tech
Jul 22, 2026 · Backend Development

Spring AI Alibaba Workflow Explained with 10 Practical AI Orchestration Cases

The article analyzes why AI applications that require branching, parallelism, retries, human‑in‑the‑loop, or long‑running tasks should adopt Spring AI Alibaba Workflow, explains its core concepts, shows when it fits or not, provides a detailed example and ten real‑world scenarios, and offers practical guidance on design, state management, error handling, persistence, and operational costs.

AI OrchestrationGraphSpring AI
0 likes · 28 min read
Spring AI Alibaba Workflow Explained with 10 Practical AI Orchestration Cases
Ray's Galactic Tech
Ray's Galactic Tech
Jul 21, 2026 · Backend Development

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.

AI Customer ServiceFunction CallingSpring AI
0 likes · 27 min read
AI Customer Service at Millions Scale: Chat API to Function Calling (SpringBoot)
The Dominant Programmer
The Dominant Programmer
Jul 17, 2026 · Artificial Intelligence

Mastering Spring AI Alibaba Graph: A Complete Guide from Basics to Advanced

This article provides a thorough walkthrough of Spring AI Alibaba Graph, covering its core concepts, API details, environment setup, common pitfalls, and advanced features such as human-in-the-loop support, parallel execution, and checkpointing, enabling Java developers to build sophisticated AI workflows.

AI workflowAlibaba GraphGraph engine
0 likes · 20 min read
Mastering Spring AI Alibaba Graph: A Complete Guide from Basics to Advanced
Ctrip Technology
Ctrip Technology
Jul 17, 2026 · Artificial Intelligence

From Demo to Production: How Our Java Agent Harness Fixes Common Pitfalls

Java agents often work in demos but crash in production due to stack mismatches, governance gaps, and runtime issues such as memory drift, large tool outputs, and lack of observability; the Spring‑Ai‑Trip harness adds progressive compression, spill protection, skill injection, hot‑plug tools, and concurrent execution to bridge the gap.

AI AgentJavaMemory Compression
0 likes · 31 min read
From Demo to Production: How Our Java Agent Harness Fixes Common Pitfalls
The Dominant Programmer
The Dominant Programmer
Jul 14, 2026 · Backend Development

How to Fix Spring AI Ollama Timeout: Full Guide to Configuring OkHttp Read Timeout

The article explains why Spring AI Ollama requests time out after 10 seconds despite server‑side timeout settings, analyzes the independent OkHttp read timeout and other ineffective configurations, and provides a step‑by‑step solution that creates a custom OllamaApi bean with a longer OkHttp read timeout to permanently fix the issue.

ConfigurationJavaOllama
0 likes · 10 min read
How to Fix Spring AI Ollama Timeout: Full Guide to Configuring OkHttp Read Timeout
SpringMeng
SpringMeng
Jul 13, 2026 · Backend Development

Add AI to a Spring Boot Project in a Few Lines with Spring AI 2.0

This guide walks through integrating Spring AI 2.0 into a Spring Boot application, covering Maven dependency setup, model configuration, ChatClient usage for synchronous and streaming calls, Redis‑backed chat memory for multi‑turn conversations, and testing with Postman and a UI component.

AIJavaOpenAI
0 likes · 14 min read
Add AI to a Spring Boot Project in a Few Lines with Spring AI 2.0
AI Illustrated Series
AI Illustrated Series
Jul 13, 2026 · Artificial Intelligence

Building Enterprise‑Grade AI Agents in Java in 3 Days

This article walks Java developers through turning Spring AI into an enterprise‑grade AI agent that can query internal databases, access a vector‑based knowledge base, enforce role‑based permissions, persist chat sessions in Redis, add full observability, and be container‑deployed with Docker and Kubernetes.

AI AgentDockerJava
0 likes · 10 min read
Building Enterprise‑Grade AI Agents in Java in 3 Days
The Dominant Programmer
The Dominant Programmer
Jul 12, 2026 · Artificial Intelligence

Complete Guide to Building a Spring AI + Ollama Embedding Vectorization Project

This guide walks through adding embedding support to a Spring AI application by configuring Ollama, creating an EmbeddingService for vector generation and similarity calculations, exposing REST endpoints via EmbeddingController, and providing a simple HTML front‑end for interactive testing, with step‑by‑step instructions and code samples.

JavaOllamaSpring AI
0 likes · 19 min read
Complete Guide to Building a Spring AI + Ollama Embedding Vectorization Project
AI Illustrated Series
AI Illustrated Series
Jul 11, 2026 · Artificial Intelligence

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.

AI AgentAdvisorJava
0 likes · 10 min read
Turn Java Methods into AI Agent Tools with @Tool Annotation – Day 2 of 3‑Day Spring AI Crash Course
Java Tech Enthusiast
Java Tech Enthusiast
Jul 10, 2026 · Artificial Intelligence

Add AI to Your Java Project in Just a Few Lines with Spring AI 2.0

Spring AI 2.0 lets Java developers integrate large‑language‑model capabilities with minimal code by adding a starter, configuring model parameters, injecting a ChatClient bean, and optionally enabling Redis‑backed chat memory for multi‑turn conversations, all demonstrated with runnable examples and screenshots.

AI IntegrationChat MemoryChatGPT
0 likes · 13 min read
Add AI to Your Java Project in Just a Few Lines with Spring AI 2.0
Java Architect Handbook
Java Architect Handbook
Jul 10, 2026 · Artificial Intelligence

Spring AI 2.0 vs Spring AI Alibaba: Which One Should You Choose?

This article compares Spring AI 2.0 and Spring AI Alibaba, detailing their design philosophies, core architectures, recent upgrades, code examples, strengths, weaknesses, and ideal use‑cases, and explains how the two frameworks can be combined for enterprise AI solutions.

AI IntegrationGraph engineJava
0 likes · 19 min read
Spring AI 2.0 vs Spring AI Alibaba: Which One Should You Choose?
The Dominant Programmer
The Dominant Programmer
Jul 9, 2026 · Backend Development

Full Spring Boot Example: Integrating Spring AI with Local Ollama for Fast AI Chat

This tutorial walks through installing Ollama, configuring JDK 17, adding Spring AI dependencies, setting up application.yml, implementing a chat controller, creating launch scripts, testing the endpoints, and comparing local Ollama with Alibaba Cloud Bailei, highlighting cost‑free, private, offline AI chat in a Spring Boot project.

JavaLocal LLMOllama
0 likes · 16 min read
Full Spring Boot Example: Integrating Spring AI with Local Ollama for Fast AI Chat
Su San Talks Tech
Su San Talks Tech
Jul 9, 2026 · Artificial Intelligence

Spring AI 2.0 vs Spring AI Alibaba: Which Framework Fits Your Needs?

This article compares Spring AI 2.0 and Spring AI Alibaba, detailing their architectures, core capabilities, pros and cons, and ideal scenarios, and explains how the two can be combined to leverage both atomic AI integration and enterprise‑grade multi‑agent orchestration.

Enterprise AIGraph WorkflowJava AI frameworks
0 likes · 19 min read
Spring AI 2.0 vs Spring AI Alibaba: Which Framework Fits Your Needs?
LuTiao Programming
LuTiao Programming
Jul 8, 2026 · Backend Development

AI Hotspots Shift: GPT Real‑Time Voice, Seedance Video, Grok Coding – Pressure on Java Back‑ends

Recent AI releases—OpenAI’s GPT‑Live for full‑duplex voice, ByteDance’s Seedance for multi‑shot video generation, and xAI’s Grok 4.5 for coding and knowledge work—force Java back‑end teams to evolve from handling orders and queues to managing diverse AI capabilities, routing, task orchestration, cost, audit and security.

AI IntegrationGPT‑LiveGrok
0 likes · 19 min read
AI Hotspots Shift: GPT Real‑Time Voice, Seedance Video, Grok Coding – Pressure on Java Back‑ends
Su San Talks Tech
Su San Talks Tech
Jul 8, 2026 · Artificial Intelligence

How to Build a Chat Service with Memory Using Spring AI 2.0

This article walks through integrating Spring AI 2.0 into a Spring Boot project, configuring model access, implementing synchronous and streaming chat endpoints, and adding Redis‑backed conversation memory to enable true multi‑turn interactions with large language models.

Chat MemoryChatClientJava
0 likes · 14 min read
How to Build a Chat Service with Memory Using Spring AI 2.0
Java Captain
Java Captain
Jul 7, 2026 · Artificial Intelligence

Alibaba’s Open‑Source Spring AI Alibaba Admin Solves Prompt Debugging, Quality, and Ops Pain Points

Spring AI Alibaba Admin, Alibaba’s open‑source extension of Spring AI, addresses three major enterprise hurdles—inefficient prompt debugging, unreliable AI quality, and opaque production operations—by providing versioned prompt management, dataset lifecycle control, flexible evaluator configuration, automated experiment execution, and end‑to‑end observability.

AI AgentAlibabaOpenTelemetry
0 likes · 8 min read
Alibaba’s Open‑Source Spring AI Alibaba Admin Solves Prompt Debugging, Quality, and Ops Pain Points
The Dominant Programmer
The Dominant Programmer
Jul 5, 2026 · Backend Development

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.

Java concurrencySpring AISpring Boot
0 likes · 24 min read
Full Hands‑On Guide: Extending Spring AI Workflow Engine with Human‑in‑the‑Loop Approval
java1234
java1234
Jul 5, 2026 · Artificial Intelligence

9 Practical Tips for Efficient Spring AI 2.0 Agent Development

The article shares nine hands‑on tips for building Spring AI 2.0 agents—including using ChatClient as the entry point, delegating tool calls to ToolCallingAdvisor, defining tools with @Tool, crafting effective system prompts, leveraging Advisor chains, streaming responses early, managing conversation memory, limiting tool count, and adding observability—each illustrated with concrete code snippets.

AgentChatClientJava
0 likes · 12 min read
9 Practical Tips for Efficient Spring AI 2.0 Agent Development
java1234
java1234
Jul 4, 2026 · Mobile Development

Building a WeChat Mini‑Program Health Management System with AI in 20 Minutes (Spring AI 2.0 + Spring Boot 4 + Vue 3)

In just 20 minutes, the author uses Cursor AI to generate a full‑stack WeChat mini‑program for personal health management, featuring an AI‑driven health consultant, a Spring Boot 4 backend with JWT security, MySQL storage, and a Vue 3 admin console, and explains the architecture, routing, and deployment details.

AI chatbotJWTMySQL
0 likes · 10 min read
Building a WeChat Mini‑Program Health Management System with AI in 20 Minutes (Spring AI 2.0 + Spring Boot 4 + Vue 3)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 1, 2026 · Artificial Intelligence

How to Add Claude Code’s Auto‑Memory Mechanism to Spring AI

This article explains how to integrate Claude Code’s auto‑memory mechanism into Spring AI by using AutoMemoryTools and AutoMemoryToolsAdvisor, compares three integration options, shows the request workflow, memory file formats, and provides concrete code snippets and consolidation strategies for persistent, typed long‑term memory.

Auto MemoryChat MemoryClaude Code
0 likes · 12 min read
How to Add Claude Code’s Auto‑Memory Mechanism to Spring AI
Java Architecture Diary
Java Architecture Diary
Jul 1, 2026 · Artificial Intelligence

Spring AI Overhauls Memory: Replacing ChatMemory with Session

Spring AI’s new Session model replaces the fragile sliding‑window ChatMemory, introducing immutable Session metadata, event‑based Turn grouping, configurable compaction triggers and strategies, multi‑agent Branch isolation, and a JDBC‑backed repository to reliably handle long‑running tool‑calling agents.

AgentChatMemoryJava
0 likes · 10 min read
Spring AI Overhauls Memory: Replacing ChatMemory with Session
LuTiao Programming
LuTiao Programming
Jun 23, 2026 · Artificial Intelligence

Spring AI 2.0’s New Lifesaver: Guaranteed JSON Output from Large Models

Spring AI 2.0 adds self‑healing structured output with schema validation and provider‑side constraints, letting Java applications receive reliable JSON objects from large language models, eliminating brittle string‑cleaning code while still requiring business‑level validation.

AI IntegrationJSON SchemaJava
0 likes · 20 min read
Spring AI 2.0’s New Lifesaver: Guaranteed JSON Output from Large Models
Coder Trainee
Coder Trainee
Jun 21, 2026 · Artificial Intelligence

Hands‑On Java Function Calling with Spring AI: Build an Intelligent Customer Service Bot

This article explains how Function Calling lets large language models invoke Java methods via Spring AI, walks through the four‑step workflow, shows declarative and programmatic tool definitions, and demonstrates a complete customer‑service chatbot with code examples and best‑practice guidelines.

AI IntegrationBackendFunction Calling
0 likes · 11 min read
Hands‑On Java Function Calling with Spring AI: Build an Intelligent Customer Service Bot
Coder Trainee
Coder Trainee
Jun 20, 2026 · Artificial Intelligence

Java RAG Tutorial: Vector Search and Knowledge‑Base Integration

This article explains how to equip a Java application with Retrieval‑Augmented Generation (RAG) so large language models can access private PDFs, Word files, and internal documents, covering the core architecture, two implementation paths using LangChain4j and Spring AI, vector‑store options, and practical tuning techniques.

JavaLangChain4jRAG
0 likes · 12 min read
Java RAG Tutorial: Vector Search and Knowledge‑Base Integration
Coder Trainee
Coder Trainee
Jun 19, 2026 · Artificial Intelligence

Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling

This article explores Spring AI's core design patterns, advanced ChatClient usage, dynamic PromptTemplate creation, few‑shot prompting, structured output parsing, and declarative function calling with @Tool annotations, providing code examples, advisor mechanisms, and testing tips for Java developers.

AI IntegrationChatClientFunction Calling
0 likes · 13 min read
Deep Dive into Spring AI: Advanced ChatClient, Prompt Templates, and Function Calling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 19, 2026 · Artificial Intelligence

How Spring AI’s Dynamic Tool Discovery Cuts Token Usage by 34%‑64%

The article explains how Spring AI’s recursive advisors enable dynamic tool discovery, replacing the traditional all‑tools‑in‑prompt approach, thereby reducing token consumption by 34%‑64% while preserving access to hundreds of tools, and provides benchmark data, code examples, and configurable search strategies.

Dynamic Tool DiscoveryJavaLLM
0 likes · 11 min read
How Spring AI’s Dynamic Tool Discovery Cuts Token Usage by 34%‑64%
Coder Trainee
Coder Trainee
Jun 18, 2026 · Artificial Intelligence

Exploring the Java LLM Ecosystem: Build Your First AI Chat Application

This tutorial walks Java backend developers through the mature Java LLM ecosystem, comparing frameworks like Spring AI and LangChain4j, and demonstrates step‑by‑step how to create a Spring Boot application with a chat endpoint, streaming responses, and dynamic model switching among OpenAI, Tongyi Qwen, and Ollama.

JavaLLMSpring AI
0 likes · 10 min read
Exploring the Java LLM Ecosystem: Build Your First AI Chat Application
java1234
java1234
Jun 17, 2026 · Artificial Intelligence

Spring AI 2.0 GA: Native Java AI Development with Spring Boot 4 Integration

Spring AI 2.0 reaches GA, offering a production‑grade, Java‑first AI development path tightly integrated with Spring Boot 4.x, Spring Framework 7.0, and the Model Context Protocol, while introducing upgraded agent tooling, Jackson 3, JSpecify annotations, and streamlined provider SDKs.

AgentJackson 3Java
0 likes · 6 min read
Spring AI 2.0 GA: Native Java AI Development with Spring Boot 4 Integration
Java Architect Handbook
Java Architect Handbook
Jun 13, 2026 · Artificial Intelligence

Why Fixed-Size Chunking Fails in RAG: Interview Insights

The article explains that fixed-size chunking in Retrieval‑Augmented Generation ignores semantic boundaries, causing broken sentences, scattered topics, redundant or missing information, and noisy retrieval, and it evaluates overlap as a partial fix while presenting better alternatives such as recursive, semantic, structural, and agentic chunking along with practical production tips and future trends.

AI InterviewChunkingLangChain
0 likes · 12 min read
Why Fixed-Size Chunking Fails in RAG: Interview Insights
Tech Ocean
Tech Ocean
Jun 10, 2026 · Artificial Intelligence

Spring AI Day 14: Full Knowledge Map and Interview Checklist

This article presents a panoramic knowledge map of Spring AI 2.0, outlines core components, dependency configurations, key APIs for chat, RAG and tool integration, and provides a concise interview Q&A guide to help developers verify their mastery of the framework.

AI ApplicationAdvisorChatClient
0 likes · 9 min read
Spring AI Day 14: Full Knowledge Map and Interview Checklist
Coder Trainee
Coder Trainee
Jun 9, 2026 · Backend Development

Building Java AI Agents with Spring AI: A Hands‑On Guide

This article walks Java developers through using Spring AI to build AI agents, comparing it with Python's LangChain, detailing architecture, environment setup, prompt templates, tool integration, RAG implementation, production‑grade features, and a side‑by‑side feature comparison.

AI AgentJavaLangChain
0 likes · 17 min read
Building Java AI Agents with Spring AI: A Hands‑On Guide
Tech Ocean
Tech Ocean
Jun 9, 2026 · Backend Development

Enabling Large Language Models to Call Your Java Methods with Spring AI Tool Calling

This article explains how Spring AI's Tool Calling lets large language models overcome their inability to access real‑time or private data by invoking annotated Java methods, showing step‑by‑step code examples, parameter handling, and the execution flow that bridges model requests with actual method results.

Backend IntegrationFunction CallingJava
0 likes · 5 min read
Enabling Large Language Models to Call Your Java Methods with Spring AI Tool Calling
Tech Ocean
Tech Ocean
Jun 9, 2026 · Artificial Intelligence

Spring AI Day 11: Advanced Modular RAG – Query Rewriting, Compression, and Empty‑Context Fallback

The article examines the limitations of a naïve QuestionAnswerAdvisor RAG implementation, introduces Spring AI's RetrievalAugmentationAdvisor for modular RAG, and demonstrates how query rewriting, multi‑turn compression, and an empty‑context augmenter improve recall and prevent model refusals.

CompressionContextual AugmentationJava
0 likes · 6 min read
Spring AI Day 11: Advanced Modular RAG – Query Rewriting, Compression, and Empty‑Context Fallback
Tech Ocean
Tech Ocean
Jun 9, 2026 · Artificial Intelligence

RAG in Action: Enabling AI to Answer Using Your Own Documents with Spring AI

This tutorial explains how Retrieval‑Augmented Generation (RAG) eliminates hallucinations and stale knowledge by retrieving relevant document fragments from a vector store, augmenting prompts, and generating factual answers, with step‑by‑step Spring AI code examples and parameter tuning guidance.

QuestionAnswerAdvisorRAGRetrieval-Augmented Generation
0 likes · 5 min read
RAG in Action: Enabling AI to Answer Using Your Own Documents with Spring AI
IoT Full-Stack Technology
IoT Full-Stack Technology
Jun 8, 2026 · Artificial Intelligence

Spring AI 2.0 vs LangChain4j: Which Should You Choose?

This article compares Spring AI 2.0 and LangChain4j for integrating large language models into Java enterprise applications, examining their positioning, version alignment, programming models, RAG capabilities, tooling, observability, learning curves, and suitability for different team stacks to help you make an informed selection.

AI frameworksJavaLLM Integration
0 likes · 12 min read
Spring AI 2.0 vs LangChain4j: Which Should You Choose?
Code Ape Tech Column
Code Ape Tech Column
Jun 8, 2026 · Backend Development

A Complete Guide to Spring Boot AI Agent Skills

This article surveys the ecosystem of Spring Boot‑focused AI Agent Skills, detailing curated repositories, installation steps, core value propositions, integration with Spring AI, and step‑by‑step instructions for creating and sharing custom Skills to boost developer productivity.

AI AgentSkillsSpring AI
0 likes · 13 min read
A Complete Guide to Spring Boot AI Agent Skills
AliExpress Tech
AliExpress Tech
Jun 8, 2026 · Artificial Intelligence

Scaling Intelligent Q&A for Internationalized IC Using Spring AI Alibaba

The article details how the IC product team upgraded their single‑turn, low‑efficiency answer‑bot to a multi‑turn, Skills‑and‑MCP powered intelligent Q&A agent using Spring AI Alibaba, improving knowledge retrieval, reducing response time, and achieving over 80% automated resolution with extensive evaluation metrics.

AgentLLMMCP
0 likes · 28 min read
Scaling Intelligent Q&A for Internationalized IC Using Spring AI Alibaba
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 6, 2026 · Artificial Intelligence

Essential ETL Techniques for Spring AI RAG – A Must‑Read Guide

This article explains how Spring AI implements the ETL pipeline for Retrieval‑Augmented Generation, detailing the three core components—DocumentReader, DocumentTransformer, and DocumentWriter—along with concrete code examples, configuration parameters, and processing steps for text, PDF, and Tika document sources.

DocumentReaderETLKeywordMetadataEnricher
0 likes · 11 min read
Essential ETL Techniques for Spring AI RAG – A Must‑Read Guide
Coder Trainee
Coder Trainee
Jun 6, 2026 · Artificial Intelligence

What Is an AI Agent? From Large Language Models to Autonomous Agents

This article explains why large language models are powerful yet limited, defines AI agents as autonomous systems that combine a model, memory, tools, and actions, details the ReAct reasoning‑and‑acting loop, provides a 30‑line Python LangChain example and a Java Spring AI implementation, and outlines five practical use‑case scenarios and the roadmap for the series.

AI AgentJavaLangChain
0 likes · 10 min read
What Is an AI Agent? From Large Language Models to Autonomous Agents
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Day 7 of Spring AI Series: How Advisors Form a Filter Chain for AI Applications

This article explains Spring AI Advisors as interceptors that can modify requests and responses in the LLM call chain, demonstrates building a custom logging Advisor with code examples, shows how ordering controls execution, and reviews the built‑in Advisors for memory, RAG, logging, and safety.

AdvisorChatClientJava
0 likes · 5 min read
Day 7 of Spring AI Series: How Advisors Form a Filter Chain for AI Applications
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Spring AI Day 5: Enabling a Multimodal ChatClient to Process Text and Images

This article explains how Spring AI’s Media API lets a ChatClient handle both textual prompts and image inputs, shows code examples for attaching images, discusses required visual models, and outlines practical use cases such as OCR, chart analysis, and image moderation.

AI modelsChatClientJava
0 likes · 5 min read
Spring AI Day 5: Enabling a Multimodal ChatClient to Process Text and Images
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Spring AI Day 4: Get LLMs to Return Java Objects Directly, No Manual Parsing

The article explains how Spring AI’s .entity() method lets developers obtain structured Java objects such as POJOs, lists, enums, and response entities directly from LLM outputs, eliminating the need for manual JSON parsing and handling generic‑type issues with ParameterizedTypeReference.

EntityJavaLLM
0 likes · 5 min read
Spring AI Day 4: Get LLMs to Return Java Objects Directly, No Manual Parsing
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Spring AI Day 3: Eliminating Hard‑Coded Prompts with Templates and Role Settings

The article explains how to move beyond static prompts in Spring AI by using System and User message roles, PromptTemplate placeholders with .param(), defaultSystem configuration for reusable role definitions, and independent PromptTemplate usage, providing concrete code examples for each technique.

ChatClientJavaPromptTemplate
0 likes · 5 min read
Spring AI Day 3: Eliminating Hard‑Coded Prompts with Templates and Role Settings
Tech Ocean
Tech Ocean
Jun 6, 2026 · Artificial Intelligence

Mastering Spring AI ChatClient: call vs. stream for typewriter‑like streaming

This article explains how Spring AI's ChatClient serves as a high‑level façade over ChatModel, compares the synchronous call() method with the streaming stream() method, demonstrates retrieving plain text, full responses, or structured entities, and shows how to override model parameters such as temperature on a per‑request basis.

AI IntegrationChatClientChatModel
0 likes · 7 min read
Mastering Spring AI ChatClient: call vs. stream for typewriter‑like streaming
Tech Ocean
Tech Ocean
Jun 5, 2026 · Artificial Intelligence

Run Your First Spring AI 2.0 Conversation in 5 Minutes

This article introduces Spring AI 2.0, explains why Java developers should adopt it, and walks through setting up a Spring Boot 3.x project with JDK 17, adding the DeepSeek starter, configuring properties, writing a simple ChatController, and running a curl request to see the model’s reply.

AI IntegrationChatClientDeepSeek
0 likes · 9 min read
Run Your First Spring AI 2.0 Conversation in 5 Minutes
Java Architect Handbook
Java Architect Handbook
Jun 5, 2026 · Artificial Intelligence

What Is Embedding in RAG and Why Does It Use 1536 Dimensions?

The article explains that embedding converts text into a 1536‑dimensional floating‑point vector that serves as a semantic fingerprint, describes how the vector is generated, why 1536 dimensions are chosen, how similarity is measured, and provides Java Spring AI code examples along with model‑selection guidance and common interview pitfalls.

DimensionOpenAIRAG
0 likes · 16 min read
What Is Embedding in RAG and Why Does It Use 1536 Dimensions?
Su San Talks Tech
Su San Talks Tech
Jun 4, 2026 · Backend Development

Comprehensive Guide to Spring Boot AI Agent Skills

This guide presents a curated overview of Spring Boot AI Agent Skills, detailing top repositories, installation steps, core functionalities, integration with Spring AI, and step‑by‑step instructions for creating custom Skills to boost development productivity and code quality.

AI AgentDevOpsSkills
0 likes · 12 min read
Comprehensive Guide to Spring Boot AI Agent Skills
The Dominant Programmer
The Dominant Programmer
Jun 3, 2026 · Backend Development

Building a LangGraph‑Style YAML DSL Workflow Engine with Spring AI

This article walks through constructing a lightweight YAML‑based DSL workflow engine on Spring AI 1.1.2 and Ollama, showing how to define state graphs, register tools, parse and execute nodes—including conditional edges, while loops, and parallel branches—without external orchestration tools.

LangGraphSpring AIYAML DSL
0 likes · 17 min read
Building a LangGraph‑Style YAML DSL Workflow Engine with Spring AI
The Dominant Programmer
The Dominant Programmer
Jun 3, 2026 · Backend Development

Building a Minimal Spring AI Tool Chain for Multi-Tool Calls

This tutorial demonstrates how to integrate Spring AI with Ollama, define @Tool‑annotated weather and translation utilities, register them for automatic chaining, and let a large language model answer queries like “fetch Beijing weather and reply in English” using a concise end‑to‑end example.

JavaOllamaSpring AI
0 likes · 8 min read
Building a Minimal Spring AI Tool Chain for Multi-Tool Calls
IT Services Circle
IT Services Circle
May 31, 2026 · Backend Development

Why Hand‑Crafted HTTP Calls to LLMs Are a Pitfall and How Spring AI Solves It

The article analyzes the hidden dangers of writing raw HTTP calls for large language models in Java projects—hard‑coded keys, fragile request bodies, missing retries, no observability—and demonstrates how Spring AI’s unified abstractions, built‑in resilience, streaming, function calling, and seamless Spring integration eliminate these issues while enabling effortless model switching and production‑grade AI services.

AI IntegrationFunction CallingJava
0 likes · 20 min read
Why Hand‑Crafted HTTP Calls to LLMs Are a Pitfall and How Spring AI Solves It
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 30, 2026 · Backend Development

Auto‑Optimizing Resilience4j Circuit Breaker Settings with Spring AI

This article demonstrates how to replace static Resilience4j circuit‑breaker parameters in a Spring Boot 3.5 application with dynamically generated values using Spring AI, detailing environment setup, code examples, AI prompt construction, and runtime configuration replacement to improve fault tolerance.

Circuit BreakerResilience4jSpring AI
0 likes · 9 min read
Auto‑Optimizing Resilience4j Circuit Breaker Settings with Spring AI
The Dominant Programmer
The Dominant Programmer
May 28, 2026 · Artificial Intelligence

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

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

JavaOllamaQuestionAnswerAdvisor
0 likes · 18 min read
Spring AI RAG: Concepts, Hands‑On Implementation, and Full Code
Su San Talks Tech
Su San Talks Tech
May 27, 2026 · Artificial Intelligence

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

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

BackendFunction CallingJava
0 likes · 24 min read
Why Switch from Hand‑Written HTTP Calls to Spring AI for Large‑Model Integration?
java1234
java1234
May 26, 2026 · Artificial Intelligence

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

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

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

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

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

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

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

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

ChatMemoryJavaLLM
0 likes · 9 min read
Spring AI ChatMemory: Concepts, Practical Setup, and Common Issues
LuTiao Programming
LuTiao Programming
May 25, 2026 · Artificial Intelligence

AI Automates a Spring Boot System, Leaving Colleagues Stunned

The article demonstrates how to turn ordinary Spring Boot methods into AI‑driven tools, enabling a language model to interpret a natural‑language request, orchestrate a multi‑step workflow (stock query, order creation, warehouse notification), and execute the entire business process without any hard‑coded if‑else logic.

Spring AIai-agentspring-boot
0 likes · 11 min read
AI Automates a Spring Boot System, Leaving Colleagues Stunned
DaTaobao Tech
DaTaobao Tech
May 25, 2026 · Artificial Intelligence

Scaling to Ten‑Thousand QPS: Lessons from Building a Real‑Time Product‑Domain Agent

The article details how the product team tackled AI‑driven challenges by designing a two‑layer, event‑driven Function‑Centric Agent architecture that unifies workflow orchestration and capability supply, enabling real‑time inference for billions of items, cutting development cycles to one person‑week, and boosting search conversion rates.

AI AgentAIFunctionFunction Calling
0 likes · 29 min read
Scaling to Ten‑Thousand QPS: Lessons from Building a Real‑Time Product‑Domain Agent
The Dominant Programmer
The Dominant Programmer
May 24, 2026 · Artificial Intelligence

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

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

AI IntegrationJavaOllama
0 likes · 12 min read
Integrating Spring AI with Ollama for Tool Calling: A Complete Beginner‑to‑Practice Guide