By jettro, on June 20th, 2010

In my previous post, “Using JMX within a spring application“, I talked about monitoring your application with jmx. I discussed exposing beans with spring. At one of my current projects I am having problems exposing jmx through the default jmxrmi protocol. In his whitepaper about jmx, Allard mentiones another protocol, jmxmp. Spring has support for this remoting protocol as well. Therefore I wanted to try this out.
Another thing I wanted to experiment with is creating a groovy client. The technique with interfaces and proxies with spring as described in my previous post is a lot of work when you are interested in a little bit of data. Therefore I wanted to see if using groovy is easier.
This blog post discusses these two topics with respect to JMX.
Continue reading Exposing jmx through jmxmp and reading the jmx data with groovy
By jettro, on April 16th, 2010
In this post we focus on getting the task based user interface. We have the basic building blocks in the application, but the screens are a bit stupid. How many applications would you create where you have to manually copy the identifier of a contact to an address when you want to register an address for this contact. Well in the current version of the application this is what you really have to do.
What are the tasks that we focus on right now:
- Create a new contact
- Remove a contact
- Change the name of a contact
- Register an address of a certain type for a specific contact
- Remove an address from a contact
But before we step into creating the front-end, we install some plugins that I discussed in previous posts.
Continue reading Use Grails and Axon to create a CQRS application (part II)
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 20th, 2009
The recent weeks I have been playing around with grails. When working with grails you have to learn groovy as well. Sometimes I am just amazed by the easiness of doing things with groovy. That is why I started out using groovy for a very small project (at least with groovy) to analyze an xml file as generated by the performance measurement framework Beet.
In this blog post I go step-to-step through a solution that analyzes the xml file and plots the results in a chart generated with jfreechart.
Continue reading Analyzing beet results with groovy
Popular