setup for jax-rs