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.
For more information, check the announce on Restlet's
blog.