creating jax-rs sample...