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: Spring Boot

GraphQL for Java Developers
Latest

GraphQL for Java Developers

· 33 min read

Learn how to build scalable GraphQL APIs with Java 26 and Spring Boot 4. This course walks you through schema-first development, batch loading, unions, Query by Example, AOT repositories, and more.

Spring, Build Me a Coding Agent
· 26 min read

Spring, Build Me a Coding Agent

Learn how to build an autonomous coding agent in Spring AI using the Spring AI Agent Utils library. This tutorial walks you through creating a CLI-based agent with file system access, shell commands, and skills.

Giving Your Spring AI Agents a Real Browser with the Browserbase Spring Boot Starter
· 19 min read

Giving Your Spring AI Agents a Real Browser with the Browserbase Spring Boot Starter

Most AI agents can search the web. But what happens when they need to actually use it? I built a Spring Boot Starter for Browserbase that gives your agents a real, headless browser in three lines of configuration, plus a deep research agent to show it off.

Building a Spring Initializr Terminal UI with Java
· 10 min read

Building a Spring Initializr Terminal UI with Java

How I built a terminal user interface for the Spring Initializr using Tambu UI, a new Java TUI framework, and GraalVM native images to streamline my development workflow.

OpenTelemetry with Spring Boot 4: The New Starter You've Been Waiting For
· 12 min read

OpenTelemetry with Spring Boot 4: The New Starter You've Been Waiting For

Learn how to use the new spring-boot-starter-opentelemetry in Spring Boot 4 to add observability with traces, metrics, and logs—no Actuator required.

Building a Spring Boot 4 REST API the Fast Way
· 19 min read

Building a Spring Boot 4 REST API the Fast Way

Learn how to build a REST API with Spring Boot 4 in minutes. This tutorial shows you how to create CRUD endpoints using Java records and the @RestController annotation.

Loading Resources in Spring Boot
· 19 min read

Loading Resources in Spring Boot

Learn how to load resources in Spring Boot using the Resource interface. This tutorial covers three approaches for loading files from the classpath, filesystem, and URLs.

Spring Security 7 Multi-Factor Authentication: Complete Tutorial with @EnableMultiFactorAuthentication
· 28 min read

Spring Security 7 Multi-Factor Authentication: Complete Tutorial with @EnableMultiFactorAuthentication

Learn how to implement multi-factor authentication (MFA) in Spring Boot 4 using Spring Security 7's new @EnableMultiFactorAuthentication annotation. Step-by-step tutorial with one-time token login and custom PIN codes.

Spring Boot
· 14 min read

Spring Boot 4 Modularization: Fix Auto-Configuration Issues After Upgrading

Upgraded to Spring Boot 4 and features stopped working? Learn how the new modular auto-configuration architecture affects your migration and how to fix common issues like the H2 console not appearing.

MockMvcTester vs RestTestClient: Which one Should You Use in Spring Boot 4?
· 23 min read

MockMvcTester vs RestTestClient: Which one Should You Use in Spring Boot 4?

A comparison of MockMvcTester and RestTestClient for testing Spring Boot web applications, exploring when to use each approach and their key differences.