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.
Is there any possibility of generating a gwt java client? Do we have to use the javascript one?
Which is the best approach?
Thanks in advance.
To use Endpoints to manage an API, you deploy the API's OpenAPI configuration file to Service Management. Endpoints uses the host field in the OpenAPI configuration file to identify the service. The deploy_api.sh script sets the ID of your Google Cloud project as part of the name configured in the host field.
Cloud Endpoints is an API management system that helps you secure, monitor, analyze, and set quotas on your APIs. Endpoints uses the Extensible Service Proxy (ESP) or Extensible Service Proxy V2 Beta (ESPv2 Beta) to host your APIs.
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
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
Best Regards, Zied
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With