This is a quick and dirty Infinispan + Wildfly Swarm demo
use mvn clean install wildfly-swarm:run.
Put data into the cache:
curl -d "test" http://localhost:8080/rest/infinispan/cache
Get data from cache:
curl http://localhost:8080/rest/infinispan/cache