View All Sessions
ai4j-shader-screenshot

Building a Star Trek Computer with Java 25 and Spring AI

Can you talk to your computer in plain English and have it diagnose itself — Star Trek style? In this session, we’ll build exactly that using the modern Java ecosystem. Starting with OSQuery — a utility that exposes operating system data as SQL tables — we’ll use Spring AI 2 (on Spring Boot 4) and the Model Context Protocol (MCP) to create a natural language interface to your machine. The LLM translates spoken commands like “run a level one diagnostic” into the right SQL queries, executes them through an MCP server written in Java, and streams back a human-readable report. The session covers writing MCP tool methods with Spring AI’s @Tool annotation, building a JavaFX voice interface that uses Whisper for speech-to-text, running concurrent system queries with virtual threads and CompletableFuture, and streaming results back using reactive Flux. We’ll also look at how agentic CLI skills (like those in Claude Code) offer a simpler alternative when a full MCP server isn’t needed. All code is open source and available on GitHub.

me_jun2025 - Kenneth Kousen - Edited
Ken Kousen
Java Champion, Author, and Professor of the Practice of Computer Science
me_jun2025 - Kenneth Kousen - Edited
Ken Kousen
Java Champion, Author, and Professor of the Practice of Computer Science

Ken Kousen is a Java Champion, author of multiple books on Java, Kotlin, and Groovy, and Professor of the Practice of Computer Science at Trinity College. He runs Kousen IT, Inc., providing technical training and consulting, and creates courses for O’Reilly Media. He publishes the “Tales from the Jar Side” newsletter and YouTube channel of the same name, covering Java, Spring, Kotlin, Groovy, and AI topics.

More On-Demand Sessions

Refactoring Code to Functional Style using AI

Dr. Venkat Subramaniam
President, Agile Developer, Inc.

Building AI Agents with Spring & MCP

James Ward
Developer Advocate, AWS
Josh Long
Spring Developer Advocate, Broadcom

Agents, Tools, and MCP, oh my!

Jennifer Reif
Senior Developer Advocate, Neo4j
Azul, Azul Systems, Zing, Zulu, Zulu Enterprise, ReadyNow! are either registered trademarks or trademarks of Azul Systems Inc., registered in the U.S. and elsewhere. All other trademarks belong to their respective owners.
© Azul 2026. All rights reserved.
  • Compliance
  • Privacy Policy
  • Legal
  • Terms of Use
  • Privacy Settings