GWT 平台代理
我对 GWT 完全陌生,我正在使用 GWT-Platform (http://code.google.com/p/gwt-platform/)。
我的 GWT 客户端将与使用 Restlet 实现的 API 进行通信。 Restlet 通过代理附带 GWT 序列化。
在 GWT-P 中,演示者中还有一个代理接口,但这是否会被 Restlet 代理取代,或者它们是完全独立的东西?
I am totally new to GWT and I am using GWT-Platform (http://code.google.com/p/gwt-platform/).
My GWT client will communicate with an API which is implemented using Restlet. Restlet comes with the GWT serialization through Proxies.
In GWT-P you also have a proxy interface in the presenter but would this be replaced by the Restlet proxy or are they completely seperate things?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
GWT-P框架的代理与客户端服务器通信无关。它们的唯一目的是监听指示需要创建其关联的演示者和视图的事件。正如 GWT-P 网站上所写:
我假设您所指的 Restlet 代理处理客户端和服务器之间的通信。
所以不,它们不能替代 GWT-P 代理。
The proxies of the GWT-P framework have nothing to do with the client server communication. Their solely purpose is to listen for events that indicate that their associated presenter and view need to be created. As written on the GWT-P site:
I assume that the Restlet proxies you're referring to deal with the communication between client and server.
So no, they're not a replacement for the GWT-P proxies.