Groovy Tutorials — Complete Beginner to Advanced Guide
In this tutorial series, you'll learn Groovy from the ground up. Groovy is a dynamic optionally-typed language for the JVM -- combining Java power with scripting productivity, used by Gradle, Jenkins pipelines, and Grails web apps.
1. What is Groovy?
History, JVM, dynamic typing
2. GDK
Extensions, collections, strings
3. Closures
Parameters, scope, delegation
4. GPars
Parallelism, actors, dataflow
5. XML Builders
MarkupBuilder, XmlSlurper
6. JSON
JsonSlurper, JsonOutput
7. Markup & DSLs
Builder patterns, HTML
8. Metaprogramming
MOP, metaclass, categories
9. Grails
Full-stack, GORM, scaffolding
10. Spock Testing
Specifications, mocks, data tables
11. Gradle DSL
Build scripts, tasks, plugins
12. AST Transformations
@ToString, @Canonical, custom
13. GStrings & Strings
Interpolation, multiline, regex
14. Collections
List, Map, Range, spread
15. DSL Building
Builder pattern, custom DSLs
16. Database
Groovy SQL, DataSource, GORM
17. Web Services
HTTP, REST, JSON APIs
18. File I/O
eachLine, text, ant DSL
19. Swing Builders
GroovySwing, UI, events
20. Mini Projects
CSV report, web scraper, build tool
Let's begin with Lesson 1.
Published Topics
All 30 topics in Groovy Tutorials — Complete Beginner to Advanced Guide are published.