There is also (just to complicate things further) JRuby
http://jruby.codehaus.org/
Which has just got a compiler as well, so Ruby can be compiled to JVM bytecode
Personally, I currently use Groovy
Main Topics
Browse All TopicsI'm relatively new to using BeanShell, which I found was invaluable for writing quick'n'dirty scripts for a Lucene project. Groovy in scripting mode looks on the surface to be a replacement for BeanShell, but it compiles to byte code, which I guess means that it ought to be possible to make quick'n'dirty scripts a lot quicker because they do less work with Java reflection.
Is there a case for continuing with BeanShell or is Groovy simply "better"?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
There is also (just to complicate things further) JRuby
http://jruby.codehaus.org/
Which has just got a compiler as well, so Ruby can be compiled to JVM bytecode
Personally, I currently use Groovy
From mayankeagle's first link:
> BeanShell the scripting language for Java and Groovy the dynamic, agile language for the JVM.
Concisely put and now I understand. It is funny that the definition caused so much upset in the comments at the bottom of the article.
From mayankeagle's second link:
> It's powerful. The ability to apply closures (unnamed blocks of code) to whole collections using commnads like Collection.each, Table.eachRow, and File.eachLine let you get a lot done in a few lines of code.
That *is* an attractive feature. I'm a big fan of inlining code to localise it so you don't have to keep flipping between modules. However, this mostly puts the spotlight on Sun's lack of foresight to provide support for closures in native Java... all eyes on Dolphin.
I'm interested to hear that TimYates is a Groovy user. I'll be lurking in this TA, hoping to get a sense of what it is like as a user, but only really out of idle curiosity. I think I'll be hanging in with BeanShell for my purposes, because my projects aren't naturally agile... and nor am I :-)
Thanks to both of you!
Business Accounts
Answer for Membership
by: mayankeaglePosted on 2007-02-15 at 09:35:29ID: 18542145
There are comparisions done here:
ot.com/200 6/03/groov y-beanshel l- dynamic- vs-scripti ng.html
ogs/viewpo st.jsp?thr ead=117184
http://graemerocher.blogsp
http://www.artima.com/webl