Calling Java from JavaScript
Описание
Alejandro Duarte explains how to call JavaScript from java and Java from JavaScript using the Vaadin framework.
0:00 Intro
1:32 Calling JavaScript from Java
8:15 Calling Java from JavaScript
11:18 More about Vaadin
Typically, applications make server-side Java methods available to the client side by exposing them as end-points in a REST web service. Although this is a perfectly valid approach, this video shows an alternative way to call Java methods on the server without having to implement web services.
All you need to follow this tutorial is a basic understanding of the Java Programming Language, the fundamentals of JavaScript, JDK 8 or later, and a Java IDE.
Links:
- Follow Alejandro on Twitter: https://twitter.com/alejandro_du
- Step-by-step tutorial: https://vaadin.com/tutorials/calling-java-from-javascript
- Source code: https://github.com/vaadin-learning-center/calling-java-from-javascript
Рекомендуемые видео



















