Posts tagged with Spring

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 "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 "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 "How to fix services registering as localhost on Eureka"
Java

How to fix services registering as localhost on Eureka

If you used Eureka before, you may have noticed that services sometimes register as localhost in stead of the prefered servers hostname. In this tutorial I'll explain why that happens and how to fix it.

Read more →
Featured image for "Testing code using Spring's WebClient"
Java

Testing code using Spring's WebClient

Since Spring 5, RestTemplate went into maintenance mode and WebClient became the way to go. In this tutorial I'll show how you can write tests for code using WebClient.

Read more →