Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column


An agile dynamic language for the Java Platform with many features that are inspired by languages like Python, Ruby and Smalltalk, making them available to Java developers using a Java-like syntax.

Developing web applications , writing shell scripts easily, writing concise, meaningful, test cases using Groovy's JUnit integration, or prototyping and producing real industrial strength applications have never been so concise and groovy.

Groovy works cleanly with all existing Java objects and libraries and compiles straight to Java bytecode in either application development or scripting mode.

Column
Code Block
none
none
// The Greeter class
class Greeter {
  def name
  Greeter(who) {
    name = who[0].toUpperCase()
            + who[1..-1]
  }
  def salute() {
    println "Hello ${name}!"
  }
}

// Create a new object
g = new Greeter('world')

// Output "Hello World!"
g.salute()

Documentation

Section
Column

User Guide

Children Display
pageGROOVY:User Guide

Advanced Topics

Children Display
pageGROOVY:Advanced Topics
Column

Getting Started Guide

Documentation

Children Display
pageGROOVY:Getting Started Guide

Testing Guide

Children Display
pageGROOVY:Testing Guide

Developer Guide

Children Display
pageGROOVY:Developer Guide

Groovy provides powerful additional :

...