Blog

- February 29, 2008

Last year, I saw a presentation from Guillaume Laforge (Groovy‘s project manager) on Domain Specific Languages (DSL). I was intrigued by the idea of DSL and eager to understand how easily the Groovy scripting language could support their development.

The demonstration was quite convincing and clearly showed the potential of Groovy, as a dynamic language, compared to a classic Java approach. If you are interested in learning more about DSL and Groovy, I recommend several links, the first is the Groovy documentation on DSL, a recent InfoQ post on Groovy DSL and an interview of Guillaume.

Groovy

One of the ideas I had in mind was the creation of a Restlet DSL that would facilitate the configuration of Restlet components and applications. Fortunately, Keke Qi just contributed this feature which is now available as a Groovy module: see the GroovyRestlet home page. You can find examples like the Restlet tutorial reimplemented or an integration with Spring.

If you haven’t done so already, this is a great opportunity to give Groovy a chance!  They recently released their version 1.5.2. Guillaume also recently founded G2One, a consultancy shop specialized on Groovy & Grails that could support your projects.