Javatpoint Logo
Javatpoint Logo

Groovy Introduction

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

  1. It is a rapid and dynamic language.
  2. It can be easily integrated with all the existing Java objects as well as libraries.
  3. Java developers feel very friendly using this language.
  4. It has a more meaningful code as compared to Java.

History

  • In the year 2003, Groovy was developed by Bob McWhirter & James Strachan.
  • In 2004, it was discontinued for the future.
  • But in 2005, Jeremy Rayner & Guillaume Laforge brought it back.
  • In 2007, version 1.0 of Groovy was launched.
  • In 2012, version 2 of Groovy was launched.
  • In 2014, version 2.3 of Groovy was launched.
  • In 2015, groovy became a partner with Apache Software Foundation.






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA