Execute Java code on Client Side


I have created a Server Side Vaadin application. But I have now the requirement to execute Java code on the client side.

Is this possible with Vaadin?

Thanks for any help!

Literaly speaking that is not possible. Browsers do execute JavaScript. Vaadin versions 6,7, and 8 however support creating client side components using GWT. This allows you to write the client side code as Java. GWT includes Java to JavaScript compiler, that creates so called widgetset out of your Java code.

See more here: https://vaadin.com/docs/v8/framework/clientside/clientside-overview.html