Groovy integration

As a Java library

As Groovy works with any Java library, it can naturally leverage the Restlet framework. For a detailled article explaining this usage, I recommand this post from Arc90:

“Building RESTful Web Apps with Groovy and Restlet”

As a Domain Specific Language

Another strength of Groovy is its capacity to define new languages in a very dynamic and flexible way. Qi Keke has develop a specific DSL for Restlet in Groovy. It is now available as an official Groovy Module.

The Kauri project, based on Restlet, is also using its own Groovy DSL to configure the routing.