Posts within the Java category

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 →
Featured image for "Upgrading to Spring Boot 3"
Java

Upgrading to Spring Boot 3

I recently upgraded my project to Spring Boot 3.0, here's my experience with it

Read more →
Featured image for "Unit testing your Spring boot applications"
Java

Unit testing your Spring boot applications

Testing is an important part of development, and in this tutorial I'll show you how you can unit test your Spring boot application

Read more →
Featured image for "Advent of code 2021 - Day 14"
Java

Advent of code 2021 - Day 14

Read more →
Featured image for "Advent of code 2021 - Day 13"
Java

Advent of code 2021 - Day 13

Read more →
Featured image for "Using CSRF with Springfox"
Java

Using CSRF with Springfox

When using Springfox with CSRF, some issues may arise. In this tutorial I'll show you how you can solve these.

Read more →
Featured image for "Bundling your React app with Spring boot"
Java

Bundling your React app with Spring boot

In this tutorial I'll show you how you can bundle your React app together with Spring boot.

Read more →