- Java Magazine New Edition
- How to Contribute to the Java Platform
- Perspectives on Docker
- Devoxx France 2015 Explores The Future of Technology
- Devoxx France and 20 years of Java
- Devoxx France 2015
- Java Day Tokyo 2015
- Updates to the Java Troubleshooting Guide
- JavaLand4Kids Celebrates A Successful Premiere!
- New Java Champion: Aslak Knutsen
Friday Sep 13, 2013
Monday Jul 16, 2012
By Janice J. Heiss on Jul 16, 2012
Oracle developer Jim Driscoll has a new article up on otn/java, titled “Introducing Groovy,” that shows readers how to master the basics of Groovy, a general-purpose scripting language that runs on the Java Virtual Machine (JVM) – and, as Driscoll emphasizes -- one that can largely be viewed as a superset of Java.
He presents a “Hello World” program that can be understood as either a Java or Groovy program and will compile and run in either environment. Driscoll takes readers through the intricate connections and disconnects between Java and Groovy. For example, Groovy is public by default and “Groovy deals with String objects using double quotation marks with strings” which “allows for variable substitution”. And, “there are also strings with single quotation marks.”
Driscoll illustrates his points with copious code that illustrates how Java developers can tweak their own knowledge of Java to take advantage of Groovy’s strengths, so that, by the end of the article, the (Java-informed) reader more or less understands Groovy.
Check out the article here.