The scripting API consists of interfaces and classes that define
Java Scripting Engines and provides
a framework for their use in Java applications.
-
Compiles the script (source read from Reader
) for
later execution.
Compiles the script (source represented as a String
) for
later execution.