Paving a Painless Path to Production AI in Your Java Applications
summary
Live codes a Spring Boot service using Java 21, Spring AI 0.8.1 and the Azure OpenAI starter to chain chat messages, buffer context and stuff prompts for RAG-style retrieval, showing that keeping assistant messages increases accuracy. Demonstrates GitHub Copilot assisting with constructors and imports and describes deployment targets: Azure Spring Apps and Azure Container Apps. Shows a celebrity-voice parameter, runs locally via ./mvnw spring-boot:run, and the demo returns correct answers (Mars as fourth planet), so it works.
AI-written summary · about
chapters (14)
- 0:00Welcome
- 1:02What this session covers
- 2:28AI concepts
- 7:29AI integration tools
- 9:13GitHub Copilot
- 12:47Azure deployment for Java
- 13:11Live coding setup
- 15:21Azure OpenAI with Spring Boot
- 16:03AI controller building
- 18:34Enhancing prompts
- 21:50Celebrity voice addition
- 23:17Conversation context buffers
- 25:12Testing AI API
- 27:20Closing
related talks
55mSpring into the AI Era: A Practical Exploration for Developers
02h 43mSpring into the AI Era: A Practical Exploration for Developers (Workshop)
45mFrom RAG to Enterprise AI Agents: Building Intelligent Java Apps
01h 00mSpring AI
26mJava’s GenAI Era: Getting Spring AI and Neo4j Applications to Production
45mThe Overwhelmed Spring Developer's Guide To AI
34mUsing AI to build an AI Java app
21mSpring Unlocks the Power of AI Platform - End-to-End
