switch to JAX-RS 2