I have configured Hazelcast in my application and deployed it in glassfish, and tested it with ome simple methods in a REST service.
Now I want to install it in my servers as a Linux Service, to start running when the servers start, and I want to my glassfish application to be able to recognize this service and read or set variables in my map, using distributed lock.
How can I achieve this?