How To Expose RSS Feeds with Spring MVC


Intro Hey friends! Here is a quick tutorial on how to expose RSS feeds from your Spring MVC app using Spring Boot and some lesser-known components from the Spring ecosystem. 🍿 Get the code from GitHub …

How To Access Files on the Classpath Spring Boot 3


Intro Hey friends! A quick overview of how to access files from your Spring Boot application. 🍿 Get the code from GitHub …

How To Send HTML Mails with Brevo and Spring Boot 3


Intro Hey folks! A quick tutorial about using Spring Boot and Brevo to send HTML emails. The beauty of Brevo is, that you can manage your templates using a WYSIWYG editor and then populate these templates from your Spring app. 🍿 Get the code from GitHub …

How To JSON Patch in REST Controller and Spring Boot 3


Intro JSON Patch is a standard for describing changes to a JSON resource. It’s a simple way to perform updates without having to send the whole document over the wire. 🍿 Get the code from GitHub …

How to Render Beautiful PDFs from HTML with Spring MVC


Intro If you want to render beautiful PDF files, then the best approach is to build them from HTML. Using CSS, images, and other HTML elements, you can create stunning PDFs with the help of Thymeleaf, Jsoup and Flying Saucer. 🍿 Get the code from GitHub …

The Dockerfile I Am Using To Build And Run My Spring Boot Apps


Intro In this tutorial, I share the Dockerfile I use to build and run my Spring Boot apps in production. 🍿 Get the code from GitHub …

How To Manage Cookies with Spring MVC and Spring Boot


Intro Hey friends! Today, we look into baking and consuming cookies with Spring MVC. What do the individual properties mean, and how do you make cookies persistent. Enjoy! 🍿 Get the code from GitHub …

How To Implement Long-Running API Tasks with Spring MVC


Intro Hey there! When you build a RESTful API, you might have to expose long-running tasks, i.e., sending a batch of emails. In these scenarios, you don’t want to block client requests until the job has finished. Plus, you might want to report back some details on the progress of the task and a way to cancel an already started task. In this tutorial, we’ll talk about implementing long-running tasks as first-class citizens in our API.…

Philips Hue CLI: Manage Your Smart Home with Spring Shell


Intro Hey friends! This tutorial explores Spring Shell to build a CLI that talks to the Philips HUE API and can manage your smart home devices. We also make a native binary using GraalVM! 🍿 Get the code from GitHub …

How To Add Pagination To A REST Controller With Spring Boot


Intro If you are exposing collection resources via a RESTful API, chances are you will need some sort of pagination. And along with that a means of sorting the output. In this tutorial, we will use the paging and sorting capabilities for Spring Data and expose them all the way up through our REST controller. 🍿 Get the code from GitHub …

The Dead Letter Queue

Love what you're seeing? By subscribing to my newsletter, not only will you be the first to know about fresh tutorials and videos, but you'll also unlock:

Subscribe now and become a part of our growing tech tribe!