JAX-RS tries