On Wed, Jan 28, 2009 at 1:49 AM, Devraj Mukherjee <[email protected]> wrote:
>
> Hi all,
>
> We are developing an application that uses Google AppEngine for its
> backend / REST provider and using GWT to developing the JavaScript /
> UI. Is there are way we can proxy the REST URL (obviously running on a
> different port number on Google AppEngine development server) to the
> GWT application.

If I understand correctly, you are facing the Same Origin Policy
restriction of the browser.
One way to overcome this is indeed using an HTTP proxy. Apache is an
obvious choice with extensive documentation and tons of HOWTOs all
over the web.
There is another option however, especially as you seem to be in
control of the server side:
Using a technique called "JSON with padding", your client side GWT
application can access third party services directly using tricks with
iframes and <script> tags. "Mashup" is a good search term for related
information.


Gabor Szokoli

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

Reply via email to