jax-rs application example