views:

156

answers:

2

Coming from a J2EE dev background, I love the idea of Grails....all the benefits of using enterprise Java (Spring, Hibernate, etc. ), but with the simplicity of Rails (scaffolding, convention over configuration, Groovy scripting, etc.). My company is considering rolling out a new enterprise scale web application built on top of Grails. I heard there were some problems with stability and defects in earlier releases of the platform. However, I haven't seem many complaints since becoming part of Springsource.

I am curious if anyone has any opinions or experience in using Grails for large scale web apps. Is it stable? Reliable? Any gotchas I should look out for? Any other observations? Thanks!

+1  A: 

For some previous discussion on this topic take a look at

matt b
The second link was a real help. Thank you! Most of the comments I found while searching (here and Google) were outdated - people griping about 1.0. I wanted to know if most of those gripes have now been addressed. Really the only concern I have now is performance. So far my app is performing well, but I have have not yet designed any complicated queries. As long as I am careful (ie - avoid n+1 problem), I am expecting it to hold up fine. I sure hope that is the case!
Jeff
+2  A: 

Short Answer

Yes

Longer Answer

Stability and reliability of the core has improved considerably since 1.0. It seems that each new release introduces a few bugs, but workarounds/fixes tend to emerge pretty quickly In terms of performance, Grails has always been adequate (for my purposes). Given that Grails is really a Groovy DSL for Spring MVC and Hibernate, and most of Grails is actually written in Java, it would be surprising if Grails' performance was substantially different from a Java web framework like Spring MVC.

The situation is very different when it comes to Grails plugins. Most of these are maintained by the community rather than the Grails team and are much more likely to be abandoned, or fail to keep up with newer versions of Grails. The officially supported plugins (e.g. Spring Security) are of course an exception to this statement.

Don
Thanks! So far I have avoided plugins all together. I am overcoming the (minor) learning curve now and my productivity is pretty high. As long as the performance holds up, I think it will be an excellent design choice.
Jeff