Ajax Training: Ajax for Java Developers
EJB Training: Introduction to Enterprise Java Beans
Groovy for Java Developers
Hibernate Training
Intermediate Java Training
Introduction to Java Programming Training
Introduction to XML Training
Jakarta Struts Training
Java Development for Secure Systems
Java EE 5 (JEE - including EJB3)
Java Programming with Eclipse
JavaServer Faces (JSF) : Using JSF to Build J2EE Web Apps on the JBoss Application Server
JavaServer Faces Training: Introduction to JSF Training
JavaServer Pages Training: Introduction to JSP and Servlets Training
JBoss Training: Administering the JBoss 4.x Application Server
JBoss Training: Administering the JBoss® 5.X Application Server
JBoss Training: Enterprise JavaBeans (EJB 3) on the JBoss Application Server
JBoss Training: Enterprise JavaBeans 3.0 (EJB3) and the Java Persistence API (JPA) on the JBoss Application Server
JBoss Training: Java EE with Servlets JSP & JDBC on JBoss AS
JBoss Training: Servlets/JSP on the JBoss Application Server
JBoss Training: SOA and Java Web Services (JAX-WS) on the JBoss Application Server
Patterns In Frameworks Workshop
Software Design Training: Effective Software Development Training Boot Camp
Spring Framework Training (Spring 3)
Test Driven Development (TDD) for Java
The JSP Standard Tag Library (JSTL)
Web Development Using Grails Training
Web Services Training: Developing Java Web Services
XML Programming Using Java
    

Groovy for Java Developers

  Course #: 
  Duration:  4 days

Groovy Training Overview

This course teaches experienced Java developers how to write programs in Groovy that simplify, enhance, and expand their existing systems.

Groovy Training Learning 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

Groovy Training Prerequisites

All attendees should have a good knowledge of Java techniques, including the Collections framework and JDBC.

Groovy Training Outline

  • 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
    • Working with GroovyBeans
    • Injecting methods with Categories
    • A bit about the Expando metaclass
  • 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
  • Unit Testing in Groovy
    • GroovyTestCase
    • Unit-testing Groovy code
    • Unit-testing Java code
    • Code coverage and automation
  • Web Development with Grails
    • The Grails framework
    • Creating web applications using Grails