Jax rs 2 demo code