0

我正在寻找一种将自定义类从 ActionBean 响应发送到 GWT 客户端的简单方法。

有人可以通过一个简单而具体的例子来帮助我如何做到这一点。

提前致谢

4

1 回答 1

0

You should probably use RequestFactory as it does not require that the bean be serializable as the GWT RPC service does. You would create a value proxy on the client side and make sure it maps getters/setters that you need.

https://developers.google.com/web-toolkit/doc/latest/DevGuideRequestFactory

于 2012-09-10T19:18:59.190 回答