By jettro, on April 8th, 2010
Allard has been working on a new framework to make it easier to create a CQRS application. CQRS is short for Command Query Responsibility Segregation. An architecture that separates data sources for storing state and querying data. The query datasource should be easy to use when creating screens. The framework Allard created is the Axon Framework. This framework makes it a lot easier to use commands, events, event sourcing. If these terms are not known to you, I suggest you start reading the reference manual that comes with axon.
What does grails do in this picture. Isn’t grails about rapid application creation? Well, yes. It is a good platform to rapidly create web applications using the groovy language and still be able to use existing libraries. Personally I really like the Gorm library of grails. I think that gorm would be an excellent choice to wrap the query datasource. Of course the gsp technology and the groovy language are nice to have when working with the web applications as well.
In this blog post I’ll discuss the integration between grails and axon. How can we create an application with grails that makes use of Axon to implement CQRS. I’ll discuss the way to create commands and send these to axon. I’ll also discuss responding to events coming from axon. First I have to show some aspects of a grails project that you need to know before you can use Axon. I’ll try to take you with me when I take the steps to create a good integration between Axon and Grails.
Continue reading Use Grails and Axon to create a CQRS application (part I)
By jettro, on April 5th, 2010
I have big plans with groovy. After playing around with grails and doing some groovy scripting I was sure. I want more groovy. To be able to do more with groovy, I needed to learn more about groovy. One way to do this is to start reading and experimenting. This blog post discusses a few experiments as well as some of the learning sources.
Continue reading Doing more with groovy
By jettro, on January 10th, 2010

This is the third post in a series of post about grails. In this series I am describing an application I am creating with grails. It is a scheduling application for scheduling people on projects. You can find the previous posts here:
In this post I will discuss the following topics:
- Creating meeting notes using the grails-ui rich text editor
- Create a search using the searchable plugin on the meeting notes
- Introducing rss to subscribe to new meeting notes
Continue reading Still doing grails
By jettro, on January 4th, 2010
In my previous post Starting with grails, I wrote a long story about creating a new application with grails. I introduced some plugins and gave some hints and tips about working with grails from a starter perspective. As I move on, I will write down other things I have done.
Some of the things you can find in this post are:
- Using yahoo ui grid for laying out the page
- Creating a second navigation menu
- Mail integration for the contact form
- Implement access control, so only known users can use the application.
Continue reading Continuing with grails
By jettro, on December 20th, 2009
In this blog post I am writing down the steps I took to create a new grails application. Maybe it can be of help to other that want to start using grails.
In short I am going to create an application that you can use to schedule people on projects. We used to have an excel sheet to do this, but I really do not like this. So I am writing an application for it. Grails is ideal for these kind of projects.
I am, of course, going to use some nice grails plugins, I will mention them all and give some details about the steps I took to make them run. Some of the plugins are:
- DBUtil
- Navigation
- grails-ui
- joda-time
Comments, questions and feedback are of course welcome.
Continue reading Starting with grails
By jettro, on November 9th, 2009
Last week I attended a groovy & grails training by SpringSource. My first introduction into grails is about 2 years a go. I attended a talk at the spring experience. Back than I liked it, tried it, but did not really use it. By now a lot has changed, most of all very good tool integration by intellij. Last week I had the change to go to a training, now I am motivated to start using grails more often.
This post I will talk you through a grails application I have created for a project of mine. I also take you through some of the things I learned last week. Finally I’ll show you that you can create a google app engine application using grails. There are ways to create grails applications, I’ll show you how to do it using the latest intellij 9 beta release.
Continue reading Doing grails, yes I like it
Popular