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 Shell Commands on Multiple Computers

By | August 17, 2016

This post is mostly notes in my own notebook, in order for myself to remember something I have found useful. Given my virtual laboratory that I created in an earlier post, it soon becomes tedious to run the same commands over and over again on the different nodes in the virtual laboratory. So I started… Read More »

Embedded ActiveMQ with SSL

By | August 15, 2016

In this post I will show how to run an embedded instance of ActiveMQ that uses SSL for communication. In the process I will also show how to configure a JMS client to use SSL. The resulting project is available on GitHub. I have omitted the keystore and truststore in this article – if you… Read More »

Managing Containers – Shipyard

By | July 10, 2016

I am looking for something to help me manage multiple Docker hosts and the applications running on those hosts. Again, I will use my virtual laboratory, to start exploring the alternatives. In this first article I will look at Shipyard, which is an open-source application for managing a Docker cluster. Wishlist Before looking at anything I think… Read More »

Docker Swarm in Docker 1.12

By | June 26, 2016

Having set up my virtual laboratory, I thought I’d take Docker Swarm for a test. After having fiddled around a bit with the old (pre Docker 1.12) way of setting up Docker Swarm, I stumbled upon the documentation for Docker Swarm for Docker 1.12 and later. In version 1.12, which at the time of writing… Read More »

Setting Up My Virtual Laboratory

By | June 23, 2016

Some time ago I began thinking about setting up an environment in which I could test, for instance, running Dockerized applications on multiple computers. For a while I even considered a real server until I realised that it not only costs a lot of money to buy a server, but that the electricity bills will… Read More »

Create a Private Docker Registry

By | June 9, 2016

In this article I will show how to set up a private Docker registry with Sonatype’s Nexus Repository Manager 3.0 OSS. There may be other guides to this, but if nothing else I am writing for myself. The main motivations for me to set up a private Docker registry are: Distribution of Docker images. This… Read More »

Enabling Docker Remote API on Ubuntu 16.04

By | May 18, 2016

I tried to find instructions on how to enable the Docker remote API when running Docker in Ubuntu 16.04, but none of the instructions I came across managed to take me all the way, so here are a few short notes on how I managed to accomplish this: Edit the file /lib/systemd/system/docker.service I used the… Read More »