REST# Java - 爪哇娇娃
b*y
1 楼
现在项目里面用REST. 看了rest web service那本书,里面对比REST和SOAP,
把REST吹得天花乱坠。老夫不觉得有那么神。关键是这个REST基于get/put/post
/delete什么的,我不觉得所有的operation都可以轻易归于这4类。
最主要的就是search (by multiple parameters),其实REST的实现就是hack
这get。而search还有一些fancy的模糊search啦,case-insensitive啦,
between date啦,还有sort order. REST好像不是那么万能啊。
把REST吹得天花乱坠。老夫不觉得有那么神。关键是这个REST基于get/put/post
/delete什么的,我不觉得所有的operation都可以轻易归于这4类。
最主要的就是search (by multiple parameters),其实REST的实现就是hack
这get。而search还有一些fancy的模糊search啦,case-insensitive啦,
between date啦,还有sort order. REST好像不是那么万能啊。