Archive for the Groovy/Grails category

grocher

Web Development Evolved: Grails 2.0 Released!

After nearly a year in development, we are extremely excited to announce the GA release of Grails 2.0 – the second major revision of the web framework that is changing the face of web development on the JVM. This release brings a greatly enhanced user experience. Everything from the command line, to the test reports, Read more…

Peter Ledbrook

Countdown to Grails 2.0: User experience

Welcome to this final Countdown to Grails 2.0 post: the final release is imminent! I'm not really going to say much here because some of the most interesting new features of Grails 2.0 are much better seen. For that reason, I've created a screencast so you can see exactly what awaits you when you install Read more…

Peter Ledbrook

Countdown to Grails 2.0: Persistence

It's been a while since the last Countdown blog post, but the release of 2.0.0.RC3 gives me a good reason to write another. In the last post, I focused on database migration and how we are standardising on the new Database Migration Plugin. I'll be continuing on the theme of persistence here and introducing several Read more…

Peter Ledbrook

RabbitMQ: Enabling Grails full text search on Cloud Foundry

In my second blog about Grails and Cloud Foundry I introduced a variant of the Grails Twitter example that could be hosted on CloudFoundry.com At the time I mentioned that full text search using the Searchable plugin would limit you to a single application instance because the search indices would be unique to each instance. Read more…

Peter Ledbrook

Using Micro Cloud Foundry from Grails

Back in April, VMware introduced Cloud Foundry to the world and with it came super-simple application deployment for Grails developers. Fast forward several months and now another piece of the jigsaw is in place: Micro Cloud Foundry. You can now have your own Cloud Foundry instance for testing or any other use case. And of Read more…

Peter Ledbrook

Countdown to Grails 2.0: Database Migrations

One of the many nice features of Grails is the way it will automatically create your database schema for you from your domain model. Admittedly it's a feature of Hibernate that Grails uses, but still, it helps you get started very quickly with database-driven web applications without having to worry about the database schema. What Read more…

Andrew Eisenberg

Debugging DSLD Scripts

Debugging techniques for Groovy DSL Descriptors in Groovy-Eclipse.

Peter Ledbrook

Countdown to Grails 2.0: Static resources

Web applications typically rely heavily on what we call static resources, such as Javascript, CSS and image files. In a Grails application, they are put into a project's web-app directory and then referenced from the HTML. For example, will create a link to the file web-app/css/main.css. All very straightforward. You might even think that the Read more…

Peter Ledbrook

Countdown to Grails 2.0: Unit testing

The first milestone of Grails 1.4 (now 2.0) has now been released and we are on the last stages of the journey towards 1.4 2.0 final. As we approach that point, I will be writing a series of blog posts that cover the various new features and changes that the 1.4 2.0 version brings. I'll Read more…

jbrisbin

A Simple Groovy DSL for building RabbitMQ AMQP Applications

Asynchronous applications can sometimes be a challenge while you're developing them since you usually need two separate components to see the full message publication and consumption lifecycle. It often happens that you write a consumer that can dump messages to System.out or your log file, just so you can make sure your publisher is doing Read more…