Monday, October 1, 2012

Re: GWT + GAE separate DB connection question

The response is yes, you can connect your gwt client app to different servers via ajax, but you have to be aware about the same-origin constrain.
Said that, firstly you have to set the url of your client request to the appropriate server for each request, and secondly you have to configure your server to accept cross domain requests (CORS).

Another option is to use a server as a proxy of the other one.

- Manolo


On Sun, Sep 30, 2012 at 7:54 PM, jmbz84 <jmbz84@gmail.com> wrote:
Hello,

I am developing a project and I am using GWT and  Google App Engine to store data in the cloud. What I need is to connect to a web based Mysql (or any Relational Database) obtain some data and then upload it to GAE, is it possible to connect to 2 different DataSources within the same app? Ej: GWT+GAE+Mysql

The other option is to connect GWT with two separate GAE apps , I need the Datasources to be in separate places, is it possible?

I'm using Eclipse to develop this

Thank You

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tSZCTTiPM9UJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment