Groovy - Dynamic Language for Java Platform

Well i know its been a long time since i posted somethin, and yes shame on me :p

I came across somethin today which is pretty amazing for what it can do for you, Its like a small scripting engine for java or you may just call it a seperate language of its own. The best part is the amount of code you would write in groovy compared to java to perform the same task. For most part groovy sounds more like "Ruby for Java". For a quick start install the groovy eclipse plugin from http://groovy.codehaus.org/Eclipse+Plugin. Groovy scripts are compiled to Java Class files and they are nothing different than normal class file. So in your application you could write some portions in Groovy and some in Java, since compiled Groovy class files can be used in Java and Java classes can be used in Groovy without doin anything extra. You will know what I am talkin about once you start coding in it, so stop wasting time and get to work!

Resources:

http://groovy.codehaus.org/
http://www-128.ibm.com/developerworks/java/library/j-pg09196.html 

No comments yet. Be the first.

Leave a reply