Posts

Showing posts from April, 2017

Hazelcast as Windows Service Using Procrun

Hazelcast as Windows Service Check this Github Repo For code https://github.com/aravindrajasekharan/HazelCast-WindowsService.git Hazelcast can follow 2 main deployment typology however if you are following a Server - Client Architecture  and you want to start a server on a windows node, follow the below steps. Am using Apache Procrun to expose the Hazelcast as a windows Service https://commons.apache.org/proper/commons-daemon/procrun.html Follow the link to understand more on the same,It is very easy to setup however documentation is little tedious to get a grasp. PROS ---- Will create a windows service (kind of obvious :) ). CONS ------- Another Jar to maintain along with the Hazelcast. Since we have a dependency in our self executable jar project, on Hazelcast version upgrade means upgrading the jar as well. (Ideally,it will work even without upgrading assuming the Core Hazelcast API is going to remain the same with the future releases). Will look for s...