Java Shots 7 : Groovy, Gradle and Eclipse Juno Releases, Functional Programming and OOP Compared

Jul 03, 2012

June 15 - July 3, 2012

by Brian Kotek

Groovy 2.0 Released

The Groovy team just announced the release of the final version of Groovy 2.0. Some of the most significant improvements are:

  • Static type checking and static compilation, which offer better compile-time error checking and improved performance
  • Modularization of the core elements of the language. This allows you to use only the features you wish and to leave out those you don't need.
  • Initial support for Java 7's "invoke dynamic" instruction. As the Java SDK improves this area, Groovy will reap the benefits.

InfoQ has an article with full details.

Gradle 1.0

Gradle 1.0 was also just released, which finally moves this amazing build tool out of release candidate testing. Some lingering issues were resolved, but the final 1.0 is very similar to the 1.0-RC3 version. This means that folks already using Gradle shouldn't have to do much in order to upgrade. While many Groovy and Grails developers were already using Gradle, this is still an important release. A significant number of businesses shy away from pre-release software, so the final 1.0 designation will definitely accelerate adoption.

Eclipse Juno (4.2)

The Eclipse team released Juno (version 4.2) of their popular platform and IDE. They improved the look and feel of the interface, with better layout customizations, universal search, and the ability to style IDE widgets with CSS. The Code Recommenders project provides smarter code completion for large APIs. You can also build MacOS native applications with the Eclipse SDK. The updates span the entire umbrella of Eclipse projects, so check out the release announcement for full details on everything that's been changed.

Functional Programming and OOP Compared

The JMolly blog put up an entry that compares and contrasts functional programming (FP) and object-oriented programming (OOP). I found this quite interesting, since I'm quite fond of OOP but don't know all that much about FP. I assume most developers are also familiar with OOP to some degree, so that side of the comparison might not be very illuminating. However, I'd recommend this to anyone who isn't familiar with FP and is looking for a good overview. Seeing FP explained in relation to OOP helped me make sense of the topic.


If you do any work with Groovy, you're probably well-acquainted with the Groovy API documentation. It's a useful resource, but it's far from perfect. Enter GroovyHelp, an application that provides a much more usable way to access the documentation. You get improved text search, a tree interface for the packages and resources, example code, and built-in version comparisons (to see what changed between Groovy releases). Best of all, the installation of this free tool is smooth and painless (no JDK configuration or other nonsense).

Brian Kotek is an Associate at Booz Allen Hamilton. He's been developing applications for over 14 years, using ColdFusion, Flex, Java, Groovy, C#, and other technologies for a range of government and commercial clients.

Marla's Gravatar It's truly a nice and helpful piece of information. I am satisfied that you just shared this useful info with us. Please keep us up to date like this. Thank you for sharing.
# Posted By Marla | 02-Nov-13 01:12 PM
Deborah's Gravatar Just wish to say your article is as astounding. The clarity to your post is simply great and that i can think you're an expert on this subject. Fine with your permission allow me to seize your feed to stay updated with coming near near post. Thanks one million and please carry on the enjoyable work.
# Posted By Deborah | 11-Dec-13 11:39 AM
Gabrielle's Gravatar Hello would you mind stating which blog platform you're working with? I'm looking to start my own blog in the near future but I'm having a tough time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I'm looking for something unique. P.S Apologies for getting off-topic but I had to ask!
# Posted By Gabrielle | 15-Dec-13 07:30 PM
Add a Comment
(If you subscribe, any new posts to this thread will be sent to your email address.)
Privacy | FAQ | Site Map | About | Guidelines | Contact | Advertising | What is ColdFusion?
House of Fusion | ColdFusion Jobs | Blog of Fusion | AHP Hosting