我正在读一本关于GWT(Google Web Toolkit)的书,作者引用了RPC 1.O和deRPC之间的差异。RPC 1.0 vs deRPC GWT-RPC
在我professionnal项目,为RPC调用,我们使用的是:
com.google.gwt.user.client.rpc.RemoteService com.google.gwt.user.server.rpc.RemoteServiceServlet
在书中,所述authour precognizes的用途:
com.google.gwt.user.client.rpc.RemoteService.RpcService(其延伸RemoteService) com.google.gwt.rpc.server.RpcServlet(其扩展AbstractRemoteServiceServlet)
但是,RpcService和RpcServlet都标记为javadoc:
“实验并可能随时更改。 ?不要在生产代码中使用此”
所以,基本上,就有人使用RpcService和RpcServlet,并且它们之间有什么区别
见StackOverflow上这个链接查看更多细节:When should I use RequestFactory vs GWT-RPC?
好,我没有看到这个RequestFactory功能。看起来不错! – 2012-04-11 11:41:09