add restful service and spring