eclipse 怎样添加 restful webservice 模块,,
参考:http://www.cnblogs.com/luangeng/p/6607485.html
restful更多的是URL的语义化,
get方法参数名和值使用“/”分隔,
通常返回JSON数据,
而不是像传统的webservice返回XML格式数据。
参考:http://wangrl.iteye.com/blog/745788
使用的框架及版本的不同,实现的方式也不同。
再看这个:http://blog.csdn.net/wangmeng951011/article/details/60865686
只需要一个注解:@RestController