We are developing a GWT web that also will be deployed as a phonegap app. Because of that we would like to use the google cloud endpoint from the GWT code to communicate to the server.
我们正在开发一个GWT网站,该网络也将被部署为phonegap应用程序。因此,我们希望使用GWT代码中的Google云端点与服务器进行通信。
Is there any possibility of generating a gwt java client? Do we have to use the javascript one?
是否有可能生成gwt java客户端?我们必须使用javascript吗?
Which is the best approach?
哪种方法最好?
Thanks in advance.
提前致谢。
1 个解决方案
#1
1
Here's a blog post on how you can do RPC calls with phoneGap http://blog.daniel-kurka.de/2012/04/gwt-rpc-with-phonegap-revisited.html
这是一篇关于如何使用phoneGap进行RPC调用的博客文章http://blog.daniel-kurka.de/2012/04/gwt-rpc-with-phonegap-revisited.html
If you're using RequestFactory, here's also the solution from the same author http://blog.daniel-kurka.de/2012/04/gwt-requestfactory-and-phonegap.html
如果你正在使用RequestFactory,这里也是同一作者的解决方案http://blog.daniel-kurka.de/2012/04/gwt-requestfactory-and-phonegap.html
Best Regards, Zied
最诚挚的问候,Zied
#1
1
Here's a blog post on how you can do RPC calls with phoneGap http://blog.daniel-kurka.de/2012/04/gwt-rpc-with-phonegap-revisited.html
这是一篇关于如何使用phoneGap进行RPC调用的博客文章http://blog.daniel-kurka.de/2012/04/gwt-rpc-with-phonegap-revisited.html
If you're using RequestFactory, here's also the solution from the same author http://blog.daniel-kurka.de/2012/04/gwt-requestfactory-and-phonegap.html
如果你正在使用RequestFactory,这里也是同一作者的解决方案http://blog.daniel-kurka.de/2012/04/gwt-requestfactory-and-phonegap.html
Best Regards, Zied
最诚挚的问候,Zied