File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Groovy and the fly likes comparing and contrasting Grails and Roo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "comparing and contrasting Grails and Roo" Watch "comparing and contrasting Grails and Roo" New topic

comparing and contrasting Grails and Roo

Paul Wallace
Ranch Hand

Joined: Oct 09, 2006
Posts: 45
Hi Dave

Spring have Grails (based on dynamic Groovy) and Roo (based on Java AOP)

Do you have any insight into how these frameworks compare and contrast. I know what Grails has to offer but not sure how Roo measures up. It would be useful to know if there are any scenarios where one is better than the other, or how there feature's stack up.

Apologies if this is off topic, but it is a burning questions at the moment.


Dave Klein
Ranch Hand

Joined: Aug 29, 2007
Posts: 77
The only knowledge I have of Roo is what I have heard others say. At the recent SpringOne 2GX conference the Roo sessions were very well attended and many of the Java/Spring developers were quite impressed with it. As I understand it, Roo applies many of the principles and design decisions of Grails, Rails, etc. but in Java. AOP is used to provide some of the features that Groovy or Ruby provide with metaprogramming.

I have heard it said by a few people that SpringSource is positioning Roo as the productivity tool for organizations that won't allow Groovy. Sadly, there still are many of those out there. So, I'm glad Roo is available to ease the pain of those oppressed Java devs. I know the people behind Roo are incredibly sharp and I have no doubt that it is a good product. I just haven't had the need or desire to use a Java only tool. JSF cured me of that.

If one has the freedom to use either Roo or Grails, I haven't heard any reasons why one would choose Roo. I don't know for certain, but I doubt that it has features as powerful and productive as GORM or custom GSP tags. Someone please correct me if I'm wrong.

I know there are some Grails developers who are also working with Roo. Maybe one of them can post a more detailed comparison.

Sorry I can't be of more help,
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Here's another Grails like framework that uses Java instead of Groovy.

GenRocket - Experts at Building Test Data
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

The two products don't compete with each other. I can use both if I want. What I love about Roo is the ease of starting a project, and it doesn't have to be web based. But the creation on the directory and Maven structures/build. The ability to create your domain objects fast, and keep the class clean without getters and setters in the actual class.

Also cool is how Roo is a console that can be constantly running and if you change a file outside of the Roo console, the console knows about it and acts accordingly.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: comparing and contrasting Grails and Roo
It's not a secret anymore!