When should I use RequestFactory vs GWT-RPC?

前端 未结 8 1930
星月不相逢
星月不相逢 2020-12-04 06:17

I am trying to figure out if I should migrate my gwt-rpc calls to the new GWT2.1 RequestFactory cals.

Google documentation vaguely mentions that RequestFactory is a

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 06:50

    The only caveat I would put in is that RequestFactory uses the binary data transport (deRPC maybe?) and not the normal GWT-RPC.

    This only matters if you are doing heavy testing with SyncProxy, Jmeter, Fiddler, or any similar tool that can read/evaluate the contents of the HTTP request/response (like GWT-RPC), but would be more challenging with deRPC or RequestFactory.

提交回复
热议问题