Sep 23, 2021
In Part 1, we implemented TodoMVC using Spring Boot and Thymeleaf. The application already allows to add todo items and show them. We will continue in this part with completing items and deleting them.
Read More...
Sep 20, 2021
The TodoMVC project has implementations of a simple todo list application for many different frontend frameworks. The goal is that a Single Page Application is implemented in a varity of technologies to be able to compare them. I wanted to stretch the concept a bit and create a Spring Boot backend with Thymeleaf server-side rendered HTML page just to see how that could work and how it would affect the user experience.
Read More...
Sep 15, 2021
Iteration in Thymeleaf templates is done using th:each. But combining it with fragments can yield some surprising results. This blog post shows an overview of what can happen and common pitfalls to watch out for.
Read More...
Jul 25, 2021
Since Java 16, we can use records. This blog post shows how Thymeleaf supports this.
Read More...
May 23, 2021
This post explains in detail how you should implement a HTML form with Thymeleaf and Spring Boot.
Read More...
May 1, 2021
There is a new version 1.6.0 of the Error Handling Spring Boot Starter. A lot of new things have been added since I lasted blogged about version 1.2.0 of this library, so it is time for a round-up to show the new goodies.
Read More...
Apr 26, 2021
I always struggled with how to implement equals and hashcode, until I learned about the difference between entities and value objects.
Read More...
Apr 16, 2021
This blog post will show the best way to implement a HTML <select/> to allow the user to select between one of several options.
Read More...
Mar 1, 2021
There are 2 choices when using Value Objects in JPA entities with Spring Boot: AttributeConverter or Embeddable. This blog post shows the differences between those and some guidelines when to use what.
Read More...
Feb 18, 2021
I just did release 1.2.0 of the error-handling-spring-boot-starter library. It allows now to customize how the error response is serialized to JSON.
Read More...