jump to navigation

Groovy DSL available for Restlet February 29, 2008

Posted by Jerome Louvel in DSL, Groovy, Restlet General.

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.


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.



No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s