Archive for the Groovy/Grails category

grocher

Announcing GORM for Redis

One of the major movements inspired by the rise of the cloud platform is the growing interest in alternative storage techniques to traditional relational databases. One such storage mechanism is Redis, a high performance key/value store that is playing an important part in future cloud infrastructure. There has been a lot of interest in Redis Read more…

Peter Ledbrook

The future of functional web testing?

The Groovy community is a productive bunch, which means there are a plethora of frameworks, libraries, and tools to make your life easier. The area of testing seems to be particularly fertile ground and I've recently been looking into a couple of tools that, when combined, promise a step change in your productivity when writing Read more…

Peter Ledbrook

Reuse your Hibernate/JPA domain model with Grails

It's a common story. You have an existing database and now you want to add a web application for it with the minimum of fuss. Is Grails up to the task? Of course it is! Even better, if you already have a domain model based on JPA or Hibernate configuration files, you can reuse it Read more…

Peter Ledbrook

RabbitMQ Plugin for Grails – Early Access

RabbitMQ is a lightweight, reliable, scalable and portable message broker based on the Advanced Message Queueing Protocol (AMQP). It's ideal for heterogeneous systems and cloud platforms, but it can be used for pretty much any messaging requirements, big or small. You don't (typically) access it via the JMS API, and in fact the JMS plugin Read more…

Peter Ledbrook

Simplified Spring Security with Grails

Spring Security is a powerful library for securing your applications that comes with a bewildering number of options. Based on Spring, it can be readily integrated into a Grails application. But why not save the hassle and use the new improved Grails plugin? The plugin has gone through several evolutionary stages that started with the Read more…

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…