posted 16 years ago
Rama, You can access Java API from JRuby as well. However, Groovy enhances that API through GDK. So in Groovy you can use the Java API using what's already provided in the JDK or much more elegantly using the GDK extensions as well. Also, Groovy objects derive from the good old java.lang.Object as well. It is easier to intermix Groovy created objects and Java created objects. That is why I say that if integration with Java is your primary interest, Groovy is a better choice. If you want to use more of Ruby libraries and Ruby syntax on the JVM, and take advantage of the performance JVM will bring, then JRuby is a better choice.