Example of a REST service implemented in spring and jersey2