Tag 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 »

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 »

Running the Tanuki Java Service Wrapper in Alpine Linux

By | February 11, 2016

Alpine Linux is a lightweight Linux distribution which, as far as I am concerned, makes it especially suitable to use in Docker images. The Java Service Wrapper from Tanuki enables Java applications to run as services and is also useful just to launch a Java application, since it will restart it under certain error conditions.… Read More »

JMX Monitoring with Docker and the ELK Stack

By | September 27, 2015

This article will show how to monitor a Java Virtual Machine (JVM) running in a Docker container using JMX and the ELK stack, consisting of Elasticsearch, Logstash and Kibana, running in another Docker container. In addition there will be a simple example on how to use Docker Compose. In the example I will run an… Read More »

Creating a Docker Image with Elasticsearch, Logstash and Kibana

By | August 23, 2015

In this article I will create a Docker image that contains the Elasticsearch, Logstash and Kibana – more commonly known as the ELK stack. This Docker image will be based on the Docker image with Java 8 on Ubuntu that I created in an earlier article. I am aware of there being Docker images containing… Read More »