JavaOne 2026

JavaOne 2026 Session

Duke in front of a whiteboard

From Chat to RAG to MCP: Enhancing Java Applications with AI

Summary

Artificial intelligence is advancing well beyond simple chat interfaces. Modern Java applications can now incorporate Retrieval-Augmented Generation (RAG) to provide grounded, verifiable responses, and the emerging Model Context Protocol (MCP) to enable secure and controlled access to tools and data.

This session shows how generative AI can be integrated into Java systems using open-source libraries, embeddings, vector databases, and orchestration layers. We'll walk through a practical progression starting with a basic chat, extending it with RAG using domain knowledge, and finally enabling safe external actions through MCP. We'll also explore architectural patterns, integration strategies, and key considerations for performance, deployment, and safety.

Attendees will learn how to incrementally adopt AI within existing Java applications to deliver more helpful, transparent, and capable features.

Profile

Type: Learning Session (50 min)

Track: Machine Learning and Artificial Intelligence

Audience Level: Intermediate

Speaker: Albert Attard

Session: Tuesday, March 17th at 3:00 PM in Room 202