Sample of RESTful-Jersey-JSON webapp for processing different requests.