An Infinispan HotRod Client with simple rest API and demonstrator
Download and start Infinispan server.
Build client application with:
mvn package
Start application in multiple machines with:
java -Dinfinispan.server.host=SERVER_IP -jar infinispan-client.jar
Or start multiple instances in single machine with different port numbers:
java -server.port=REST_API_PORT -Dinfinispan.server.host=SERVER_IP -jar infinispan-client.jar
Open multiple browser windows and go to:
http://IP_ADDRESS:REST_API_PORT/index.html
Subscribe to event endpoint at:
ws://IP_ADDRESS:REST_API_PORT/events
Create and modify some keys in registry and if everything goes well, all clients should get the updates.