Creating a DSL Using The Power of Groovy: Overview and Tutorial

 

 

An overview of Groovy in the context of Domain Specific Languages (DSL).

To get a hands-on experience a tutorial at Sioux was created in which a DSL is created.

The DSL is from the business (business rules) domain to get a clearer view of the actual exercise.

In modern application design and especially service orientied architecture

(SOA) there is often the question how to model and implement frequently changing business logic. Being able to do that is key to achieve agile solutions, which are closely aligned to the business. For many the answer is to use rule engines, because they allow to separate business logic from application logic and provide domain specific languages (DSL) to the end user. Using DSL is a great step towards agility and improved Business/IT-Aligment.

AttachmentSize
Creating a DSL.pdf279.27 KB
Solution reference: