Skip to content
Tagged articles

Spring AI

292 articles · Page 1 of 3
macrozheng
macrozheng
Nov 16, 2026 · Backend Development

Spring AI 2.0: Build an AI Chat Service with Redis Memory in Three Steps

This tutorial demonstrates how to integrate Spring AI 2.0 into a Spring Boot project, configure OpenAI-compatible models like DeepSeek, implement synchronous and streaming chat endpoints, and add multi-turn conversation memory using Redis-backed ChatMemory, all with minimal code.

AI IntegrationChatClientConversation Memory
0 likes · 15 min read
Spring AI 2.0: Build an AI Chat Service with Redis Memory in Three Steps
IT Services Circle
IT Services Circle
Nov 16, 2026 · Industry Insights

Java Reclaims #3 in TIOBE: Statistical Artifact or Genuine Resurgence?

The November 2026 TIOBE index shows Java overtaking C++ to return to third place, but the 0.54% margin is razor-thin and likely inflated by a methodology change adding Chinese search terms; meanwhile Java's ecosystem demonstrates real momentum with virtual threads, Spring Boot 4, GraalVM native images, and Spring AI integration.

C++GraalVMJava
0 likes · 10 min read
Java Reclaims #3 in TIOBE: Statistical Artifact or Genuine Resurgence?
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Nov 8, 2026 · Backend Development

LLM Autoregressive Generation Deep Dive: From Next-Token Prediction to Java Streaming Implementation

This article explains LLM autoregressive generation principles including next-token prediction, KV Cache optimization, sampling strategies (temperature, top-k, top-p), and provides complete Java implementations for streaming token generation with Spring AI, WebFlux, and virtual threads.

Autoregressive GenerationJava StreamingKV Cache
0 likes · 39 min read
LLM Autoregressive Generation Deep Dive: From Next-Token Prediction to Java Streaming Implementation
Java Tech Enthusiast
Java Tech Enthusiast
Nov 5, 2026 · Backend Development

XXL-JOB AI Executor: Schedule AI Tasks Like Cron Jobs with Unified Retry & Logging

XXL-JOB v3.1.0 introduces AI executors (ollamaJobHandler, difyWorkflowJobHandler, openClawJobHandler) that wrap AI calls as standard Bean-mode handlers, letting developers schedule AI tasks alongside regular jobs using the same scheduling, retry, logging, and dynamic parameter configuration — no separate AI orchestration system needed.

AI executorBean mode handlerDify
0 likes · 16 min read
XXL-JOB AI Executor: Schedule AI Tasks Like Cron Jobs with Unified Retry & Logging
SpringMeng
SpringMeng
Nov 1, 2026 · Backend Development

XXL-JOB AI Executor: Schedule AI Tasks Like Regular Cron Jobs

This article explains how XXL-JOB v3.1.0+ integrates AI capabilities via built-in handlers for Ollama, Dify, and OpenClaw, allowing AI tasks to be scheduled, retried, and logged alongside regular jobs, with code examples, setup steps, pros/cons, and use cases.

AI executorDifyJava
0 likes · 14 min read
XXL-JOB AI Executor: Schedule AI Tasks Like Regular Cron Jobs
macrozheng
macrozheng
Oct 27, 2026 · Backend Development

XXL-JOB AI Executor: Schedule LLM Calls Like Regular Cron Jobs

XXL-JOB v3.1.0 introduces AI executors with built-in handlers for Ollama, Dify, and OpenClaw, letting developers schedule LLM calls as standard cron jobs with unified retry, logging, and dynamic parameter configuration — no separate AI orchestration system needed.

AI executorDifyOllama
0 likes · 15 min read
XXL-JOB AI Executor: Schedule LLM Calls Like Regular Cron Jobs
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Oct 27, 2026 · Artificial Intelligence

Connecting LLM, RAG, Agent & MCP: A Java Engineer's Production AI Engineering Guide

This article uses a real e-commerce customer service request to thread together LLM, RAG, Agent, MCP, vector search, and cosine similarity, providing five-layer architecture diagrams, production-grade Java code, 16 pitfall tables, and 13 interview Q&As to show how to embed uncertain model capabilities into deterministic engineering systems.

AI EngineeringAgentCosine Similarity
0 likes · 59 min read
Connecting LLM, RAG, Agent & MCP: A Java Engineer's Production AI Engineering Guide
Cloud Architecture
Cloud Architecture
Oct 20, 2026 · Backend Development

Spring AI + Milvus: Enterprise RAG Production Engineering – Verifiable Knowledge, Permissions, Capacity & Recovery

This article presents a production-grade RAG engineering methodology using Spring AI and Milvus, covering version baselines, capacity planning, security filters, schema design, retrieval quality, prompt injection defense, knowledge versioning, Milvus topology, concurrency control, caching, SSE streaming, observability, fault injection testing, and a minimal first-week delivery checklist.

MilvusMulti-tenancyProduction Engineering
0 likes · 42 min read
Spring AI + Milvus: Enterprise RAG Production Engineering – Verifiable Knowledge, Permissions, Capacity & Recovery
Java Tech Enthusiast
Java Tech Enthusiast
Oct 20, 2026 · Artificial Intelligence

Spring AI Alibaba Isn't Dead: It's Swapping Cores — Java AI's 3-Layer Map

The article investigates Spring AI Alibaba's half-year release gap, revealing continued GitHub commits (137 since last release) but only maintenance work, while resources shift to AgentScope Java; it maps Java AI into three layers — access (Spring AI 2.0, LangChain4j), orchestration (SAA in maintenance), runtime (AgentScope) — guiding framework choice by need.

