Hi,
I'm working on a js server with rhino and glassfishv3.
For improve performance, I would like execute and load all my script
into the server deployment and just launch few functions and events in
the user request time. So the challenge is, i want init my
Scriptable :
Global global = new Global();
Context cx = ContextFactory.getGlobal().enterContext();
global.init(cx);
Scriptable myscriptable = cx.initStandardObjects(global);
Have some work :
myscriptable.evaluateString([...]);
and
Scriptable myClone = myscriptable.clone();
myClone.evaluateString([...]);
but myScriptable never change.
Is it possible ?
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino