Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

integrating javascript libraries

manish patel
8 years ago Jul 31, 2014 10:55am
Matti Tahvonen
8 years ago Aug 04, 2014 8:48am

Hi,

The best method depends totally on what exactly you are about to do. In some cases just including the script on host page and using "getPage().getJavaScript().execute("foo()");" from server side might do the thing, but quite often you want to create "components" and have proper server side Java API for the javascript stuff. GWT wrappers are then the most powerfull tools, but your might then also do with "javascript component wrappers" as well.

cheers,
matti

manish patel
8 years ago Aug 04, 2014 8:54am