Hi Tony,
Yes, I think your setup should work. ScriptEngine.ENGINE_SCOPE is
equivalent to the JavaScript global object, while GLOBAL_SCOPE can be
used to provide default values that are shared between JS globals.
Hannes
Am 2015-04-06 um 15:56 schrieb Tony Zakula:
Hello,
We are running scri
Hello,
We are running scripts server side and using the multi-threaded example
running the same ScriptEngine across multiple threads as per the recent
blog posts and examples here:
https://blogs.oracle.com/nashorn/entry/improving_nashorn_startup_time_using
If I understand the notes below correct