AI FrameworksAgentScopeLangChain4j
0 likes · 12 min read
Spring AI Alibaba Isn't Dead: It's Swapping Cores — Java AI's 3-Layer Map
Coder Trainee
Coder Trainee
Oct 19, 2026 · Backend Development

I Integrated AI into Our Java System in One Week — The Token Bill Almost Killed Me

A developer shares a week-long journey integrating AI into a Java customer service system, detailing how over-engineering with Spring AI Graph was replaced by a simple ChatClient + Tools approach, token costs were cut 80% via model routing, context compression, and semantic caching, a production latency spike was fixed with Tool result limits and circuit breakers, and three operational essentials — budget alerts, conversation logging, and a kill switch — were added for sustainability.

AI IntegrationJavaProduction Readiness
0 likes · 8 min read
I Integrated AI into Our Java System in One Week — The Token Bill Almost Killed Me
Rain's Path to Java Mastery
Rain's Path to Java Mastery
Oct 15, 2026 · Artificial Intelligence

6-Round AI Interview: From ML/DL to RAG & Agent - SP Offer Breakdown

This article explains AI/ML/DL/LLM hierarchy, contrasts traditional vs AI programming, details LLM core concepts (Token, context window, emergence, hallucination, RAG, Agent), covers training paradigms, shows Java integration with Spring AI/LangChain4j, and provides a 6-round interview simulation with lifecycle closure.

AIAgentDeep Learning
0 likes · 20 min read
6-Round AI Interview: From ML/DL to RAG & Agent - SP Offer Breakdown
Coder Trainee
Coder Trainee
Oct 12, 2026 · Artificial Intelligence

Spring AI Alibaba Enters Maintenance Mode as Alibaba Prioritizes AgentScope

The article clarifies that Spring AI Alibaba is not dead but in maintenance mode, with Alibaba shifting resources to AgentScope; it explains the upstream/downstream relationship between Spring AI (foundational framework) and Spring AI Alibaba (agent workflow orchestration), and provides guidance on choosing between Spring AI, Spring AI Alibaba, and AgentScope for Java AI applications.

AgentScopeAgentic workflowsJava AI frameworks
0 likes · 6 min read
Spring AI Alibaba Enters Maintenance Mode as Alibaba Prioritizes AgentScope
SpringMeng
SpringMeng
Oct 8, 2026 · Backend Development

Spring AI Alibaba Still Active: Why Java Remains Viable for Production AI Systems

The article debunks rumors that Spring AI Alibaba has stopped development, citing recent releases, and argues Java's strength in AI lies not in model training but in integrating AI capabilities into production enterprise systems through RAG, tool calling, and robust engineering practices.

AI IntegrationJavaLangChain4j
0 likes · 11 min read
Spring AI Alibaba Still Active: Why Java Remains Viable for Production AI Systems
Coder Trainee
Coder Trainee
Oct 7, 2026 · Artificial Intelligence

Build a Production-Ready Enterprise RAG Knowledge Base: Full Project Walkthrough

This final installment of a 12-part RAG series demonstrates a complete, deployable enterprise knowledge base system using Spring Boot 3.2, Spring AI 2.0, PgVector, BGE embeddings, hybrid retrieval with RRF fusion, reranking, multi-turn chat with memory, and a Vue 3 frontend, including Docker deployment and production checklist.

BGEEnterprise Knowledge BaseHybrid Retrieval
0 likes · 16 min read
Build a Production-Ready Enterprise RAG Knowledge Base: Full Project Walkthrough
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 FrameworksAgent orchestrationAgentScope
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 designBusiness Logic
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 developmentOpenAI compatibilitySpring AI
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.

EmbeddingMilvusOutbox Pattern
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 AgentJavaLucene
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 TroubleshootingAutomationLLM
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 agentsHarness EngineeringJava
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 StackAgentEmbedding
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.

AlibabaJavaLLM
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 SkillsSpring AIenterprise 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.

JavaOkHttpOllama
0 likes · 10 min read
How to Fix Spring AI Ollama Timeout: Full Guide to Configuring OkHttp Read Timeout
The Dominant Programmer
The Dominant Programmer
Jul 13, 2026 · Artificial Intelligence

The Complete Guide to Large‑Model Vector Techniques: From Concepts to Practice

This guide explains vectors, text embedding, embedding models, vector databases, cosine similarity, dimensional trade‑offs, and the full RAG workflow, providing concrete code samples, performance calculations, and real‑world use cases such as semantic search, recommendation, and intelligent customer service.

Cosine SimilarityLangChain4jOllama
0 likes · 22 min read
The Complete Guide to Large‑Model Vector Techniques: From Concepts to Practice
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
Code Archaeology
Code Archaeology
Jul 13, 2026 · Artificial Intelligence

Anthropic Prompt Caching Deep Dive: Breakpoints, TTL, and Cost Optimization

This article explains Anthropic's Prompt Caching mechanism including cache_control configuration, automatic vs explicit breakpoint caching, prefix hierarchy, 20-block lookback window, 4-breakpoint limit, TTL pricing (0.1x read, 1.25x/2x write), observability metrics, and Spring AI integration with code examples.

AI EngineeringAnthropicCache Control
0 likes · 11 min read
Anthropic Prompt Caching Deep Dive: Breakpoints, TTL, and Cost Optimization
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 AgentJavaRedis
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.

EmbeddingJavaOllama
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 IntegrationCloud NativeGraph engine
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.

JavaOllamaSpring AI
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.

Graph WorkflowJava AI frameworksSpring AI
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 IntegrationBackend ArchitectureGPT‑Live
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 InterviewLangChainRAG
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.

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

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

DimensionEmbeddingOpenAI
0 likes · 16 min read
What Is Embedding in RAG and Why Does It Use 1536 Dimensions?