Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

Groovy ...

  • is an agile dynamic language for the Java Platform with many features that are inspired by languages like Python, Ruby and Smalltalk, making modern programming features available to Java developers with almost-zero learning curve
  • makes writing shell scripts and build scripts easier than ever by supporting powerful processing primitives, a touch of OO programming and an Ant domain specific language
  • increases developer productivity by reducing scaffolding code when developing web, GUI or console applications
  • makes writing concise meaningful maintainable code easier than ever by supporting domain specific languages, closure expressions and many compact syntax abbreviations
  • makes testing easy because all the support you need is built right in
  • cleanly integrates with all existing Java objects and libraries and compiles straight to Java bytecode in either application development or scripting mode.







"Groovy is like a super version of Java. It can leverage Java's enterprise capabilities but also has cool productivity features like closures, builders and dynamic typing. You have to love Groovy."

Samples

A simple hello world script:


A more sophisticated version using Object Orientation:


Leveraging existing Java libraries:


On the command line:


Documentation [more]

User Guide [more]


Advanced Topics [more]

Unable to render {children}. Page not found: Advanced Topics.

Getting Started Guide [more]


Testing Guide [more]


Developer Guide [more]


Cookbook Examples [more]


Modules [more]

The following modules and contributions are currently available:

  • COM Scriptingscript Windows ActiveX and COM components with Groovy
  • Gant
  • GFreeMarkeran integration of the FreeMarker template engine for Groovy
  • Google Data Supportmakes using the Google Data APIs easier from within Groovy
  • Grama simple xdoclet-like tool for processing doclet tags or Java 5 annotations
  • GraphicsBuilderGraphicsBuilder is a Groovy builder for Java 2D
  • Grapplet
  • GriffonDekstop Enhancements for Groovy
  • GrooshProvides a shell-like capability for handling external processes.
  • Groovy Jabber-RPCallows you to make XML-RPC calls using the Jabber protocol
  • GroovyJMS
  • GroovyLabProvides a domain specific language (DSL) for math engineering (matlab-like syntax).
  • Groovy Monkeyis a dynamic scripting tool for the Eclipse Platform
  • GroovyRestletGroovy DSL for constructing Restlet application
  • Groovy Science
  • Groovy SOAPcreate a SOAP server and make calls to remote SOAP servers using Groovy
  • GroovySWTa wrapper around SWT, the eclipse Standard Widget Toolkit
  • GroovyWSGroovySOAP replacement that uses CXF and Java5 features
  • GSPmeans GroovyServer Pages, which is similar to JSP (JavaServer Pages)
  • GSQLsupports easier access to databases using Groovy
  • HTTP Builderprovides a convenient builder API for complex HTTP requests
  • JideBuilderJideBuilder is a Groovy builder for the open source JIDE Common Layer
  • MetaBuilderMetaBuilder is a builder that builds builders.
  • Native Launchera native program for launching groovy scripts
  • Proxy-o-MaticProxy-o-Matic lets you create dynamic proxies fast and in an homogeneous way
  • Windows NSIS-Installera Windows-specific installer for Groovy
  • Windows Servicesframework for Groovy-based WinNT (Windows) Services
  • WingSBuilderWingsBuilder is a Groovy builder for the wingS Framework
  • XMLRPCallows you to create a local XML-RPC server and/or to make calls on remote XML-RPC servers
  • GroovyFXGroovyFX provides a Groovy binding for JavaFX 2.0.
  • GaelykGaelyk is a lightweight Groovy toolkit for developing and deploying Groovy applications on Google App Engine.
  • GMaven
  • Groovy TransformsProvides additional AST Transformations

  • Grailsa Groovy-based web framework inspired by Ruby on Rails
  • GORMthe Grails Object-Relational Mapping persistence framework
  • Griffona Groovy-based desktop framework inspired by Grails
  • GroovyPluginA Groovy plugin for JSPWiki
  • OCM GroovyA Object Content Mapping implemented in Groovy leveraging the Java Content Repository (JCR)
  • TelluriumA test framework built on top of the Selenium test framework implemented in Groovy
  • GradleThe next generation build system
  • GParsA Groovy concurrency/parallelism library
  • CodeNarcStatic analysis for defects, bad practices, inconsistencies and style issues in Groovy code.
  • GroovyServGroovyServ makes Groovy’s startup time much faster, by pre-invoking Groovy as a server.
  • GBench — The benchmarking module for Groovy
  • GProf — The profiling module for Groovy

Enjoy making your code groovier !!!!

Latest news

If you wish to stay up-to-date with our vibrant community, you can learn more about:

And below, you will find the latest announcements:

Dear all,

I'm pleased to announce the release of Groovy 2.1.5.

Groovy 2.1.5 is a bug fix release of the Groovy 2.1 branch. In particular, it fixes a problem we've encountered with Groovy 2.1.4 where the extension module descriptors were not found in the "all" JAR, which meant that the usual nice GDK methods extensions for XML and other modules were not found by Groovy.

You can download Groovy 2.1.5 in the download area and have a look at the JIRA release notes.

Thanks to all who contributed to this release!

Keep on groovy'ing!

Groovy 2.1.4 released

The Groovy development team is pleased to announce the release of Groovy 2.1.4.

Groovy 2.1.4 is essentially a bug fix release of our 2.1 branch, and you can dive into the details in our JIRA release notes.

You can get the distribution in our download area.

Thanks a lot to all those who contributed to this release, and we're looking forward to hearing your feedback!


Labels
  • None