O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Practical Groovy Programming

Video Description

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.