h1 Introduction to Groovy
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.
- 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.
The latest Groovy Weekly column is out, in its 8th edition:
The 6th edition of the Groovy Weekly column is out!
Get the latest news of the Groovy ecosystem.
The Groovy Weekly 5th edition is out!
The big news of this edition is probably the ongoing success of Groovy, demonstrated by the tremendous growth in downloads for Groovy, from 1.7 million downloads in 2012 up to 3 million in 2013!
The "Groovy Weekly" column has launched!
On a weekly basis, you'll be able to get all the latest news, filtered and categorized, about the Groovy ecosystem, with information such as the latest releases, upcoming events, news about various projects of the Groovy world, job postings, interesting tweets or mailing-list posts, and more. If you want to get up-to-date on everything Groovy, that's what you'll have to read!
The first two editions have been published here:
Note that going forward, as we're working on a redesigned Groovy website, the blog posts will likely migrate to the future Groovy blog instead.
The release of the column should take place every week, and will be announced via different means: mailing-list, tweeter, Google+, and on this blog. But if you prefer to receive this information directly in your inbox, you can subscribe to the Groovy Weekly newsletter.
Also, this column is yours! If you want to contribute news items, don't hesitate to do so via the contribution form.
We're looking forward to hearing about your feedback about this weekly column!
And on behalf of the Groovy team, we'd like to wish you a very Groovy New Year!
Hot on the heels of the release of our new major release of Groovy 2.2.0, we're delivering a first bug fix release with Groovy 2.2.1.
As a refresher, be sure to have a look at the release notes for Groovy 2.2.0 to remember the various improvements and enhancements that got integrated.
Some fixes didn't make it in the RC phase, and additional further fixes appeared upon wider usage of 2.2.0 in the wild. Those fixes cover various areas, such as issues with Groovysh, a couple VerifyErrors, some fixes to our AST transformations, a problem with the new implicit closure coercion mechanism. For more details, you can have a look at the full JIRA release notes.
And go download Groovy 2.2.1!
Thanks a lot for your attention and your contributions.
This is with great pleasure that the Groovy team is announcing today the release of Groovy 2.2, the latest version of the Groovy programming language.
Groovy 2.2 features:
- Implicit closure coercion
- @Memoized AST transformation for methods
- Define base script classes with an annotation
- New DelegatingScript base class for scripts
- New @Log variant for the Log4j2 logging framework
- @DelegatesTo with generics type tokens
- Precompiled type checking extensions
- Groovysh enhancements
- Bintray's JCenter repository
- OSGi manifests for the “invoke dynamic” JARs
- And other minor bug fixes, enhancements and performance improvements
Then download Groovy 2.2 while it's hot!
Thanks a lot to all the users, contributors, developers who contributed to that release!
Syndicate this site via RSS