scripting - Is it possible to call on a Java-method from JavaScript in Java6 1.6 script-engine? -
I want to call my Java-method from a Javascript file via ScriptEngineManager provided in Java 1.6. Is this possible?
Yes:
There are several ways to do this Java code in global context Push the context of objects, which will look like, like the DOM object looks like a browser JavaScript and JavaScript can install Java objects and reference them.
Comments
Post a Comment