Activiti is an open source workflow and BPM platform built in Java. In has a BPMN engine which allows you to create business flows in diagrams and execute them as part of your application. Activiti integrates really well with the Spring Framework. Combining it with Spring Boot allows you to build micro business process applications really quickly.
Vert.x is my favorite JVM framework of recent years. And since I discovered Kotlin, it’s becoming my favorite JVM language. So you can probably guess how happy I was when I discovered the kotlin language bindings for Vert.x! Because of the nice syntactic sugar, Kotlin makes Vert.x code a lot more readable.
You want to start using the hot new JVM language Kotlin today, but you are knee-deep in a Java project and you cannot switch languages. Why not start using Kotlin for writing unit tests? Kotlin is Java compatible and can be used together with Java in the same project. Let’s have a look at how to accomplish this.
This month, the 1.0 version of the new JVM language “Kotlin” was released. Kotlin is 100% compatible with Java and can be used along side it. It is an object oriented language with functional properties. There are plenty of quick starts available, but what are the killer features that would make you choose it over the trusty old Java?
In this example we will build two MQTT clients in Java, one publishing messages and one consuming messages. We will make use of the public broker MQTT Dashboard.