Category Archives: Java

Preparing Message Payloads with Thymeleaf

By | August 8, 2017

In this article I will show how to prepare message payloads with parameters in different formats using the Thymeleaf template engine. No previous knowledge of Thymeleaf is assumed. As far as I am concerned there are several use cases for this. Some examples are: System integration. Requests can be maintained as plain files and no… Read More »

Updated REST Example

By | May 21, 2017

A short note to tell you that my REST example application has been updated for the first release candidate of Spring 5 as well as the first milestone for Spring Boot. Some minor changes in the API I’ve used, such as introducing findById in Spring Data JPA repositories which return an Optional. I’ve also created… Read More »

REST with Asynchronous Jersey and RXJava – Part 4

By | December 29, 2016

In this series of articles I will implement a RESTful web service using Spring Boot and Jersey. I will then modify the service as to use asynchronous server-side request response processing and RXJava. Load tests will be made using Gatling before and after the modifications, in order to determine any improvements. The first article in… Read More »

REST with Asynchronous Jersey and RXJava – Part 3

By | December 17, 2016

In this series of articles I will implement a RESTful web service using Spring Boot and Jersey. I will then modify the service as to use asynchronous server-side request processing and RXJava. Load-tests will be made using Gatling before and after the modifications, in order to determine any improvements. The first article in this series… Read More »

REST with Asynchronous Jersey and RXJava – Part 2

By | November 25, 2016

In this series of articles I will implement a RESTful web service using Spring Boot and Jersey. I will then modify the service as to use asynchronous server-side request processing and RXJava. Load tests will be made using Gatling before and after the modifications, in order to determine any improvements. If you haven’t read part… Read More »

REST with Asynchronous Jersey and RXJava – Part 1

By | November 19, 2016

In this series of articles I will implement a RESTful web service using Spring Boot and Jersey. I will then modify the service as to use asynchronous server-side request processing and RXJava. Load-tests will be made using Gatling before and after the modifications, in order to determine any improvements.  Note: The example program in this… Read More »

Spring Application Events

By | September 20, 2016

In this post I will show how to use Spring events, which are events that can be published and listened to within a Spring application context running in one JVM. Background I was looking for a way to decouple different parts of an application I am working on. While I have read about event sourcing,… Read More »