Run & Build ActiveMQ Docker Image

Run & Build ActiveMQ Docker Image

Recently, I needed to work with ActiveMQ. As a docker fan, I couldn’t find the latest version (5.17.2) docker image available. Thus, I decided to build one. It turned out that building a docker image for ActiveMQ is quite simple. For example, here is the Dockerfile for ActiveMQ version 5.17.2 on JRE 19, alpine: Build … Read more

How To add Timestamp in DAML contract

Overview By default, there isn’t a timestamp field in DAML contract. If you observe the return of a fetch query, there isn’t a field represents timestamp. This article will help you create timestamp for your contract so you can have field like this: The getTime function DAML has a convenient function called getTime that returns … Read more

Java equals and hashCode Tutorial

Java equals and hashCode Tutorial

Overview This tutorial shows you what equals and hashCode are and how to properly override them. If you have written in Java long enough, you will learn that using the equals method instead of == is the right way to assert equality. This is because the == operator compares the two objects’ memory addresses. The … Read more