July 2013
Intermediate to advanced
370 pages
8h 27m
English
Java is one of the most (if not the most) popular mainstream enterprise languages. Although we can use Groovy standalone, it’s highly likely that we’ll intermix it with Java. Groovy and Java code evolving side by side is a common usage scenario in projects that use Groovy. Learning how to intermix code written in these languages will help us to adopt Groovy quickly in our applications.
Calling Java code from within Groovy is quite trivial and straightforward. At first glance, the reverse of this does not appear simple. Groovy methods may accept closures and Groovy classes may have dynamic methods—methods that come to life at runtime. Is it even possible to access these, and if so, how hard would it ...
Read now
Unlock full access