Created Jersey middleware to allow routing requests to JAX-RS annotated resources.