Added java template

Added java template, using jersey-client, a standard JAX-RS client implementation.
for example: `get` is not valid we need `get();` here?