Practical writing on Java, Spring, AI, and the craft of software engineering.

If you're building with Java and Spring (or trying to figure out where AI fits into your development workflow) you're in the right place. I write practical, beginner-friendly deep dives on Spring Boot, Spring AI, and software engineering fundamentals, collected here in chronological order.

Filtering by tag: Java

Spring Boot
· 9 min read

Calling Multiple LLMs with Spring AI: A Practical Guide

Learn how to integrate and call multiple Large Language Models (LLMs) like OpenAI's GPT-4 and Anthropic's Claude in a single Spring Boot application using Spring AI. This tutorial covers project setup, configuration, and implementation of separate controllers for each LLM.

Spring Boot
· 11 min read

Building Intelligent Chatbots with Spring AI: Implementing Chat Memory

Learn how to create a context-aware chatbot using Spring AI and OpenAI. This tutorial covers implementing chat memory, handling token usage, and managing context window limitations for more engaging AI conversations.

Spring Boot
· 19 min read

Building a Streaming Chat Bot with Spring Boot and Spring AI

Learn how to create a responsive and engaging chat bot using Spring Boot and Spring AI, featuring both traditional and streaming response capabilities for an enhanced user experience.

Spring Boot
· 9 min read

Building Dynamic Forms with Spring Boot and JTE: A Practical Guide

Learn how to create interactive web forms using Spring Boot and Java Template Engine (JTE) in this comprehensive tutorial.

Spring Boot
· 16 min read

Building a Dynamic Task Manager with Spring Boot, JTE, and HTMX

Learn how to build a dynamic Task manager using Spring Boot, Java Template Engine (JTE), HTMX and Tailwind CSS.

Spring Boot
· 11 min read

Getting started with Java Template Engine (JTE) layouts in Spring Boot

Learn how to use layouts with Java Template Engine in your next Spring Boot Application

Spring Boot
· 9 min read

Introducing JTE: The Latest Template Engine in Spring Boot

Explore JTE, the new Java Template Engine now available in Spring Initializer. Learn its benefits, how to get started, and why you might choose it for your next Spring Boot project.

Supercharge Your Spring Apps with AI - A Beginner's Guide to Claude 3.5 Sonnet and Spring AI
· 13 min read

Supercharge Your Spring Apps with AI - A Beginner's Guide to Claude 3.5 Sonnet and Spring AI

Unlock the power of artificial intelligence in your Java applications with Claude 3.5 Sonnet and Spring AI. This beginner-friendly guide walks you through integrating cutting-edge AI capabilities into your Spring projects, opening up a world of possibilities for smart, responsive applications.

Java Method References - A Beginner's Guide
· 8 min read

Java Method References - A Beginner's Guide

Discover the power of method references in Java! This beginner-friendly guide explains what method references are, why they're useful, and how to use them effectively. With clear explanations and practical code examples, you'll learn to write cleaner, more expressive code using this powerful Java feature.

Getting Started with Open AI's GPT-4o in Java
· 11 min read

Getting Started with Open AI's GPT-4o in Java

In this tutorial you will learn how to access OpenAI's newest model, GPT-4o in Java without using any dependencies. As a Java developer, there are several highlights you would be excited about – 50% lower pricing, two times faster latency, and five times the rate limits.