Skip to content

Category Archives: Grails

Developing Grails Apps in Eclipse

This was a post I was planning on linking to; a colleague of mine was going to write a post about it, but he hasn’t yet and I’ve just spent an extra hour trying to get this to work and am frustrated- and so here is the post you’ve all been waiting for.
There are lots [...]

Grails and HtmlUnit

I was struggling to add HtmlUnit to Grails to do some testing when I came upon this.
The solution was to remove the HtmlUnit included jar, xml-apis-1.3.04.
The error looked like this:

loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/w3c/dom/NamedNodeMap"
java.lang.LinkageError: loader constraint violation: loader (instance of ) previously initiated loading for [...]

New Google Code Project

I’ve started a new google code project, tuneshost, for a presentation I’m giving this week. It’s a bare minimal start, and in the short term I’m not going to be making many enhancements- I’ll just be using it to demonstrate htmlunit and selenium testing.
It’s built on the grails platform, and uses extjs for the UI. [...]

Grails Multiple Datasource Plugin

Burt Beckwith discusses his new plugin – one I’ve been needing for a while!

Grails Extended ManyToMany GORM Example

This is a variation on this article. Having never been a big fan of writing XML, I’ll gladly opt for the XML-less version. The first example online I found has some formatting issues and just seems a little hard to follow.
My step by step example follows after the jump. Call it the “Grails extended many-to-many [...]

GORM Relationships in the Grails Console

I’ve just started scratching the surface with Grails. A good starting point seems to be understanding GORM or Grails Object Relational Mapping, which is based on Hibernate3.
In looking at the Grails tutorials online, you might be inclined to start using Grails via scaffolding and generating controllers and views. And this is fine, but another perhaps [...]