Apache Groovy 4 Fundamentals
Groovy is a well-known language that complements Java. This course will teach you the core Groovy features that let you write complex code effectively.
What you'll learn
Though Java has been widely adopted, it is verbose and needs a lot of ceremony. In this course, Apache Groovy 4 Fundamentals, you’ll learn how to write concise code to achieve complex tasks. First, you’ll explore the syntax of Groovy, the simple and complex data structures provided by the language. Next, you’ll discover how to use looping constructs to control the flow of your program. Then, you'll dive into exception handling, file handling techniques, and regular expressions. Later, you'll be shown key Groovy features like Closures, metaprogramming, and builders. Finally, you’ll learn how to process XML and JSON documents in Groovy. When you’re finished with this course, you’ll have the skills and knowledge of writing concise Groovy code that complements Java needed to automate and maintain your day-to-day tasks.
Table of contents
- Introducing Groovy Programming 2m
- Course Structure 4m
- Understanding the Business Problem 2m
- Setting up the Development Environment 4m
- Value Proposition of Groovy 4m
- Writing Your First Groovy Program 6m
- Groovy Utilities 4m
- Accepting User Input 2m
- Debugging the Groovy Program 4m
- Checkpoint 01 - Print a message to the console 0m
- Groovy Simple Datatypes 5m
- Groovy Operators - Part 1 5m
- Groovy Operators - Part 2 3m
- Groovy Dynamic Datatypes 4m
- Groovy Complex Datatypes - Range 3m
- Groovy Complex Datatypes - Arrays and List 4m
- Groovy Complex Datatypes - Maps 3m
- Checkpoint 02 - Create a variable and assign it a value 0m
- Checkpoint 03 - Print the sum of two integers to the console 0m
- Checkpoint 04 - Print the size of a range variable to the console 0m
- Checkpoint 02 - Create a variable and assign it a value 0m
- Branching Logic in Groovy 4m
- Looping Logic in Groovy 5m
- Conditional Logic in Groovy 3m
- Switching Logic in Groovy 4m
- Controlling the Loops in Groovy 2m
- Iterating Using Groovy Built-in Methods 4m
- Checkpoint 06 - Write a for loop and use a break statement to exit 0m
- Checkpoint 05 - Write an if statement and check a string's value 0m
- Introducing Closures 2m
- Writing Simple Closures 5m
- Passing Parameters and Returning Values in Closures 6m
- Using Closures in Methods and Collections 6m
- Using Closure Scope and Delegates 8m
- Groovy Closure Advanced Features 3m
- Checkpoint 10 - Write a Closure that accepts two parameters and print them to the console 0m
- Checkpoint 09 - Print the list of elements using closures 0m
- Checkpoint 10 - Write a Closure that accepts two parameters and print them to the console 0m
- Basic Pattern Matching in Groovy - Part 1 5m
- Basic Pattern Matching in Groovy - Part 2 2m
- Extracting Matches in Groovy Using Regex 5m
- Replacing Text Using Regex 4m
- Rewriting Files Using Regex 4m
- Checkpoint 13 - Check if the string contains a particular text 0m
- Checkpoint 14 - Replace specific text in a line 0m
- Introducing Metaprogramming 6m
- Aspect-oriented Programming in Groovy 4m
- Expanding a Class Functionality in Groovy 3m
- Compile-time Metaprogramming in Groovy - Part 1 5m
- Compile-time Metaprogramming in Groovy - Part 2 2m
- Checkpoint 19 - Access object properties using metaprogramming 0m
- Checkpoint 20 - Write a Groovy Transform 0m