To implement the use case, the following tools must be setup:
- Hazelcast: We have discussed the setup of Hazelcast in previous chapters using java code and running it in eclipse. Here, we will discuss running Hazelcast using scripts. First download the setup of Hazelcast from: https://download.hazelcast.com/download.jsp?version=hazelcast-3.8&type=tar&p=
This will download the 3.8 version of Hazelcast. Extract it and you will get the following folders and files shown in the following screenshot:
Make changes in hazelcast.xml
to enable Hazelcast UI that is mancenter
as:
<management-center enabled="true"> http://localhost:8080/mancenter</management-center >
Now, execute the following script to start Hazelcast:
/bin/start.sh
This will start Hazelcast on the localhost and bind to port 5701. If we want to create a cluster for Hazelcast then copy the Hazelcast setup directory to a different location and execute the start.sh script again. It will...