Monthly Archives: May 2013

Grails Tip: Getting JSON directly from Grails MongoDB-GORM Low Level API

One of the nice things about MongoDB is that documents are returned in JSON format.

If you use the Mongo-GORM plugin, however, the driver conveniently converts the returned results into a Grails domain class instance. You then have to serialize this domain class to get a JSON result back.

In this post, I will show how to use the low level mongodb API to just get a JSON response back in your controllers.

Continue reading

Choosing DropWizard to deliver content within your Grails projects

In our current project, we’re using DropWizard alongside Grails. It has become a fairly significant and useful tool for building simple content delivery layers.

In this post, I will try to share some of the rationale for choosing DropWizard to serve content and how it fits within a Groovy / Grails ecosystem.

Continue reading

12 New Things I Learned From a Three Day Gradle Training

During the last three days, Sky was able to engage Luke Daley from Gradleware to come teach us about Gradle.

There was a lot of material covered. But the class format, short slides combined with 25 digestable exercises, made it fairly enjoyable. I would highly recommend this training to any team looking to elevate their understanding of Gradle. You can see a list of upcoming training courses on their website.

In this blog post, I will highlight 12 new things I learned from this training.
Continue reading