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

Create a GraphQL Client in Java with Spring Boot
· 8 min read

Create a GraphQL Client in Java with Spring Boot

If you're working on a Spring application and you need to call another REST API, you have tools such as RestTemplate or WebClient. But what if you need to call a GraphQL API? With Spring, a GraphQL Client is available. In this tutorial, you will learn how to include it...

Project Loom Virtual Threads in Spring (JDK 19/20 Preview)
· 7 min read

Project Loom Virtual Threads in Spring (JDK 19/20 Preview)

Project Loom virtual threads explained for Spring developers: why thread-per-request breaks under load, and how to enable them in Spring on JDK 19/20 preview.

Working with GraphQL Mutations in Spring Boot
· 21 min read

Working with GraphQL Mutations in Spring Boot

In this blog post, we'll be taking a look at mutations in GraphQL, specifically using Spring Boot, GraphQL Java, and Spring Data JPA.

Learn Spring & Spring Boot: A Free Crash Course for Beginners
· 13 min read

Learn Spring & Spring Boot: A Free Crash Course for Beginners

New to Spring? This free crash course shows you where to start, whether to learn Spring or Spring Boot first, and how to build your first Spring Boot app.

Building Command Line Applications in Spring with Spring Shell
· 12 min read

Building Command Line Applications in Spring with Spring Shell

In this introduction to Spring Shell, you will learn you how to build CLI applications in a familiar programming environment using Java + Spring.

GraphQL Scalars - How to use Custom Scalars in Java
· 14 min read

GraphQL Scalars - How to use Custom Scalars in Java

Learn how to use GraphQL custom scalars in Java. We build a Spring Boot 3 app with Spring for GraphQL and register the BigDecimal and LocalDateTime scalars.

Easily Implement UUIDs as Primary Keys in Spring Boot 3
· 9 min read

Easily Implement UUIDs as Primary Keys in Spring Boot 3

In this tutorial you will learn how to use one of the new features in Jakarta EE 10 in a Spring Boot 3 application.

Spring @Configuration proxyBeanMethods: Why Set It to False
· 9 min read

Spring @Configuration proxyBeanMethods: Why Set It to False

Setting proxyBeanMethods = false on @Configuration drops the CGLIB proxy Spring adds. Learn why it matters for native images and how to refactor your beans.

Spring Response Entity -  How to customize the response in Spring Boot
· 6 min read

Spring Response Entity - How to customize the response in Spring Boot

In this tutorial, you will learn what the ResponseEntity class is and how it can be used to customize the response in your Spring Boot application.