script
-
Get script engine by name
With this example we are going to demonstrate how to get the ScriptEngine by name. The ScriptEngine interface is the…
Read More » -
Get script engine’s details
In this example we shall show you how to get the ScriptEngine‘s details. The ScriptEngine interface provides methods for basic…
Read More » -
Evaluate a simple script
This is an example of how to evaluate a simple script in Java. We are using the ScriptEngine interface, that provides…
Read More » -
Modify Java object in script
With this example we are going to demonstrate how to modify a Java object in script. In short, to modify…
Read More » -
Import package in script
In this example we shall show you how to import a package in script. We are using the ScriptEngine interface, that…
Read More » -
Evaluate a script file
With this example we are going to demonstrate how to evaluate a simple script file in Java. We are using…
Read More » -
Invoke specific script function
This is an example of how to invoke a specific script function. We are using the ScriptEngine interface that provides methods…
Read More » -
Access Java Object from a script
In this example we shall show you how to access a Java Object from a script. We are using the…
Read More »