Playaround with restful using java