Spring continues to become a popular choice for Java enterprise applications, in this entry, Dave Syer from the Spring team walks you through the use of Domain Specific Languages using Groovy.
Since the introduction of Spring dynamic language support in Spring 2.0 it has been an attractive integration point for Groovy, and Groovy provides a rich environment for defining Domain Specific Languages (DSL). But the examples of Groovy integration in the Spring reference manual are limited in scope and do not show the features in Spring that are targeted at DSL integration. In this article I show how to use those features and as an example we add bean definitions to an existing ApplicationContext with a Groovy DSL from the Grails distribution.
Read Dave's complete post: http://blog.interface21.com/main/2007/11/29/spring-dynamic-language-support-and-a-groovy-dsl