On Tue, Sep 13, 2011 at 9:06 AM, Marcin Wiśnicki <mwisni...@gmail.com>wrote:

> Would it be technically possible to implement hosted mode without
> using browser plugin ?
> I'm thinking about sending messages straight from JavaScript over XHR/
> Comet/WebSocket to embedded Jetty server and interacting with JS
> engine using eval().
> Is there something that would be impossible to implement this way ?
>

The problem is you have to block the executing JS while it makes a
synchronous call to the Java code executing in the code server.  As you
can't allow execution to return to the browser event loop, I don't see how
you could implement that in JS.

-- 
John A. Tamplin
Software Engineer (GWT), Google

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to