aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "comparing and contrasting Grails and Roo" Watch "comparing and contrasting Grails and Roo" New topic
Author

comparing and contrasting Grails and Roo

Paul Wallace
Ranch Hand

Joined: Oct 09, 2006
Posts: 40
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.

Cheers

Paul
Dave Klein
author
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,
Dave
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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

http://www.playframework.org/


GenRocket - Experts at Building Test Data
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

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.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: comparing and contrasting Grails and Roo