Thursday, October 18, 2012

SpringOne 2GX - Groovy Modules

Presenter: Paul King
8:30am 10/18/2012

As part of the Groovy 2 release, groovy-all-x.y.z.jar was modularized (decomposed into multiple jars). This is somewhat more complicated than it sounds. The GDK includes extensions to Java classes.

It is possible to create a groovy extension module from an existing Java class library by simply creating a nearly empty .jar file that just contains some metadata. Methods must be written in a certain form to do this (e.g., commons lang).



0 Comments:

Post a Comment

<< Home