Take your basic Groovy skills to the next level with this practical video workshop. Presenter and Java consultant Ken Kousen shows you how to work with XML and JSON, implement runtime metaprogramming, and use several AST transformations. You’ll also dive into operator overloading, Groovy SQL, and the Groovy JDK.
Once you complete this course, check out Ken’s other videos on the subject: Mastering Groovy and Groovy Fundamentals. These courses demonstrate the many advantages of adding Groovy to existing projects written in Java and other object-oriented languages.
- Create XML and JSON with builders, and parse them with XmlSlurper and JsonSlurper
- Mix Groovy and Java classes together to take advantage of what each does best
- Add properties and methods via runtime metaprogramming, and enhance existing classes from Java
- Work with AST transformations, including @Delegate, @Immutable, @Sortable, @Singleton, and @Builder
- Use Groovy JDK methods on collections, strings, and numbers
- Learn how operators in Groovy map to methods—and how to add those methods to existing classes in both Groovy and Java
- Access databases, apply CRUD operations, and call stored procedures with Groovy SQL
Ken Kousen, President of Kousen IT, Inc., is a technical trainer, mentor, and consultant in all areas related to Java, specializing in Android, Spring, Hibernate/JPA, Groovy, and Grails. He is the author of Making Java Groovy (Manning) and the upcoming O’Reilly book, Gradle for Android.
Table of contents
- Introduction and Review
- Java and Groovy Together
- Parsing and Building
- Runtime Metaprogramming
- AST Transformations
- Tour of the Groovy JDK
- Operator Overloading
- Groovy SQL
- Title: Practical Groovy Programming
- Release date: June 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491930908
You might also like
Advanced Java Development
You’re a junior developer with a couple of years of Java under your belt and you’ve …
Groovy Programming Fundamentals
Learn the advantages of using Groovy by itself and with existing Java projects. This video workshop …
Learning Path: Groovy
Discover the simplicity and power of Groovy. Groovy is a powerful, multi-faceted language for the Java …
Mastering Groovy Programming
Learn advanced techniques for working with the Groovy programming language. In this video workshop, presenter and …