java project for RESTful webservice