A web stack sample with Java REST API