Experiment using RESTful services in java