I'm new to rhino and have started implementing it as the scripting
core for a Java Swing application. I'm curious about interaction with
the engine, specifically how I should invoke script execution.
Currently i'm using it to bind menu clicks to JS calls, to provide a
flexible ui. Each click results in a Context.enter() call, execution,
and Context.exit(). Note that I only call initStandardObjects() once -
during application initialization - since this is an expensive call.
But what about Context.enter()? Is it expensive? Or is calling it
frequently inconsequential?
Thanks!
Attila.
On Fri, 02 Mar 2007 04:11:33 -0000, chrislewis <burning...@gmail.com>
wrote:
Attila,
Thanks!