I'm not sure what you mean when you say "any object/data" but yes, when you use cross site GWT, you will inject <script> tags into your host document that point to machine B. The returned values should be JSON values at a predetermined callback.
-- John On Nov 8, 11:01 pm, "[email protected]" <[email protected]> wrote: > Hi, > > I host my application on a Tomcat on machine A. Machine B has the > database and a server running which gives me the actual data.So A > requests B for everything. > > Currently: > From client(browser), I route the requests to Machine A. A then routes > to B. B returns data back to A and A then to the client. > > From the browser, I want to directly talk to the APIs on machine B > without going through A. I have read GWT cross site example > --http://code.google.com/webtoolkit/tutorials/1.6/Xsite.html#request. > I am also pretty new to GWT. Does the cross site example work only > with JSON or with any object/data? > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
