Groovy with Grails – Java’s fight back to Ruby on Rails

The post has been moved here.

Edit: The author has moved to
All further posts will be published at the new location.


11 Responses to “Groovy with Grails – Java’s fight back to Ruby on Rails”

  1. Java's Witness Says:

    Yea, BABY!

  2. Groovy with Grails at There was Code; Then there was AJAX! Says:

    […] Ruby on Rails is undoubtedly the fastest developing framework for agile web development which one can witness in various discussion groups and blogs these days.Being a developer from the Java community what you can do most is to sit and watch the power being unleashed by Ruby and do nothing about it. Not until you see the power of Groovy with Grailsread more | digg story Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages. […]

  3. Prateek Says:

    Hey buddy,

    look around and find Python. This language has the benefit of being more popular than ruby for mainstream programming. like an evolution of perl/php. It has also grown new teeth with django and a good tool to jump onto ajax.


  4. Brian Says:

    This is funny. I thought Sun was taking the “if we can’t beat them let’s join them” approach by hiring the JRuby guys. A lot of the demos seem to revolve around getting Rails to run on top of Java’s VM…

    Another point is that while Groovy is a great technology… unfortunately like JINI (another great technology) it never really got the traction it needed (it’s been out for years) and I predict that it never will. The most Groovy can achieve is probably a niche following like Tapestry’s groupies…

  5. Raffaele Says:


    Groovy has not been “out for years”. It’s a very young project.
    But in this small amount of time it archieved production projects written with it. And we are talking about a new language created nearly from scratch, without the years of development behind Ruby, and the unspecified development time of rails inside the project from where it came first.
    Anyway, Grails has a lot of potential with it, more than many other dynamic languages actually available:
    – built from scratch for the JVM, and not _ported_ to it like Jython or JRuby: this means full compatibility between Groovy and Java, so that you can use all your existing java codebase and the libraries available.
    – syntax is java-friendly: you don’t have to learn a pretty alien language like python or ruby can be.
    – under the hood, grails mount production proved technologies (hibernate, spring, etc) hiding theyr complexities.
    – Groovy has defined specifications (via the Sun’s JCP), and is backed by IT leaders like Oracle, IBM among the others.

    And these are only the more evident points.

    You may object that these are only relevant for java developers, but you must consider that java is probably the most used language, and that some java developers left java in the seek of a more dynamic language.
    As said from many, groovy and grails gives the best of both worlds: the proven strengt of java and of the entire java platform, and the ease of use of dynamic languages.

    Grails is actually able to match Rails on most of the tasks. But what is IMHO a flaw of rails if it is effective in greenfield projects, it shoes low interest (effective or perceived, I cannot tell) for what already exists. And I mean esisting legacy databases and existing codebase/libraries.
    Groovy/Grails starts from a step over, since it rely on a huge amount of existing technologies, without breaking too much the scheme, and probably this will be a winning feature.


  6. nitinpai Says:

    nice info Raffaele, well its probably the same thing which I wanted to convey. 🙂

    And Brian, yes I have indeed seen the burst in the need for JRuby developers in the Sun organisation. But as far as the JRuby production goes its just a utility paradigm to the Ruby guys to feel comfortable integration their Ruby apps with the ones made in Java. Its more like a wrapper where a Ruby programmer remains a Ruby programmer. But Groovy is something which will definitely quench the Java programmers thirst for the need of a more dynamic and less stringent developing environment and also get a feel of Ruby like world. It will shoot up the dominance of Java in the years to come.

  7. Alwin Says:

    Excellent point Nitin..!!!!

  8. Idetrorce Says:

    very interesting, but I don’t agree with you

  9. bman Says:

    I really like both C, Basic, and Fortran… any thought on those?

  10. Beaumont Muni Says:

    So true Rafael. I am starting to now creating two software projects which will evolve into 2 separate companies and I have planned and modeled my application for a few years. I hesitated to jump in until there was a frame work available to make a difference. Grails has become the answer to my prayer. So far my first project took me 2 months (normally 3 months with 2 Java developers). My second project is in planning and I would not dare undertake my second if it wasn’t for grails and my first project experience … the old enterprise paradigms tend to cost too much money and time to get things off the ground. People want to make money .. that’s the bottom line. Grails has definitely been what we have been anticipating. To the Grails and Groovy team … all I can say is thanks and keep up the good works.

  11. Moe Says:

    Hey Guys… I have been using Groovy in IBM’s project zero and I have to say it is so easy to use. Project Zero also supports PHP aswell as Java. So you can program in Groovy, PHP and Java in the same file and everywhere in your code. Thats so crazy awesome!

    But to the pro’s out there. What is the difference between Groovy and Grails. I am not that good to understand the difference. Could you guys tell me?

    Also, this summer I intended to lock myself in the basement and program a website which is intended to become big and need to know what language I should do it in. Since Project Zero isn’t completly stable yet, I would run a risk. So what options do I have? Groovy on Grails is stable? What comes with that package?

    Thanks alot Guys.. and yeah… I love Groovy!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: