I had when I first got access to Wave, I wrote a blog about how to create a Wave Robot using Grails. This blog can be read at Graversen.org.
Now David Trattnig has created a plugin to Grails for developing Wave applications. I had to try it out and see how it works.
The first project I tried the plugin on was a failure. I got some error, which I did not think the Wave plugin had created. Just me fumbling around. So I created a new project to see if it was better. The result was much better on the second try. I got a functional robot working without much code.
When you run the commands.
You get all the objects you need to create a robot, which is bacisly just one file as a service. You can then start coding in this file. The plugin automaticly handles the creation of the URL mappings needed for the Robot to work.
In Wave you normaly have to create the capabilities.xml file as a seperate file outsite the code. This is irretating to be working with and you have to make sure to update the file. With this plugin all you need to do is to change the begining of the Robot file to something like.
With this information the cababilites xml file can be created.
The development of the plugin can be performed in the processEvents method. Like the following really meaning full code.
Using this frame work is really easy and takes care of some of the irritating features you always need to use when developing Robots. It does requires some knowledge of Grails/Groovy.
I have not tested the function for embedding waves, but it should also be fairly simple to do. You should just insert the Groovytag.