Wim Deblauwe

Wim Deblauwe

@wimdeblauwe.com

Software Engineer. Writes mostly Java & Spring. Author of "Taming Thymeleaf" and "Modern frontends with htmx". Blogs at http://wimdeblauwe.com. YouTube: https://youtube.com/@WimDeblauwe

350 followers253 following175 posts

New blog post: Writing a Thymeleaf component library - part 3 🧵 This time: slot support! Add arbitrary content (like an SVG icon) inside your <tcl:button> component, with named slots for more complex components like cards. www.wimdeblauwe.com/blog/2026/08...

wimdeblauwe.comWriting a Thymeleaf component library - part 3In part 1 we created a Thymeleaf component library that can be used in a Spring Boot application. Part 2 showed how to create an actual component with custom attributes and a passthrough of any attrib...

Ever wished Thymeleaf had real components like <tcl:button primary>Submit</tcl:button>? Part 2 of my component library series shows how to build exactly that with a custom dialect, including passing through arbitrary attributes (great for htmx 👀). www.wimdeblauwe.com/blog/2026/08...

wimdeblauwe.comWriting a Thymeleaf component library - part 2In part 1 we created a Thymeleaf component library that can be used in a Spring Boot application. There is a sample application that uses the library, and there is full live reload support for changin...

✍️New blog post: Writing a Thymeleaf component library (part 1 of 4). Setting up the library: Spring Boot auto-configuration, Vite-bundled CSS/JS shipped inside the jar, and live reload while you work on the library itself. wimdeblauwe.com/blog/2026/07... #SpringBoot #Thymeleaf

wimdeblauwe.comWriting a Thymeleaf component libraryThis blog series will explain how to write a component library for Thymeleaf. The goal is to create a library that can be used in any Spring Boot application that uses Thymeleaf as the view technology...

✍️ New blog post: Testing OAuth2 client login with mock-oauth2-server If you want to test the security of your Thymeleaf application that uses OAuth2 client login (Keycloak, Okta, ...), mock-oauth2-server is a great libray for that! www.wimdeblauwe.com/blog/2026/07...

wimdeblauwe.comTesting OAuth2 client login with mock-oauth2-serverIf you use Spring Boot with Thymeleaf, you might be using an external OAuth2 provider like Keycloak or Okta to authenticate your users. In this blog post, I will show you how to test your OAuth2 clien...

Just released htmx-spring-boot 5.1.0 with a very nice new feature: automatic CSRF token injection. You no longer need to manually worry about CSRF if you use hx-post, hx-get or hx-delete. See github.com/wimdeblauwe/... for the full release notes.

github.comRelease 5.1.0 · wimdeblauwe/htmx-spring-bootWhat's Changed Make swap style optional and add support to define “none” for scroll and show in HX-Reswap by @xhaggi in #191 Add support for automatic CSRF token injection by @lcnicolau in #188 Up...

ttcli 1.10.0 now supports generating Spring Boot 4 projects with Thymeleaf or JTE as your templating engine of choice. The generated project is automatically configured with the correct versions of libraries to quickly start your next server-side rendering project. See github.com/wimdeblauwe/...

github.comRelease 1.10.0 · wimdeblauwe/ttcliChangelog 🚀 Features 82347dc feat: Support Spring Boot 4 for project generation 🛠 Build 219b741 build: Use htmx 2.0.8 b37ee68 build: Use Bootstrap 5.3.8 e1e4ba0 build: Use AlpineJS 3.15.1 96d07...

📝 Just published the final post in my Spring Boot series: "How I document production-ready Spring Boot applications" 🚀 Learn how to: * Keep docs in sync with code using AsciiDoc * Auto-generate REST API docs from tests * Create living architecture documentation www.wimdeblauwe.com/blog/2025/09...

wimdeblauwe.comHow I document production-ready Spring Boot applicationsThis blog post explains how I like to document a Spring Boot application I am writing. It is the third and last post in my series on writing production-ready Spring Boot applications. See How I write ...

📝 Just published: How I test production-ready Spring Boot applications - Use case tests with in-memory repositories (no mocking!) - Repository tests with Testcontainers - Controller tests - Integration tests - Architecture tests Read the full guide: www.wimdeblauwe.com/blog/2025/07...

wimdeblauwe.comHow I test production-ready Spring Boot applicationsMy previous blog post How I write production-ready Spring Boot applications explained how I like to write and structure my production code in Spring Boot applications. This blog post will further expl...

🚀 New blog post: How I write production-ready Spring Boot applications After 25+ years of Java development, here's my approach to: - DDD-based package structure - Clean use case architecture - Why I avoid Hexagonal Architecture Full breakdown: www.wimdeblauwe.com/blog/2025/06...

wimdeblauwe.comHow I write production-ready Spring Boot applicationsThis blog post will explain how I currently write Spring Boot applications. I have been writing Java for over 25 years, and most of that involved Spring and its ecosystem. I will talk about how I arch...