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

Testing Spring REST APIs with RestTestClient: A Complete Guide
· 22 min read

Testing Spring REST APIs with RestTestClient: A Complete Guide

Explore the new Rest Test Client in Spring Framework 7, a modern replacement for RestTemplate that provides a fluent API for testing REST APIs with improved type safety and better integration with modern testing practices.

Evolving your API without Versioning in GraphQL
· 15 min read

Evolving your API without Versioning in GraphQL

Explore modern approaches to API versioning in GraphQL, including schema evolution strategies, deprecation patterns, and best practices for maintaining backward compatibility while evolving your API.

First-Class API Versioning in Spring Boot 4
· 25 min read

First-Class API Versioning in Spring Boot 4

Learn how to implement API versioning strategies in Spring Boot 4 applications, including best practices for managing backwards compatibility and evolution of your REST APIs.

Spring Boot 3.x Features: A Complete Guide (3.0 to 3.5)
· 52 min read

Spring Boot 3.x Features: A Complete Guide (3.0 to 3.5)

Every major Spring Boot 3.x feature from 3.0 to 3.5—Java 17, GraalVM native images, virtual threads, Docker Compose, Testcontainers, and structured logging.

GraphQL
· 9 min read

Building Dynamic GraphQL APIs with Spring Boot and Query by Example

Learn how to build flexible and maintainable GraphQL APIs using Spring Boot's Query by Example support, reducing boilerplate code while enabling powerful search capabilities.

Spring Boot
· 9 min read

Query By Example in Spring Data JPA: A Clean Approach to Dynamic Queries

Learn how to simplify your Spring Data JPA queries using Query By Example (QBE) and create dynamic, type-safe queries without the boilerplate code.

Spring Boot
· 10 min read

RestClient OAuth2 Support in Spring Security 6.4: A Complete Guide

Learn how to implement OAuth2 authentication in your Spring applications using the new RestClient OAuth2 support in Spring Security 6.4. This guide covers architecture, implementation, and best practices for secure service-to-service communication.

Spring Boot
· 15 min read

Implementing Request/Response Logging with Spring Boot's Rest Client

Learn how to implement clean and efficient request/response logging for Spring Boot's Rest Client, including both inline and interceptor-based approaches.

Spring Boot
· 7 min read

Using Environment Variables in Spring Boot

Learn how to effectively manage configuration and secure sensitive data using environment variables in Spring Boot applications. This comprehensive guide covers best practices, security considerations, and practical examples.