JSR 223 – scripting for the JavaTM platform

JSR 223 defines the API for embedding scripts from dynamic languages into Java.

The important interfaces are ScriptEngineManager, ScriptEngine, and Bindings.

ScriptEngineManager allows you to create instances of ScriptEngine. You can bind parameters to pass to ScriptEngines using Bindings.

Oracle JVM includes JavaScript engines from Java 6. From Java 8, the JavaScript engine that's included is Nashorn.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset