Archive for the Groovy/Grails category

Peter Ledbrook

GORM Gotchas (Part 3)

It's great to hear that people are finding these articles useful, so it's with great pleasure that I add another to the series. This time I'm going to talk about associations again, but with the focus on when they are loaded into memory. Update 2 Aug 2010 I have added more information on eager fetching Read more…

aclement

Grails tooling improvements in SpringSource Tool Suite 2.3.3 M2

The recently released STS 2.3.3 M2 introduced a series of enhancements to our Grails support for Eclipse. In this article I'll be discussing what you can expect to find if you try it out (grab it here: SpringSource Tool Suite). Groovy-Eclipse The grails tools actually build on and extend the Groovy-Eclipse support, which is developed Read more…

Peter Ledbrook

GORM Gotchas (Part 2)

In part 1 of this series, I introduced you to some of the subtleties associated with persisting domain instances with GORM. This time, I'm going to tackle relationships with particular focus on hasMany and belongsTo. GORM provides only a few basic elements for defining relationships between domain classes, but they are sufficient to describe most Read more…

Christian Dupuis

STS on Eclipse 3.6

Last week the Eclipse Foundation released the much anticipated next version of Eclipse. You can download Eclipse 3.6 aka Helios from SpringSource's member distribution page. Also check out the New & Noteworthy for this release. The Tools Team at SpringSource has been busy updating our developer tools to support Eclipse 3.6 and while we haven't Read more…

Peter Ledbrook

GORM Gotchas (Part 1)

Are you new to Grails? Or have you perhaps run into your first GORM "oddity"? If so, then you'll want to read this series on GORM gotchas. Not only will the articles highlight those little idiosyncrasies that often catch people out, but they will also explain why GORM behaves in these ways. Hopefully you will Read more…

Peter Ledbrook

Spring: the foundation for Grails

In the SpringSource training course for Groovy & Grails, we highlight that Grails stands on the shoulders of giants. One of those giants is Spring. Without it, Grails simply wouldn't have been developed as quickly as it was. It probably wouldn't have the flexibility to integrate easily with enterprise Java systems either. Just look at Read more…

Peter Ledbrook

What's a plugin-oriented architecture?

Grails is a fantastic framework for developing web applications quickly and easily. You also have access to a plethora of plugins that provide features or make integration with other systems nice and easy. That's all good, but in this article I want to talk about what happens when your application grows and you start drowning Read more…

Peter Ledbrook

More Grails 1.3 features

Last week, I described how Grails now treats plugins like normal dependencies that can be pulled from Maven-compatible repositories. Although this was the big new feature for 1.3, it wasn't the only one. In this post, I'll look at some of the others, starting with a feature that I only recently found out about. Named Read more…

Peter Ledbrook

Managing plugins with Grails 1.3

For a long time, managing Grails dependencies simply meant putting them in your application's lib directory. Then came Grails 1.2 and the dependency DSL: you could finally declare your dependencies and have Grails automatically download them and make them available to your app. Great! Now, Grails 1.3 has brought the dependency DSL to the realm Read more…

Rod Johnson

SpringSource Hops On Cloud Messaging with RabbitMQ

I am delighted to announce that the SpringSource division of VMware has acquired Rabbit Technologies Ltd., the company behind the popular open source cloud messaging technology RabbitMQ. This acquisition will enhance our middleware portfolio and accelerate our cloud initiatives. Messaging Evolution in the Cloud As organizations increasingly build and deploy applications in a cloud environment, Read more…