Samples of RESTful with Java