Spring’s RequestBody and ResponseBody Annotations 1. Introduction In this quick article, we provide a concise overview of the Spring @RequestBody and @ResponseBody annotations. Further reading: Guide to Spring Handler Mappings The article explains how HandlerMapping implementation resolve URL to a particular Handler. Read more → Quick Guide to Spring Controllers… Continue Reading spring-request-response-body

Spring Cloud Sleuth in a Monolith Application 1. Overview In this article, we’re introducing Spring Cloud Sleuth – a powerful tool for enhancing logs in any application, but especially in a system built up of multiple services. And for this writeup we’re going to focus on using Sleuth in a… Continue Reading spring-cloud-sleuth-single-application

CSRF Protection with Spring MVC and Thymeleaf 1. Introduction Thymeleaf is a Java template engine for processing and creating HTML, XML, JavaScript, CSS and plaintext. For an intro to Thymeleaf and Spring, have a look at this writeup. In this article, we will discuss how to prevent Cross-Site Request Forgery… Continue Reading csrf-thymeleaf-with-spring-security