From: Jyrki Saarinen <jyrki.saarinen@tm...> - 2009-10-07 12:39:40
I'm executing my Jython scripts inside one client-server session. For
each session a new PythonInterpreter instance is created. I also set a
Session object to the Jython context with PythonInterpreter.set(String,
Is there other way of having a "static" (in Java terms, not C terms)
variable that would be shared between all Jython execution contexts? The
data shared between sessions could be stored inside a static HashMap in
Session class, but is there a less expensive way of doing this?