March 2010
3 posts
2 tags
Grails, WebTest and JQuery.
The recently released grails-webtest 2.0.2 now installs WebTest via dependency resolution.
This allows you to work around the HTMLUnit 2.4 incompatibility with JQuery. WebTest 3.0 depends on HTMLUnit 2.4, but we can force the use of HTMLUnit 2.5 which works with JQuery.
Simply add it as a dependency in your app.
grails.project.dependency.resolution = {
inherits "global"
log "warn"
...
2 tags
Scoped Services & Proxies in Grails
Update: I have released a plugin that makes working with scoped proxies a little bit easier.
Grails has supported “scoping” services for as long as I have been working with it. Surprisingly, you very rarely here of people using this feature. For my money, it’s one of the lowest cost techniques available to avoid the inherent spaghetti in referencing the session and request (for all intents...
2 tags
Configuration based Spring bean definition with...
I released a new version of the Grails JMS plugin (0.5) over the weekend. This release features completely rewritten internals to expose every configuration aspect of the underlying Spring JMS classes. JMS is a complicated topic with lots of setup and configuration options so this level of access is necessary.
What’s novel about the approach is that it allows users to configure the...