Groovy for Java developers Peter Ledbrook e:
[email protected] t: @pledbrook
To answer the question
Why would you use a language called Groovy?
Background
Copyright 2014 Cacoethes Software What is Groovy? OO language
for the JVM Java-like syntax Optional types Dynamic or Static -
your choice! Simple & expressive
Copyright 2014 Cacoethes Software Groovy is compiled Groovy
Source Java Byte Code JVM Compilation java -cp groovy-all-2.3.0.jar
Just add Groovy JAR to your classpath
Copyright 2014 Cacoethes Software How do you use it?
http://groovyconsole.appspot.com/
Copyright 2014 Cacoethes Software How do you use it? Download
Groovy development kit (GDK) Install groovy, groovyConsole,
groovysh http://groovy.codehaus.org/Download
Copyright 2014 Cacoethes Software How do you use it? Install
msysgit Install GVM gvm install groovy 2.2.2 http://gvmtool.net/
(Windows only) Run as Administrator
Copyright 2014 Cacoethes Software How do you use it?
Copyright 2014 Cacoethes Software How do you use it? Lets see
it in action!
In summary Great for cross-platform scripting Ideal for tests
Seamless integration with Java Solid for application
development