• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

compare spring roo with grails

 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear authors,

Is Spring Roo a java version of grails ? After from the language does it have more features than grails ? ?If langauge is not a barrier why should one use spring roo rather than grails. Please guide us.

thanks a lot
cheers,

pradeep
 
author
Posts: 63
Mac OS X Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Pradeep...

Roo and Grails have different fundamental approaches. Roo is a tool, not a framework per se. It helps you roll out frameworks in your Spring-centered applications. It treats Spring, Spring MVC, JPA, etc as first-class APis, so in that way it is more of a productivity tool.

The alternative view of Grails is that a set of small domain specific languages written in Groovy simplify web development. GORM, Grails controllers and services are all groovy-language driven and simplified. Easier to learn of themselves and in some ways more powerful.

For a green-field project with no basis on Java or Spring, Grails is a good choice. I am still a big fan. However, for larger project teams, for projects that heavily leverage Spring APis, for staying on the Spring platform, Roo is a good choice. Also as a way of leveraging expertise from other team members in the form of custom add-ons, Roo has a higher learning curve(OSGi, etc) but you can do anything you want to your project (within reason). And every Roo feature is written as an add-on so you can learn techniques by browsing the source on GitHub.

 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if Roo is not a framework, what would the output of views be ? Does it contain any jsp content or not? Please clarify.
 
Greenhorn
Posts: 23
Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Spring Roo produces jsps or a variant of jsps I don't exactly remember which. Spring Roo basically uses Spring MVC to do web based work. You can use GWT and several other web based frameworks within Roo. But ultimately, Spring Roo allows you to write Spring based applications very quickly and relies heavily on AOP. If you've ever played around with Ruby/Rails, think of Spring Roo in a similar vein, where you use commands to write a lot of the boilerplate you would have to write by hand.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You said roo is more suitable if it is a spring app. what about a non-spring app where I don't want to use grails as team may not be comfortable with groovy and performance sensitive app?

Thanks for answering my questions so far. I will get chance to work on spring roo app in the future , hope I win your book.
 
Ken Rimple
author
Posts: 63
Mac OS X Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Roo only creates Spring apps. So, you're giong to be working in Spring directly if you use Roo.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you
 
Run away! Run away! Here, take this tiny ad with you:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic