The moose likes Groovy and the fly likes Groovy vs. Rails question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Groovy vs. Rails question" Watch "Groovy vs. Rails question" New topic
Author

Groovy vs. Rails question

Max Tomlinson
Ranch Hand

Joined: Jul 17, 2001
Posts: 364
One of the limitations of Ruby on Rails is that it really only supports �greenfield� applications � legacy databases and table structures are difficult to support - how does Groovy compare in this regard?

Thanks!
Dierk König
author
Ranch Hand

Joined: Nov 01, 2006
Posts: 43
With Grails your investment in legacy databases and/or Java domain models is fully preserved.

Grails leverages Hibernate and you can use all Hibernate features to map onto an existing database or map existing Java domain models (XML or annotation style).
You can still use all the merits of dynamically building your web application in this scenario.

It goes without saying that the "greenfield" scenario is also support, in which case no explicit mapping is needed and you gain even more speed.

Graeme, the Grails project lead, may want to add more to this topic...

Check out Grails, it's groovy!
Dierk
Clifton Craig
Ranch Hand

Joined: May 26, 2006
Posts: 103
D'oh! Does this mean I'm ineligible to be entered to win the book? Thanks for the feedback John!


Holla at me...<br /><a href="http://codeforfun.wordpress.com" target="_blank" rel="nofollow">http://codeforfun.wordpress.com</a>
 
jQuery in Action, 2nd edition
 
subject: Groovy vs. Rails question
 
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture