This sounds obvious on reading, but probably a gotcha to people new to Groovy (like me)
When you create a ScriptEngine in Java6 to run Groovy scripts reuse the engine - don't throw it away and create a new one for every script. The full article is at:
http://www.jroller.com/greeneyed/entry/don_t_throw_your_scriptengines
Are there any words of wisdom about this from people on this list?
Thanks
Martin
--
==================================================================
Martin Paulo, BSc.
Software Developer
Tel : +61-3-9434 2508 (Home)
Tel : 04 205 20339 (Mobile)
Site: http://www.thepaulofamily.net
Web Log: http://radio.weblogs.com/0130781/
"Nobody goes there any more. It's too crowded" - Yogi Berra.