add Spring RESTful support.