JAX-RS attempt