Generative AI for Java & Spring Boot Developers
Bring generative AI into the Java applications your business already runs. This hands-on course teaches Spring Boot developers to build AI features with Spring AI: prompts and structured responses, chat with your own documents, conversational memory, tool calling, MCP servers, voice and images — observed, secured and tested like any other Spring service.
The ChatClient, Spring AI starters and the BOM, testing AI calls with WireMock, and choosing between OpenAI, Azure OpenAI and a free local model on Ollama.
Testing non-deterministic output: relevancy and fact-checking evaluators, and self-evaluation at runtime.
Prompt templates, stuffing context, system and user roles, generation options, and reading response metadata such as token usage.
Retrieval-augmented generation: vector stores, loading and splitting documents, and modular RAG with Spring AI advisors.
Chat memory, conversation IDs and persistent memory across requests — so your assistant remembers the conversation.
Letting the model call your Java methods as tools to fetch live data and take action in your systems.
MCP clients, building your own MCP server in Spring, the HTTP and SSE transports, and exposing prompts and resources.
Speech-to-text, text-to-speech, asking questions about images, and generating images from your Spring application.
Actuator metrics, Prometheus and Grafana dashboards, and tracing every AI call — including token usage and cost.
Document access control in RAG, securing tools, defending against adversarial prompts, and content moderation.
Practical patterns for summarisation, translation and sentiment analysis in business applications.
Agentic workflows and patterns, and self-planning agents. Capstone: build and demo an AI-powered Spring Boot service.
Spring AI builds on solid Spring Boot skills. Make sure you're ready before enrolling.
Comfortable building REST APIs with Spring Boot — controllers, services, dependency injection, configuration and Spring Data.
Modern Java, including records, lambdas and the Stream API, which Spring AI uses throughout.
Docker Desktop installed and working — local models (Ollama) and vector stores run in containers during the labs.
API access: An OpenAI or Azure OpenAI account for the cloud labs. We confirm API access options with you when you book; most labs also run free on local models.
A capable laptop: 16 GB RAM recommended for running local models comfortably.
Build REST APIs, data access, security and testing with Spring Boot.
Ready to take this course! Add generative AI, RAG, tools, MCP and agents to your Spring Boot services.
Deploy your AI services as part of a resilient, observable distributed system.
Add chat, document search, data extraction and automation to the Spring Boot services you already build — without switching to Python.
Banks, insurers and corporates running Java can add AI inside their existing stack, security model and deployment pipeline.
Understand how to design, observe, secure and test AI features in a Java architecture — and what they cost to run.
Take the AI integration from the Java & AI Bootcamp much further — RAG, MCP, agents and production concerns.
All courses are taught by Code College’s senior development trainers — practitioners with real-world industry experience, backed by over 20 years of professional developer training since 2004.
You write code from day one. Every concept is reinforced with real exercises and a practical project you keep.
Join 100% live online from anywhere, or hybrid — one or two days a week at our Midrand campus and the rest live online. Full-time face-to-face attendance can be requested, and is possible when an onsite group class is running.
Receive a Code College certificate on completion — recognised by employers across South Africa.
No. Everything is built in Java with Spring Boot and Spring AI, so your team can add AI features without leaving the Java ecosystem. Python developers should look at Building with LLMs instead.
Spring AI works with many providers. The course uses OpenAI and Azure OpenAI, plus free local models on Ollama — which keep data on your own machine and are useful where POPIA or confidentiality rules out cloud AI.
Yes. Local models run through Ollama, vector stores run in Docker, and the course covers document access control, securing tools, observability with Prometheus and Grafana, and defending against adversarial prompts.
A series of Spring Boot AI services — prompt-driven generation, a RAG assistant over your own documents, a tool-calling assistant with memory, an MCP server and an agent — finishing with a capstone AI service you demo on the last day.
Before: Spring Boot (and Java Fundamentals if you are new to Java). After: Spring Microservices to deploy your AI services as part of a resilient distributed system.
Individuals join live online from anywhere, or hybrid — one or two days a week at our Midrand campus and the rest live online. Group courses run live online or hybrid, with fully onsite delivery at our Midrand campus optional, on request. Contact us for a group quote.
Yes. Code College is a B-BBEE Level 4 contributor and training spend qualifies as skills development under the B-BBEE scorecard. The course fee also counts toward your SDL (Skills Development Levy) spend.
Book the Spring AI course today — full-time (5 days) or part-time. Johannesburg and online.