add jax-rs implementation