Please log in to watch this conference skillscast.
In this session, we will take an existing Java API and try to make it Groovy step by step, introducing you to various DSL building techniques in Groovy. After this talk, you should be able to build your own Groovy wrappers around existing Java APIs and offer them to the community!
One of the major advantages of Groovy is that you can leverage existing Java APIs very easily: you can use them in Groovy just like you would in Java. However, Groovy is a perfect fit for DSLs and it's possible to make those APIs rock: why would you be obliged to use them in a Java fashion if we can build Groovy APIs for them?
YOU MAY ALSO LIKE:
Making Java APIs Groovy
Cédric Campeau is a principal engineer at Gradle, Inc. where he works on improving the open-source project of the same name. He is also a core committer of Apache Groovy, and spent more than three years working full time on developing the language at Pivotal, where he implemented features like the static compiler, traits, Android support, AST transformations, and type checking extensions.