Apache Groovy is an object-oriented programming language. It is used for Java platform. It is static as well as a dynamic language. Groovy has features similar to Python, Ruby, Perl, and Smalltalk. Groovy can be used both as a programming language and as a scripting language for the Java Platform. It uses curly bracket syntax which is similar to Java. We can say that it is a super version of Java which offers Java's enterprise capabilities. Groovy has many productive features like DSL support, closures, and dynamic typing. Unlike other programming languages, Groovy cannot be a replacement for Java. The Source code of Groovy complies in Java Bytecode, so that it can be run on any platform where JRE is installed.
Following are the major reasons why Groovy is used