enabling Restful web services, registering the rest servlet in web.xml descriptor