Java Rest Webservices Sample