Wednesday, January 17, 2018

Re: external javascript library

Yes, you can define Java APIs in GWT that directly call external JavaScript. GWT itself uses the same technique to emulate JRE classes and map them to JavaScript if possible (e.g. java.util.Date is mostly mapped to JavaScript Date).

In older GWT versions (below 2.8.x) the technique is called JSNI

but it's use is discouraged because future versions of GWT will not support it anymore. The replacement is called JsInterop and you can get an in-depth overview at

-- J.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment