Moving a JAX-RS post directly to the JAX-RS page