Demo of the Java Scripting API.
ScriptEngineQuery displays metadata of available script engines.
ScriptRunner is a simple GUI for running scripts.
BindingsDemo shows how to expose Java objects as global variables in a script.
ScriptInterfaceCast shows how to cast an object defined in a script to a Java class/interface.
See also:
- Scripting for the Java Platform | Java.net
- Invoke dynamic languages dynamically, Part 1: Introducing the Java scripting API
- Invoke dynamic languages dynamically, Part 2: Find, execute, and change scripts at run time
- 5 things you didn't know about ... the Java Scripting API
- Making Scripting Languages JSR-223-Aware | Java.net