Description
In this course, you will :
- introduce you to the Groovy language as well as the underlying Groovy platform Throughout this course, we will create a Groovy application that can parse GPS data from an XML file, insert it into a database, and even correlate this data with forecast data obtained via a REST API.
- You will not only have a working knowledge of the Groovy language at the end of this course, but you will also be able to use Groovy in a variety of everyday use cases.
Syllabus :
1. Getting Started with Groovy
- Polyglot Programming
- Why Groovy
- Installation
- Groovy Shell
- Groovy Scripts
- IDEs
2. Basic Syntax
- Collections
- Ranges
- Functions
- Closures
- Dynamic Capabilities
3. Working with XML
- Introducing Our Sample Project
- The GPX File Format
- Reading XML Documents
- Writing XML Documents
4. Calling Java from Groovy
- Introducing Dependency Management in Groovy
- Working with Grape
5. Unit Testing in Groovy
- Introduction to Unit Testing
- Unit Testing in Groovy
- Mock Objects
- Unit Testing Our Application
6. Digging Deeper with Groovy Syntax
- Groovy Extension Methods
- Groovy Truthfulness
- Adding Functionality with Categories
- Implicit Return Methods
7. Working with REST Services
- Working with the Groovy RESTClient
- Parsing JSON Data with Groovy
- Working with the Groovy ConfigSlurper
8. Working with Databases Using Groovy
- Creating SQL Connections
- Inserting Data
- Querying and Updating Data