rest server based on restlet