An example of a RESTful API implemented with JAX-RS