Search the web
Sign In
New User? Sign Up
groovy-melbourne · The Melbourne GROOVY / GRAILS user group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
"Dont throw your scripting engines away"   Message List  
Reply | Forward Message #22 of 39 |
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.

Wed Apr 16, 2008 11:19 am

martinpaulo10
Offline Offline
Send Email Send Email

Forward
Message #22 of 39 |
Expand Messages Author Sort by Date

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...
Martin Paulo
martinpaulo10
Offline Send Email
Apr 16, 2008
11:19 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help