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: / alejandro_du
Step-by-step tutorial: https://vaadin.com/tutorials/calling-...
Source code: https://github.com/vaadin-learning-ce...
Auf dieser Seite können Sie das Online-Video Calling Java from JavaScript mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer vaadinofficial 24 Januar 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 44,189 Mal angesehen und es wurde von 272 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!