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.
Location
Public Classes: Delivered live online via WebEx and guaranteed to run . Join from anywhere!
Private Classes: Delivered at your offices , or any other location of your choice.
Goals
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
Write unit tests in Groovy
Access Java classes from Groovy, and vice versa
Build a simple web application using Grails
Work with Groovy strings, closures, and collections
Develop model-view-controller web applications using Grails
Access relational databases from Grails
Build unit and functional tests for web applications
Groovy support in the Spring framework
Build and test RESTful web
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
The Groovy JDK: Groovy extensions to the Java standard library
Groovy strings
Regular expressions in Groovy
Object-Oriented Programming In Groovy
Plain Old Groovy Objects (POGOs)
Generated getters/setters
Public vs private defaults
Map-based constructors
@ToString, @EqualsAndHashCode, @TupleConstructor, and @Canonical
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
Miscellaneous Groovy operators
Safe navigation with the ?. operator
The Elvis operator
The spaceship operator
Unit Testing in Groovy
GroovyTestCase
JUnit tests in Groovy
The Spock testing framework
Spock mocks and stubs
Abstract Syntax Tree (AST) Transformations
@Delegate
@Immutable
@Singleton
@TypeChecked and @CompileStatic
The Intercept-Cache-Invoke design pattern
Database Access with Groovy
Basic database operations
DataSet operations
Groovy and ORM solutions
The Spring Framework
Using Groovy beans in Spring applications
"Refreshable" beans
Inline scripted beans
AOP using Groovy
The Groovy BeanBuilder in Spring
RESTful web services
JAX-RS annotations on Groovy classes
JsonSlurper and JsonBuilder
REST clients with the HttpBuilder project
The ratpack framework
REST additions to Grails 2.3+
The Gradle Build Tool
The build challenge
The Gradle plugin system
Defining tasks and dependencies
Using repositories
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.
What people say about our training
I learned so much in just one week. I highly recommend Webucator.
Tina Welch
Foot Locker
Excellent instructor. Thanks again, Webucator! I will definitely recommend you to my colleagues for their technical training needs.
Rey de los Reyes
Social Security Administration
Highly recommend this Publisher class. All you need to know in one sitting. Great that I was able to take this class right in my office so as not to miss a day of work.
Teresa Klinetob
William Raveis Real Estate
Much easier than traveling, structure was great and well taught! What more can you ask for?