RESTful implementation with Spring Framework