Replace on JAX-RS implementation