Prepare Application to RESTfull service