Spring Boot CRUD Application with Thymeleaf 1. Overview The implementation of DAO layers that provide CRUD functionality on JPA entities can be a repetitive, time-consuming task that we want to avoid in most cases. Luckily, Spring Boot makes it easy to create CRUD applications through a layer of standard JPA-based CRUD… Continue Reading spring-boot-crud-thymeleaf

CDI Interceptor vs Spring AspectJ 1. Introduction The Interceptor pattern is generally used to add new, cross-cutting functionality or logic in an application, and has solid support in a large number of libraries. In this article we’ll cover and contrast two of these major libraries: CDI interceptors and Spring AspectJ.… Continue Reading cdi-interceptor-vs-spring-aspectj

Create a Custom Auto-Configuration with Spring Boot 1. Overview Simply put, the Spring Boot autoconfiguration represents a way to automatically configure a Spring application based on the dependencies that are present on the classpath. This can make development faster and easier by eliminating the need for defining certain beans that… Continue Reading spring-boot-custom-auto-configuration

Validation for Functional Endpoints in Spring 5 1. Overview It’s often useful to implement input validation for our APIs to avoid unexpected errors later when we’re processing the data. Unfortunately, in Spring 5 there’s no way to run validations automatically on functional endpoints as we do on annotated-based ones. We have… Continue Reading spring-functional-endpoints-validation