Spring Short Coding Course — South Africa

Spring AI

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.

Spring AISpring BootRAGMCPAI Agents
40
Hours of Training
R19,995
Course Fee
5 Days
Full-Time Option
JHB · Online
Nationwide
What You Will Learn

Course Curriculum

Getting Started with Spring AI

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.

Evaluating Generated Responses

Testing non-deterministic output: relevancy and fact-checking evaluators, and self-evaluation at runtime.

Prompts & Generation Options

Prompt templates, stuffing context, system and user roles, generation options, and reading response metadata such as token usage.

Talking with Your Documents (RAG)

Retrieval-augmented generation: vector stores, loading and splitting documents, and modular RAG with Spring AI advisors.

Conversational Memory

Chat memory, conversation IDs and persistent memory across requests — so your assistant remembers the conversation.

Tool-Driven Generation

Letting the model call your Java methods as tools to fetch live data and take action in your systems.

Model Context Protocol (MCP)

MCP clients, building your own MCP server in Spring, the HTTP and SSE transports, and exposing prompts and resources.

Voice & Images

Speech-to-text, text-to-speech, asking questions about images, and generating images from your Spring application.

Observing AI Operations

Actuator metrics, Prometheus and Grafana dashboards, and tracing every AI call — including token usage and cost.

Safeguarding Generative AI

Document access control in RAG, securing tools, defending against adversarial prompts, and content moderation.

Generative AI Patterns

Practical patterns for summarisation, translation and sentiment analysis in business applications.

AI Agents & Capstone

Agentic workflows and patterns, and self-planning agents. Capstone: build and demo an AI-powered Spring Boot service.

Prerequisites: Spring Boot proficiency — REST APIs, dependency injection and Spring Data (Code College Spring Boot course or equivalent). Docker installed for local models and vector stores.
Before You Start

Prerequisites & Learning Path

Spring AI builds on solid Spring Boot skills. Make sure you're ready before enrolling.

Required Knowledge

✓ Spring Boot

Comfortable building REST APIs with Spring Boot — controllers, services, dependency injection, configuration and Spring Data.

✓ Java 17+

Modern Java, including records, lambdas and the Stream API, which Spring AI uses throughout.

✓ Docker

Docker Desktop installed and working — local models (Ollama) and vector stores run in containers during the labs.

Recommended

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.

Recommended Learning Path

1

Spring Boot (40 hrs)

Build REST APIs, data access, security and testing with Spring Boot.

2

Spring AI (40 hrs) ← YOU ARE HERE

Ready to take this course! Add generative AI, RAG, tools, MCP and agents to your Spring Boot services.

3

Spring Microservices (40 hrs)

Deploy your AI services as part of a resilient, observable distributed system.

Start with Spring Boot →
Is This For Me?

Who Is This Course For?

🍃

Spring Boot Developers Adding AI

Add chat, document search, data extraction and automation to the Spring Boot services you already build — without switching to Python.

🏦

Enterprise Java Teams

Banks, insurers and corporates running Java can add AI inside their existing stack, security model and deployment pipeline.

🧭

Tech Leads & Architects

Understand how to design, observe, secure and test AI features in a Java architecture — and what they cost to run.

🎓

Java Bootcamp Graduates

Take the AI integration from the Java & AI Bootcamp much further — RAG, MCP, agents and production concerns.

Course Outcomes

What You'll Be Able to Do

How It Works

What to Expect

🎓

Expert-Led Training

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.

💻

Hands-On Projects

You write code from day one. Every concept is reinforced with real exercises and a practical project you keep.

📍

Johannesburg (Midrand)

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.

📜

Certificate of Completion

Receive a Code College certificate on completion — recognised by employers across South Africa.

FAQ

Frequently Asked Questions

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.

Ready to Level Up Your Skills?

Book the Spring AI course today — full-time (5 days) or part-time. Johannesburg and online.