Spring REST based example