In the JDK 6's script supporting API, I can bind beans into a specific ScriptContext, then evaluate the script code insed that context. By doing this, I can bind different bean objects for different scripts using the same name. Can I do the similar thing using BSF?
"Rony G. Flatscher" <Rony.Flatscher@wu-w...> wrote: Hi Linda,
> Before I try any pooling approach. I did some test on my current code.
> When I just new 2 BSFManager in my project, my whole project takes about 60M memory. When I start 200 BSFManager instance, I am useing 170M memory; for 100 BSFManager, it took 120M memory. ....
very interesting (half a megabyte per BSFManager instance)! How large
are these scripts/the Java objects to interact with? (Just curious.)