Updated to use JAX-RS and Jersey version 2.10.