java webservices - REST