File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Groovy and the fly likes Best Features? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Best Features?" Watch "Best Features?" New topic

Best Features?

Aaron Porter

Joined: Feb 26, 2007
Posts: 13
I've been programming in Java since '96 and I've taken a look at a lot of different languages. None of them has kept my attention because generally I haven't seen much benefit over using Java.

I've heard several programmers whom I respect praising Groovy. I know that it reduces the amount of code required for common functions such as reading a file which in turn reduces errors. What features should I look at to get me hooked? I mostly do web development if that makes any difference.
Dierk König
Ranch Hand

Joined: Nov 01, 2006
Posts: 43
If you do web development, check out
It makes developing a Java Enterprise app bases on Spring and Hibernate a real pleasure to work with.

Aaron Porter

Joined: Feb 26, 2007
Posts: 13
I looked at Grails briefly a few years back but it wasn't what I was looking for. I'm currently a huge fan of Stripes and there are quite a few Stripers who like Groovy including Tim Fennell, creator of Stripes. There has been discussion about making it easier to use Groovy with Stripes.

I'm very comfortable with Java and really enjoy my work. What I'm wondering is if there is any reason for me to try Groovy. What features of Groovy would convince me that it's worth learning?
Pedro Fracarolli

Joined: Sep 03, 2008
Posts: 20
In my opinion, The main reason that makes one interested in languages like Groovy is the actual discussions that've been happening due to the rise of dynamic languages. If you want to get used with concepts like dynamic datatypes or closures within the Java world, Groovy may be one of the best options.
Java is a great language, but Groovy seems to be better suited for quick result tasks, although I'm not very experienced with it.
I agree. Here's the link:
subject: Best Features?
It's not a secret anymore!