I am using a JavaFx Scene to display my Web Application. For creating the web application, I have used GWT.
I know that JavaFx supports JS-Scene communication, but I don’t know what to do so the GWT compiler will create code that can interact with the scene.
Is there some kind of interface technology that can solve my problem?
There is a bridge between a Java Applet running in the browser and the browser’s JavaScript engine. The so called LiveConnect specification describes how JavaScript code communicates with Java code.
Check out the Java Tutorials Invoking Applet Methods From JavaScript Code and Invoking JavaScript Code From an Applet.
There is also the GWT third party library GwtAI you might want to have a look at.