REST services using JAX RS