This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Maybe one of is advantage is that you can use it right into your java code...but so you can with JRuby, Jython or JHaskell, maybe its easier? Does anyone tests the java Mustang (6.0) release? I wouldd like to install it but the examens are coming and I want to be sure its not to risky
The man who makes no mistakes does not usually make anything<br /> <br />>>> SCJP 5.0 >> SCJD B&S <<< In progress
Speaking from my experience of using Groovy as part of a large Java J2EE project, there were several factors that made Groovy stand out.
The component being targeted by a language other than Java involved alot of complicated math and data set manipulation. Like Ruby, Groovy has really nice language support for manipulating collections of object. Unlike many of the other languages including Ruby,Python and Rexx, Groovy naturally understands Java classes and can be precompiled into Java byte code so deployment is a piece of cake. To the corporate infrastructure folks, it's just another Java jar.
One area that Groovy stood out from ALL of the other languages we looked at (besides Rexx) was the native BigDecimal support. Since accuracy is important in any business application that deals with money, this was a big plus. Using a float or double would not be appropriate for any of the decimal attributes we use. All of the other languages we looked required explicit calls to create BigDecimal objects.
Groovy has many other great features but these were the ones that were significant given the business domain and the need to integrate into a Java environment.