Extracted JAX-RS API into a plugin