Invoke a GWT RPC service from Java directly

前端 未结 3 1815
离开以前
离开以前 2020-12-30 11:01

Is there an easy way to invoke a GWT RPC service endpoint directly from Java code? I mean real Java code, not Java code compiled down into javascript.

I ask because

3条回答
  •  囚心锁ツ
    2020-12-30 11:49

    GWT SyncProxy allows you to access GWT RPC services (e.g methods) from pure Java (not JSNI) code. Thus you can use it to test your RPC interface.

    See http://www.gdevelop.com/w/blog/2010/01/10/testing-gwt-rpc-services/ for details.

提交回复
热议问题