adam bien's blog

JCache / JSR-107 RESTification--Project Headlands v0.0.1 📎

Project Headlands is a Java EE 7 / Java 8 WAR which exposes the JCache API via JAX-RS (REST). See sample API scenario. Headlands was tested on WildFly and GlassFish.

Headlands uses hazelcast.org as default JCache SPI. The Reference Implementation could be used as well.

Because out-of-the-box Headlands ships with hazelast, by deploying WARs on multiple servers you get a distributed cache / in-memory grid "for free".

Headlands is already used in production. We will also discuss headlands together with docker as one of the samples at the upcoming Airhacks: Java EE Microservices.