Groovy Training for Java Developers

This Groovy Training for Java Developers training class teaches experienced Java developers how to write programs in Groovy, both by itself and in conjunction with existing Java code.

Goals
  1. Understand how dynamic languages differ from languages like Java or C#
  2. Work with Groovy closures
  3. Use Groovy control structures
  4. Build object-oriented programs in Groovy
  5. Use Groovy builders to reduce complexity
  6. Access databases using Groovy
  7. Write unit tests in Groovy
  8. Access Java classes from Groovy, and vice versa
  9. Build a simple web application using Grails
  10. Work with Groovy strings, closures, and collections
  11. Develop model-view-controller web applications using Grails
  12. Access relational databases from Grails
  13. Build unit and functional tests for web applications
  14. Groovy support in the Spring framework
  15. Build and test RESTful web
Outline
  1. Groovy Fundamentals
    1. Differences between Groovy and Java
    2. Compiling and executing Groovy programs
    3. The basic Groovy data types and optional typing
    4. Writing Groovy scripts
    5. Declaring classes
    6. Overriding operators and type coercion
    7. The Groovy JDK: Groovy extensions to the Java standard library
    8. Groovy strings
    9. Regular expressions in Groovy
  2. Object-Oriented Programming In Groovy
    1. Plain Old Groovy Objects (POGOs)
    2. Generated getters/setters
    3. Public vs private defaults
    4. Map-based constructors
    5. @ToString, @EqualsAndHashCode, @TupleConstructor, and @Canonical
  3. Groovy Collections
    1. Ranges
    2. Lists
    3. Maps
    4. Iterators and polymorphic algorithms
  4. Closures in Groovy
    1. Declaring closures
    2. Available options for calling closures
  5. Groovy Control Structures
    1. The "Groovy truth"
    2. Conditional execution
    3. Looping constructs
  6. Miscellaneous Groovy operators
    1. Safe navigation with the ?. operator
    2. The Elvis operator
    3. The spaceship operator
  7. Unit Testing in Groovy
    1. GroovyTestCase
    2. JUnit tests in Groovy
    3. The Spock testing framework
    4. Spock mocks and stubs
  8. Abstract Syntax Tree (AST) Transformations
    1. @Delegate
    2. @Immutable
    3. @Singleton
    4. @TypeChecked and @CompileStatic
    5. The Intercept-Cache-Invoke design pattern
  9. Database Access with Groovy
    1. Basic database operations
    2. DataSet operations
    3. Groovy and ORM solutions
  10. The Spring Framework
    1. Using Groovy beans in Spring applications
    2. "Refreshable" beans
    3. Inline scripted beans
    4. AOP using Groovy
    5. The Groovy BeanBuilder in Spring
  11. RESTful web services
    1. JAX-RS annotations on Groovy classes
    2. JsonSlurper and JsonBuilder
    3. REST clients with the HttpBuilder project
    4. The ratpack framework
    5. REST additions to Grails 2.3+
  12. The Gradle Build Tool
    1. The build challenge
    2. The Gradle plugin system
    3. Defining tasks and dependencies
    4. Using repositories
    5. Multi-project builds
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this Groovy class:

  • Working knowledge of Java.
Preparing for Class

Training for your Team

Length: 4 Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

What people say about our training

Excellent GWT Training.
Jeff Chen
Herbalife
Wonderful class - really exposes the learner to all the possibilities available in the software.
Susan McKibben
The University of Akron
This class has given me the edge I need to grow stronger in my field and make my timelines more manageable.
Susan Bair
Rockwell Automation
The class I took was very intuitive as well as a pleasant experience.
Paul Leitold
Catalyst360

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

61,490

Students who have taken Instructor-led Training

11,769

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

9.78

Students rated our Groovy Training for Java Developers trainers 9.78 out of 10 based on 5 reviews

Contact Us or call 1-877-932-8228