O'Reilly logo

Scripting in Java™: Languages, Frameworks, and Patterns by Dejan Bosanac

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

Chapter 4. Groovy

In the “Groovy” section of Chapter 3, “Scripting Languages Inside the JVM,” we listed some of the basic concepts that Groovy introduces. In this chapter, we take a closer look at Groovy. This chapter covers the following topics:

  • The process of running and compiling Groovy scripts.
  • How Groovy implements some of the scripting concepts with Java-like syntax.
  • Other benefits that Groovy has to offer developers.
  • How Groovy can be integrated with Java. In this section of the chapter, we see how we can evaluate Groovy scripts from Java applications and how to implement Java interfaces in Groovy.
  • Security issues related to integration of Groovy and Java.

We cover advanced Groovy programming and describe extensions available for the ...

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

Start Free Trial

No credit card required