Showing off straightaway
Within the Hazelcast JAR file, there is a very useful
ConsoleApp utility class (this class was previously known as
TestApp, but the name was a little deceptive as it can be used for operations beyond just testing). It is great in that it provides a simple text console for easy access to the distributed collections.
To fire this up, we need to run this class using the Hazelcast JAR file as the classpath. Alternatively, we can also use the console scripts that were provided in the
$ java -cp hazelcast-3.5.jar com.hazelcast.console.ConsoleApp
This should bring up a fair amount of verbose logging, but a reassuring section to look for so that we can see that a cluster has been formed, is the following output: ...