GWT to JavaScript and back again.

I just wanted to highlight one of the most succinct and useful examples imaginable for anyone needing to implement GWT code that is called from a third party JavaScript API.

How can I call one of my GWT Java methods from my application host page?

You can define the JavaScript functions in native JavaScript, necessary to comply with whatever third party JavaScript API you are implementing and then point those functions straight back into your Java code for execution within your GWT application.

A much more detailed blog on this in an upcoming post.

Comments