Unfortunately, with Gears (or WebWorkers) you can't call any code from the
main page, Java or JavaScript.  The current implementation of gwt-gears
doesn't have a way to generate javascript compatible with Gears, but the
SpeedTracer project does have a linker so that you can create a module that
can compile a GWT module for  HTML  web workers.
http://code.google.com/p/speedtracer

On Thu, Feb 11, 2010 at 9:57 PM, ruchir jha <[email protected]> wrote:

> I am using the GWT Gears WorkerPool API. I am trying to figure out if there
> is a way to call methods implemented in Java from the worker's java script
> implementation ?
>
> I am not sure if this is a duplicate post. If it is, apologies and please
> delete it.
>
> Ruchir.
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA
Sign up now for Google I/O 2010: May 19-20, http://code.google.com/io

-- 
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.

Reply via email to