Back to courses
Java and Spring
Spring AI and Java: build enterprise AI on the JVM
7 lessons. One course takes you from your first ChatClient call to a production Spring AI system. The guides below cover the Spring Boot and modern Java topics around it.
The Spring AI course
Seven lessons for Java and Spring engineers bringing AI into an enterprise system. Start at the first lesson; each one builds on the last.
What you will be able to do
- Set up Spring AI and make your first model call from a Spring Boot application.
- Write prompts and get structured output, and let the model call your Java methods as tools.
- Build retrieval-augmented generation with a vector store.
- Connect agents to tools through MCP (Model Context Protocol).
- Choose a language model for a Spring AI application.
- Design the production architecture around it: structure, observability and failure handling.
Related articles
Guides and worked examples on Spring AI, Spring Boot and modern Java.
- Java 25's Compact Object Headers: I Measured the Real Savings So You Don't Have To
- The Complete Software Career Roadmap 2026: Java, .NET, Python, AI Engineering, QA, and DevOps
- I Rebuilt Our AI Agents on Kafka Instead of REST — Here's the Full Java Architecture
- The Modular Monolith: The Java Architecture Most Teams Should Be Using
- System Design: Building a Notification Service for 50 Million Users
- Designing the AI Request Pipeline: 8 Layers Between User Input and Your LLM
- We Let Claude Code Refactor Our 200K-Line Java Monolith. Here's the Honest Result.
- AI Code Review at Scale: How We Use Claude to Review Every PR Before Humans See It
- Building AI Skills: GitHub Copilot Extensions, Claude Tools, and Reusable Agent Capabilities
- Feature Flags for AI: The Deployment Pattern That Saved Us From 3 Production Disasters
- Your Spring Boot App Starts in 3 Seconds. With GraalVM Native, It's 80ms.
- 10 Spring Boot Mistakes That Silently Kill Production Apps
Also on this site: Production AI architecture guide · AI Architect courses · System Design courses
Questions
- Who is the Spring AI course for?
- Java and Spring engineers who want to add AI features to an application. Some familiarity with Spring Boot helps; the Spring Boot guides on this page cover the surrounding topics.
- What does the course cover?
- Getting started, prompting and tool calling, retrieval with vector stores, MCP and agents, choosing a language model, and the production architecture around a Spring AI system.
- Is it free?
- Yes. The first lesson is open to everyone. A free account unlocks the remaining lessons and tracks your progress, when accounts are switched on.
- Is there a quiz?
- Yes. The course ends with a Spring AI quiz so you can check what you learned.