Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Say, you (by you I mean an abstract guy, any guy in your team) have experience of writing and building java web apps, know about filters, servlet mappings and so on, and so on.

Also, let us assume you know pretty well any sql db, no matter which one exactly, whether it mysql, oracle or psql.

At last, let pretend we know Groovy and its standard libraries, for example all that JsonBuilder and XmlSlurper stuff, so we don't need grails converters.

The question is - what are benefits of using grails in this case. I'm not trying to start flame war, I'm just asking to compare - what are ups and downs of grails development compared to pure groovy one.

For instance, off the top of my head I can name two pluses - automatic DB mapping and custom gsp tags. But when I want to write a modest app which provides small API for handling some well defined set of data, I'm totally OK with groovy's awesome SQL support. As for gsp, we does not use it at all, so we are not interested in custom tags as well.

share|improve this question

put on hold as primarily opinion-based by MichaelT, durron597, Kilian Foth, Snowman, Dan Pichelman yesterday

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Our relatively large Grails app makes no use of the automatic DB mapping (prejudice, don't ask) but still I think that Grails offers a lot of useful features over pure Groovy. The single most important aspect is the automatic mapping from URLs to controllers, actions, GSP pages.

Another aspect is tool support; right now, for whatever reason, Netbeans supports Grails projects, but apparently doesn't seem to support pure Groovy projects.

share|improve this answer
it might sound like we don't like grails, but we also use it pretty heavily ) As for URL mappings, yes, totally agree. –  shabunc Nov 29 '11 at 23:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.