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.
Thomas,
Thanks for the info...gwtjsonrpc looks especially interesting.
However these solutions seem to be at the RPC level...e.g. to allow
cross site RPC calls. What about the GWT UI? How does the GWT UI get
mashed with the host site? Seems like the GWT war would have to be
split with its client code still hosted by the main hosting site?
Maybe I'm missing something here? Can someone elaborate how this type
of thing would get deployed? The goal is to keep all of the GWT war
remote...as much as possible.
What about CORS...does that help?