At the IOD conference last October, I ran into Rafael Coss (IBM, Data Studio) and Vladimir Bacvanski (InferData) in the expo center. Both started raving about a language named Groovy. That got my attention.
To learn more about Groovy, they suggested the book:
Groovy in Action
Miraculously, Santa brought me that book for Christmas :-)
Groovy is a relatively new scripting language that is part of the Java family: Groovy scripts are converted into Java byte code. This makes it 100% compatible with Java. It is the equivalent of using an additional jar file as part of a Java program.
The implication is that we can use the Informix JDBC driver or the IBM Data Server JCC driver to access IDS from Groovy.
Why a new scripting language? Java is a powerful language but some constructs are difficult to build. By providing a compatible scripting language, Java can now easily go over these hurdles, making it compatible with other scripting language. More notably Ruby with the Rails framework. Groovy also has a companion framework called Grails: Groovy Rails.
Groovy may have a slight advantage because it can be compiled into byte code. This should make it faster than scripting languages.
More on Groovy next time.[Read More]