Groovy是一种新兴的 Java 2 平台语言。Groovy 代码能够与 Java 代码很好地结合,也能用于扩展现有代码。目前的 Groovy 版本是 1.6.3,在 Java 1.4 和 Java 5 平台上都能使用,也能在 Java 6 上使用。
Groovy 1.8发行说明如下:
The 1.8 release of Groovy comes with many new features that greatly enhance
·the dynamic expressiveness of Groovy, specifically for defining DSLs
·runtime performance
·concurrent and parallel execution
·">design by contract
·functional programming style
·first-class JSON support
·compile-time meta programming
·and more helpers and library additions
These features have undergone the Groovy developer process with formal descriptions, discussion, and voting (GEP - Groovy Enhancement Proposal) for core parts and less formal developer discussions and JIRA voting for additional parts.
Our goal has stayed the same, though: to give the Java developer a tool that makes him more productive, allows him to achieve his goals faster and with a smaller margin of error, and extend the scalability of the Java platform from full-blown enterprise projects to everyday "getting things done" tasks.