a simple JAX-RS sample