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

AWS Lambda SnapStart for Spring Developers
· 4 min read

AWS Lambda SnapStart for Spring Developers

AWS Lambda SnapStart is a new performance optimization developed by AWS that can significantly improve the startup time for your applications.

What's new in Spring Security 6
· 6 min read

What's new in Spring Security 6

In this article we will discuss the new features of Spring Security 6 and create a new Spring Boot 3 project together.

Spring Boot REST API Domain Class Converter
· 11 min read

Spring Boot REST API Domain Class Converter

In this tutorial, you will learn about a class called the Domain Class Converter in Spring Data. This class will allow you to take arbitrary input like an id from a path variable in a REST API and automatically create a domain object by using Spring Data's CrudRepository.

How to Secure your REST APIs with Spring Security & JSON Web Tokens (JWTs)
· 35 min read

How to Secure your REST APIs with Spring Security & JSON Web Tokens (JWTs)

In this tutorial, you will learn how to secure REST APIs with Spring Security and JSON Web Tokens (JWTs).

Spring Boot REST Service: How to build a REST API in Java
· 8 min read

Spring Boot REST Service: How to build a REST API in Java

In this tutorial you will learn how to build a REST API in Java using Spring Boot.

Spring Boot Testing Basics: How to Unit Test & Integration Test REST Controllers
· 9 min read

Spring Boot Testing Basics: How to Unit Test & Integration Test REST Controllers

In this article, we're going to dive into the world of testing in Spring Boot, specifically looking at unit tests and integration tests.

Spring Boot in Visual Studio Code
· 2 min read

Spring Boot in Visual Studio Code

Learn how to set up Spring Boot in Visual Studio Code using the Java and Spring Boot Extension Packs, then build a Spring Boot REST API in this tutorial.

Spring @Component vs @Bean: What's the Difference?
· 13 min read

Spring @Component vs @Bean: What's the Difference?

@Component vs @Bean in Spring: @Component marks classes you own for classpath scanning, @Bean builds beans from methods. Learn when to use each, with examples.