Posts within the Java category

Featured image for "Using Mailpit with Spring Boot"
Java

Using Mailpit with Spring Boot

In this tutorial, we will learn how to use Mailpit with Spring Boot to send emails.

Read more →
Featured image for "Exploring Spring Security's Compromised Password Checker"
Java

Exploring Spring Security's Compromised Password Checker

In this blogpost, we will explore Spring Security's CompromisedPasswordChecker and how it can be used to check if a password has been compromised in a data breach.

Read more →
Featured image for "E-mail confirmation with Spring Security"
Java

E-mail confirmation with Spring Security

In this blogpost I'll talk more about implementing e-mail verification with Spring Security.

Read more →
Featured image for "What is the difference between JDBC, JPA, Hibernate and Spring Data?"
Java

What is the difference between JDBC, JPA, Hibernate and Spring Data?

In this blogpost I talk about the differences between JDBC, JPA, Hibernate and the various Spring Data projects and how they relate.

Read more →
Featured image for "Automatically add a prefix to properties in Spring Boot"
Java

Automatically add a prefix to properties in Spring Boot

In this blogpost I'll explain how you can dynamically add a prefix to properties in Spring Boot.

Read more →
Featured image for "Getting started with htmx and Spring Boot"
Java

Getting started with htmx and Spring Boot

In this blogpost I'll set up a small application with Spring Boot, Thymeleaf and htmx.

Read more →
Featured image for "Testing your Java code structure with ArchUnit"
Java

Testing your Java code structure with ArchUnit

In this tutorial I'll give an introduction to ArchUnit. This is a library that helps you with testing your Java code architecture, such as naming conventions, package structures, which classes can access others and so on.

Read more →
Featured image for "Battle of the Spring REST clients: RestTemplate, WebClient or RestClient?"
Java

Battle of the Spring REST clients: RestTemplate, WebClient or RestClient?

In this blogpost, I'll talk about the differences of Spring's RestTemplate and WebClient, and I will also talk about the new RestClient.

Read more →
Featured image for "Scheduling tasks with Spring"
Java

Scheduling tasks with Spring

With Spring, there are several options to automatically schedule tasks. In this tutorial I'll explain them.

Read more →
Featured image for "Checking out Spring Modulith"
Java

Checking out Spring Modulith

Recently the Spring Modulith experimental project was announced and in this blogpost I'll cover the basics of this new library.

Read more →