script engine with no global environment (java)
- by user1886930
I am curious about how global variables are handled by script engines. I am looking for a script engine that does not preserve the state of global variables upon invocation. Are there such engines out there? We are looking for a scripting language we can use under the script engine API for Java.
When making multiple invocations of a script engine,…