Writing on software development and anything else I find interesting.

All of my long-form thoughts on programming, content creation, and more, collected in chronological order.

Filtering by tag: Spring AI

Spring AI Prompt Caching: Stop Wasting Money on Repeated Tokens

If you have an unlimited budget to spend on AI, you probably don't need to read this. If you don't like saving money, feel free to skip this one. But if you're like me and want to reduce your AI application costs, prompt caching is a technique you need to...

My CYC 2025 Demo: Why Building MCP Servers in Java Just Got Ridiculously Simple

My CYC 2025 Demo: Why Building MCP Servers in Java Just Got Ridiculously Simple

Learn how Spring AI 1.1.0-M2 makes building MCP servers in Java incredibly simple with just annotations. No callbacks, no complex setup. Includes complete code from my Commit Your Code 2025 conference demo, showing how to expose your Java application's data to Claude and other AI assistants.

Running AI Models Locally with Docker and Spring AI

Running AI Models Locally with Docker and Spring AI

Master Docker Desktop's revolutionary Model Runner feature and discover how to build privacy-first AI applications with Spring Boot. This complete tutorial shows you how to run powerful open-source AI models like Gemma locally on your machine, eliminating API costs, protecting sensitive data, and simplifying development workflows. You'll get step-by-step instructions...