This course teaches experienced Java developers how to write programs in Groovy that simplify, enhance, and expand their existing systems.
Groovy Training Objectives
- Understand how dynamic languages differ from languages like Java or C#
- Work with Groovy closures
- Use Groovy control structures
- Build object-oriented programs in Groovy
- Use Groovy builders to reduce complexity
- Access databases using Groovy
- Process XML files in Groovy
- Write unit tests in Groovy
- Access Java classes from Groovy, and vice versa
- Build a simple web application using Grails
View SkillBuilders instructor Ken Kousen, Ph.D.’s presentation at SunGard Higher Education
Technology Association (SETA) Portsmouth on November 8:
Groovy and Grails for SunGard Banner Developers (free registration required).
Watch our free online training videos with instructor Ken Kousen, Ph.D.:
Groovy for Java Developers
Rapid Development with the Grails Platform
(WMV video; free registration required).
Course Features
- Lecture 0
- Quiz 0
- Duration 4 Days
- Skill level All levels
- Language English
- Students 0
- Assessments Yes
- Groovy Fundamentals
- Differences between Groovy and Java
- Compiling and executing Groovy programs
- The basic Groovy data types and optional typing
- Writing Groovy scripts
- Declaring classes
- Overriding operators and type coercion
- GDK: the Groovy library
- Groovy strings
- Regular expressions in Groovy
- Groovy Collections
- Ranges
- Lists
- Maps
- Iterators and polymorphic algorithms
- Closures in Groovy
- Declaring closures
- Available options for calling closures
- Groovy Control Structures
- The “Groovy truth”
- Conditional execution
- Looping constructs
- Using Classes and Scripts
- Groovy fields and local variables
- Methods and operations
- Safe dereferencing with the ?. operator
- Organizing classes in packages
- Using inheritance
- POGO’s vs. POJO’s
- Unit Testing in Groovy
- GroovyTestCase
- Unit-testing Groovy code
- Unit-testing Java code
- Code coverage and automation
- Groovy Builders
- NodeBuilder
- MarkupBuilder
- SwingBuilder
- Survey of the GDK
- Simplified File access
- Templates
- Groovlets
- Database Access with Groovy
- Basic database operations
- DataSet operations
- Groovy and ORM solutions
- Working with XML
- Reading and parsing XML documents
- Using XPath expressions
- Distributed processing with XML
- Simple Metaprogramming
- Metaclasses
- Injecting methods with Categories
- The Expandmetaclass
- Web Development with Grails
- The Grails framework
- Creating web applications using Grails