318 • Developing Essbase Applications: Advanced Techniques for Finance and IT Professionals
ose who know Java will be impressed with the simplicity here. We have created no
classes and no main method. Groovy allows us to get right down to business and does
that overhead work for us at runtime. is allows us to focus on the code that does the
stu we want done.
Groovy is an extension of Java that removes many of the more tedious elements of Java programming while remain-
ing highly compatible with Java’s native syntax. When used for scripting, the Groovy runtime identifies the code to be
executed, wraps it with a main method and a class declaration, compiles it, executes it, then deletes the files created
during the process. All of this happens ...