Latest Posts

Thymeleaf Layout Dialect as Decorator Pattern for a Spring Boot web application

In this post, we are going use the Thymeleaf Layout Dialect to create a web application template for a simple blog site. The example Spring Boot application is based on Thymeleaf and Bootstrap 3.

Continue Reading

Simple Spring Boot CRUD application with Client-side form validation

This post describes how to add client-side form validation to an existing Spring Boot web application. The example code uses Thymeleaf Template Engine, Bootstrap 3 and Spring JPA in conjunction with HSQL DB.

Continue Reading

Simple Spring Boot CRUD application with Server-side form validation

This post describes how to add server-side form validation to an existing Spring Boot web application. The example code uses Thymeleaf Template Engine, Bootstrap 3 and Spring JPA in conjunction with HSQL DB.

Continue Reading

Simple Spring Boot CRUD application with Thymeleaf, JPA and Bootstrap

In this post, I will describe a full working example of a simple Spring Boot based CRUD application. The example code uses Thymeleaf Template Engine, Bootstrap 3 and Spring JPA in conjunction with HSQL DB.

Continue Reading

Spring AOP in conjunction with custom annotations

In one of my recent projects, I had the task to clean up existing Java classes regarding a typical cross-cutting concern problem. Access to certain methods within a web application should be logged, basically which user invoked which method using what kind of parameters. This is a situation when Spring AOP with custom annotations can provide a clean solution. In the following post, I will walk you through the entire process using a simplified solution.

Continue Reading