Groovy is a new agile dynamic language for the JVM combining lots of great features from languages like Python, Ruby and Smalltalk and making them available to the Java developers using a Java-like syntax.
Groovy is designed to help you get things done on the Java platform in a quicker, more concise and fun way - bringing the power of Python and Ruby inside the Java platform.
Groovy can be used as an alternative compiler to javac to generate standard Java bytecode to be used by any Java project or it can be used dynamically as an alternative language such as for scripting Java objects, templating or writing unit test cases.
h2 Features
- Closure support
- Native syntax for Lists and Maps
- Groovy Markup
- Groovy Path expression language
- Groovlets for implementing Servlets easily in simple Groovy scripts
- Groovy SQL for making SQL more Groovy
- Groovy Beans for simpler syntax for working with beans
- Groovy Template Engines which are pluggable, simple to use, integrate GPath and compile to bytecode
- Ant Scripting
- Regex syntax for neater scripting with regular expressions
- Operator Overloading to simplify working with datatypes Collections and Maps
- Polymorphic iteration and Autoboxing
- Compiles straight to Java bytecode & works cleanly with all existing Java objects & libraries
h2 Getting started
Probably the best way to get started on Groovy is to install a binary distribution and
play with it.
Or try reading the user guide or browsing some of the links on the left of this page.
h2 News