Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to call from GWT to Google Cloud Endpoint

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.

like image 787
Pablo Castilla Avatar asked Jun 03 '13 19:06

Pablo Castilla


People also ask

How do I use cloud endpoints?

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.

Is cloud endpoints an API gateway?

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.


1 Answers

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

like image 93
Zied Hamdi Avatar answered Oct 18 '22 13:10

Zied Hamdi