> I'd be interested in seeing what you've done on the server side to pass the 
> cross-domain requests to the server-side RPC implementations. My current 
> approach is more hacky and invasive than I'd like and isn't flexible enough 
> to add in other transports in the future. I'm hoping that there's a more 
> general technique that could sit between the request and the servlet to 
> accomplish the same thing, in a cleaner way, possibly leading up to a more 
> pluggable server-side RPC.

The scheme i described doesn't need to know anything about RPC or the
server side in general. All it needs is a proxy script on the server
domain. In GWT context it's a new RequestBuilder which passes the
request params to a proxy script, which builds the XHR, executes it
and sends back the results.

-- 
Best Regards
Piotr Jaroszyński
-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to