Java · Spring · Thymeleaf · Htmx
Production-ready Spring Boot, crafted carefully.
I'm Wim Deblauwe, a software developer specialized in Java and Spring. I write books, maintain open-source projects like error-handling-spring-boot-starter, and publish practical, battle-tested articles here.
just start typing — try thymeleaf, testcontainers or htmx
Taming Thymeleaf
Server-side rendering with Spring Boot, step by step.
Modern frontends with htmx
Hypermedia-driven UIs with Spring Boot & Thymeleaf.
Recent posts
showing 10 of 123- Jan 18, 2021 Using Hugo with Tailwind CSS 2 Tailwind CSS version 2 has recently been released. This blog post shows how to add Tailwind CSS to your Hugo generated blog. Make sure you have Hugo installed to follow along. I am using Hugo 0.79.0. You also need to have npm installed. I am using 6.14.7. Create a new Hugo site: hugo new site my-hugo-site my-hugo-site can be anything you want, it will also be the directory where the files are created.
- Jan 11, 2021 String concatenation with Thymeleaf This post shows the various ways that you can concatenate string values with Thymeleaf.
- Jan 8, 2021 Practical Guide to Building an API Back End with Spring Boot made it to the Best New REST API Books I’m happy to announce that my book, "Practical Guide to Building an API Back End with Spring Boot", made it to BookAuthority’s Best New REST API Books: https://bookauthority.org/books/new-rest-api-books?t=16x1w7&s=award&book=0359044522 BookAuthority collects and ranks the best books in the world, and it is a great honor to get this kind of recognition. Thank you for all your support! The book is available for purchase on Amazon.
- Jan 5, 2021 Using Google Charts with Thymeleaf There are a few options to add charts to your Thymeleaf application, but one of the easiest is to integrate Google Charts. They are powerful, simple to use and free. This blog post will show how we can integrate them into a Thymeleaf/Spring Boot application.
- Dec 26, 2020 Architecture Decision Records I have been using Architecture Decision Records (ADR) documents on my latest projects. This blog post will show you what they are and how you can use them. I will also show a few examples that can serve as inspiration for your project.
- Dec 21, 2020 Release Taming Thymeleaf book I am thrilled to announce the release of my book Taming Thymeleaf on leanpub. This book aims to be a valuable resource to learn about Thymeleaf with Spring Boot.
- Oct 9, 2020 Generate Leanpub TOC from Asciidoc files I just released the first version of my Taming Thymeleaf book on leanpub. Since I am using Asciidoctor to generate the PDF, there is no automatic table of contents generation for the landing page. Luckily, leanpub allows to enter some HTML to manually create the TOC. A perfect opportunity to use my rusty Groovy skills once more to generate this HTML. I have my Asciidoc files all in a _chapters directory grouped per chapter:
- Jul 20, 2020 Error handling library for Spring Boot An important part of any decent REST API is good error handling. Good error handling has 2 major goals: It will help the developers of your API to understand exactly what is wrong when they learn to work with your API. It will allow to have the mobile app or Single Page Application or whatever that is using your app to give precise error message to the end-user of the application. We will first take a look at what Spring Boot offers out-of-the-box, and next look at how Error Handling Spring Boot Starter improves this.
- Jun 8, 2020 Generate all enum values for Spring REST Docs documentation If you document your REST API with Spring REST Docs, you have probably came across fields that refer to enum values. This little tip will show you how to automatically include all enum values in the description of the field.
- May 8, 2020 AssertJ test cause of exception AssertJ 3.16.0 has just been released. It has a feature I contributed to allow testing the (root) cause of an exception. This blog post will show how to use this to our advantage.
no matches for "" — browse the full archive →