Groovy Programming Fundamentals for Java Developers
Video description
Extend and enhance your Java applications with Groovy. Groovy programming is a great way to speed up and modernize your Java applications with better efficiency
About This Video
Explore Groovy’s lightweight and powerful syntax that slashes down the development time
Learn to write and adapt Groovy scripts to maximize your productivity
Filter and transform collections in Groovy with Groovy’s powerful closure mechanism
In Detail …
Groovy Programming Fundamentals for Java Developers
Video description
Extend and enhance your Java applications with Groovy. Groovy programming is a great way to speed up and modernize your Java applications with better efficiency
About This Video
Explore Groovy’s lightweight and powerful syntax that slashes down the development time
Learn to write and adapt Groovy scripts to maximize your productivity
Filter and transform collections in Groovy with Groovy’s powerful closure mechanism
In Detail
There are not many technologies that can brag about staying relevant for more than 30 years. Java is one of those technologies that is not only staying relevant but also evolving with time. However, in Java, due to verbose and complexities in coding, developers started using different platforms and languages to counterfeit this downside.
Apache Groovy is the number one go-to language when it comes to knocking up quick scripts to automate drudge work and even for writing full-scale applications (using other frameworks such as Grails and Griffon). Groovy is predominantly seen today in Jenkins pipelines scripts and in Gradle build scripts, but this really underplays its power and versatility, as we’ll see in this course. You will learn many exciting features of Groovy and see how it reduces execution time with its lightweight syntaxes.
This course will teach you how to set up Groovy, install it, and create Groovy projects in the IDE. Then you’ll be exploring the Groovy toolset and using the Groovy console to execute Groovy code. Moving ahead, you’ll learn common Groovy operators that form the cornerstone of its powerful syntax. You will then learn how to use regular expressions and capture groups to parse and extract strings. You’ll also look at Groovy collections and the enhancements delivered by GDK (Groovy Development kit). Finally, you’ll be filtering and transforming collections in Groovy with Groovy’s powerful closure mechanism and much more.
By the end of this course, you will learn Groovy’s features and start using them in your day-to-day activities with ease.
Installing Groovy on a Mac or Linux System from the sdkman.io Website
Exploring the Groovy Tool Set
Using the Groovy Console to Execute and Examine Groovy Code
Chapter 2 : Groovy Operators
Section Introduction
Null-Safe Dereference Operator
Elvis Operator
Spaceship Operator
Spread Operator
Range Operator
Chapter 3 : Groovy Strings
Section Introduction
String Interpolation
Heredocs
Pattern Operator in Regular Expressions
Slashy Regular Expressions
Find Operator in Regular Expressions
Match Operator in Regular Expressions
Capture Groups in Regular Expressions
Chapter 4 : Collections in Groovy
Section Introduction
Creating Lists and Sets
Creating Maps
Composing Collections of Different Types
Accessing Elements of a List
Using Groovy Truthiness with Collections
Creating and Accessing Composite Collections
Processing Lists and Sets
Processing Lists and Sets by Index
Processing Maps by Key and Value
Filtering Collections
Finding the Matching Element in a Collection
Testing Elements in Collections
Collecting Elements to a List
Collecting Entries to a Map
Creating Aggregate Functions with Inject
Chapter 5 : Groovy Language Features
Section Introduction
Default Imports and Classes
Main Methods in Groovy Applications
Creating Classes and Instances in Groovy
Adding methods and state to Groovy Classes
Using Inheritance in Groovy
Overriding Methods in Groovy
POGOs and Groovy Property Generation
Operator Overloading
String Equality in Groovy
Returning Multiple Values from a Method
Autogenerating Equals and HashCode with Groovy AST Transformations
Named Constructors
Chapter 6 : Wrapping Up
Thanks and Well Done!
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept