For JSON-P, have a look at the JsonpRequestBuilder: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/jsonp/client/JsonpRequestBuilder.html
There's also http://code.google.com/p/gerrit/source/browse/?repo=gwtjsonrpc which does JSON-RPC with support for cross-site requests; it has the advantage of using a similar API to GWT-RPC and provide server-side foundations. On Saturday, March 3, 2012 5:32:43 PM UTC+1, dhoffer wrote: > > I read at http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html > a discussion about this. > > I like the second option of dynamically loading javascript in a script > tag. However its not clear to me if I can do what I want. That > discussion is for the stock watcher application which I don't know > anything about...but it seems like they are just getting the JSON > response? I want to host both the UI and server code on a remote > server, seems like I should be able to use this approach to download > all of the UI code...but then can the downloaded UI code make RPC > calls to the remote server? I wish GWT would have discussed if this > approach can be used for any GWT app. > > On Sat, Mar 3, 2012 at 8:02 AM, dhoffer <[email protected]> wrote: > > I have a case where I'd like to use GWT to create a small part of an > > existing HTML page/app, however that server doesn't have a J2EE server > > to host the GWT app. How can I host the GWT app on a different > > server? I.e. I have full control over changing the HTML page to do > > whatever..how can I modify this to load GWT bootstrap file that is on > > a different server? > > -- 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/-/C_4ClPJFHO8J. 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.
