Writing skeleton for Jax-rs web services