Over a million developers have joined DZone.

Groovy Goodness Notebook Updated with New Groovy 2.2 Features

DZone's Guide to

Groovy Goodness Notebook Updated with New Groovy 2.2 Features

· Java Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

Groovy Goodness Notebook was released in June 2013. Now I have updated the book with extra subjects, which were published on this blog. The updated book now includes the following new subjects, including new Groovy 2.2 features:

  • Check if a String Only Contains Whitespaces
  • Remove Part of String With Regular Expression Pattern
  • Replace Characters in a String with CollectReplacements
  • Cache Methods Invocations with Memoize Annotation
  • Choose Which Delegated Methods to Use
  • Create CopyWith Method with Immutable Annotation 
  • Create New Date or Calendar from Existing and Set Property Value
  • Loop Through Date and Calendar Ranges
  • Enhancements for Iterable Implementations
  • Implicit Closure Coercion
  • Running Scripts from a JAR Archive
  • Set Delegating Class for Script
  • Set Script Class with BaseScript Annotation

According to Leanpub the updates to the book should be free for those that already purchased the book. Enjoy reading.

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}