The Introduction to Groovy training course examines how Groovy seamlessly integrates with existing Java code, and extends familiar classes like Strings, Lists, and Maps in a powerful yet natural way. Throughout the Introduction to Groovy training you will learn about the File I/O, XML manipulation, database integration, and networking capabilities of Groovy that dramatically reduce the amount of code that you need to write.
Course Summary
Hands-on training is customized, instructor-led training with an in-depth presentation of a technology and its concepts, featuring such topics as Java, OOAD, and Open Source.
What You'll Learn
In the Introduction to Groovy training course you’ll learn:
- Getting Started with Groovy
- Installing Groovy
- Compiling Groovy
- The Groovy Shell and Console
- Creating your first Groovlet
- New to Groovy
- Groovy and Java
- Harnessing the power of Groovy
- Groovy sytnax (Imports, semicolons, paranthesis, returns, etc)
- Datatypes, Operator overloading, and Collections
- Closures
- Java and Groovy Integration
- GroovyBeans (or POGOs)
- Autogeneration of getters and setters
- Construtors, optional method parameters, etc.
- Calling Java from Groovy and Groovy from Java
- Groovy from the Command-line
- Groovy as a operating systems scripting language
- Running uncompiled Groovy scripts
- Working with command line arguments
- File I/O
- Working with Files in Groovy
- Groovy extensions to java.io
- Creating archives
- Integrating with ANT
- Working with XML
- Review of XML concepts
- Consuming XML
- Parsing XML with XmlParser
- Slurping XML with XmlSlurper
- Generating XML
- Generating XML with MarkupBuilder
- Generating XML with StreamingMarkupBuilder
- Writing XML to a file
- Network and Web Services Programming with Groovy
- Review of network programming concepts, IP addresses, and DNS
- Creating a RESTful web service client
- Working with SOAP, XML-RPC, Atom and RSS feeds
- Database Development
- Using Groovy to query databases
- Exporting Database content using Groovy and XML
- Object-rational database development
- Testing
- Review of JUnit and testing concepts
- Integrating Groovy with JUnit
- Determining code coverage with Cobertura
- Working with Mock Objects






