Jersey and Spring Boot Standalone JAR Files

By | December 6, 2016

Now ladies and gentlemen! It is time for a debugging break in the series of articles about the REST service! Actually, this article is related to the REST service – it will describe a problem with the classpath-scanning of Jersey that manifest itself in standalone Spring Boot applications with a so-called fat JAR. I will also… 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 »

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 »