$19.99
per month
Video
Apr 2021
2hrs 36mins
1st Edition
-
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
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.
All the code files and related files are uploaded on GitHub at https://github.com/PacktPublishing/Groovy-Programming-Fundamentals-for-Java-Developers
This course is best suited for the beginner- to intermediate-level Java developers who want to accelerate their existing Java coding tasks using Groovy.
Interested developers in other programming languages who want to write programs that can execute on the Java Virtual Machine, without having to use Java will also find this course useful.
Working knowledge of the Java programming language is assumed as a prerequisite, although the course can be used without this knowledge (but it will make more sense and be easier for a Java developer to understand).
-
Install Groovy and create Groovy projects in the IDE
-
Explore the Groovy toolset and use the Groovy console to execute Groovy code
-
Learn common Groovy operators that form the cornerstone of its powerful syntax
-
Use regular expressions and capture groups to parse and extract strings
-
Look at Groovy collections and the enhancements delivered by the GDK
-
Learn how to iterate and search through collections in Groovy