“Groovy is widely used in the industry as the 1.7 million downloads a year can attest, but there's been an interesting surge in popularity recently,” Laforge told eWEEK. “In particular, as could be seen at SpringOne 2GX in September, Groovy was nicely featured in the Pivotal's Spring.IO platform for example in the upcoming Spring Framework 4.0 version, in Spring Boot, or Reactor and other projects. There's a lot of buzz around the Groovy ecosystem: with the Grails web framework ongoing growth, or the Gradle build automation system that is being used by Google for the building Android application.
There are different use cases for applying Groovy in your projects.
Groovy often gets introduced into companies and projects because of its rich testing tools it offers and how readable tests can become thanks to them, Laforge said. An example of this is the Spock testing framework. Other shops adopt Gradle for building complex applications where competing tools like Ant or Maven show weaknesses, he said. Moreover, Groovy is also often used for "scripting" or customizing applications through extension points featuring Groovy scripts.
In addition, the Internet of Things world is using Groovy for scripting home automation, for interacting with the various nodes of the mesh network, Laforge said. SmartThings and Carriots are integrating Groovy for that purpose.
Developers also can customize the Jenkins continuous integration platform with Groovy, or interact with the ElasticSearch search engine with a Groovy API, etc.
Laforge said some of the major uses of Groovy include:
· Google has moved the Android application build over to Gradle which uses Groovy as the build language, so all Android developers will soon be using Groovy for building their Android applications
· LinkedIn developed Glu -- their open source deployment and monitoring platform -- in Groovy, but they are also using Grails web applications for recruiters using the LinkedIn platform and profile database
· Various financial institutions like JPMorgan, MasterCard, Credit Suisse, Fanny Mae, Mutual of Omaha are using Groovy
· The European Patent Office is using Groovy for collecting patents from all over the world.
Asked what he and his team are doing with Groovy these days, Laforge replied: “These days, we are ironing out the latest details of the Groovy 2.2 final release. We are also working on future versions of Groovy at the same time, and investigating and experimenting with other areas where Groovy could offer some nice productivity boosts for developers. Think simplifying Android development, big data manipulation and analyses, etc.”