Monday 13 September 2021

What are Packages in Groovy Scripting groovy training videos in telugu 03

watch This video


How to install groovy in windows system groovy training videos in telugu 02

 watch this videos



What is groovy scripting groovy training videos in telugu 01

Watch This Video


                                Groovy Script

What is a Groovy Script?

Apache Groovy is an object oriented and Java syntax compatible programming language built for the Java platform. This dynamic language has many features which are similar to Python, Ruby, Smalltalk, and Pero. Groovy source code gets compiled into Java Bytecode so it can run on any platform that has JRE is installed. Groovy also performs a lot of tasks behind the scene that makes it more agile and dynamic.

Groovy language can be used as a scripting language for the Java platform. It is almost like a super version of Java which offers Java’s enterprise capabilities. It also offers many productivity features like DSL support, closures, and dynamic typing. Unlike some other languages, it is designed as a companion, not a replacement for Java.



Why Groovy?


Here, are major reasons why you should use and learn Groovy-

·       Groovy is an agile and dynamic language

·       Seamlessly integration with all existing Java objects and libraries

·       Feels easy and natural to Java developers

·       More concise and meaningful code compares to Java

·       You can use it as much or as little as you like with Java apps


Groovy History


2003: Developed by Bob McWhirter & James Strachan

2004: Commissioned into JSR 241 but it was abandoned

2005: Brought back by Jeremy Rayner & Guillaume Laforge

2007: Groovy version 1.0

2012: Groovy version 2

2014: Groovy version 2.3 (official support given for JDK 8)

2015: Groovy became a project at the Apache Software Foundation


Features of Groovy


·       List, map, range, regular expression literals

·       Multimethod and metaprogramming

·       Groovy classes and scripts are usually stored in .groovy files

·       Scripts contain Groovy statements without any class declaration.

·       Scripts can also contain method definitions outside of class definitions.

·       It can be compiled and fully integrated with traditional Java application.

·       Language level support for maps, lists, regular expressions

·       Supports closures, dynamic typing, metaobject protocol

·       Support for static and dynamic typing & operator overloading

·       Literal declaration for lists (arrays), maps, ranges, and regular expressions