Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 812617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:13:49+00:00 2026-05-15T01:13:49+00:00

I’ve been looking at web frameworks like Rails, Grails, etc. I’m used to doing

  • 0

I’ve been looking at web frameworks like Rails, Grails, etc. I’m used to doing applications in Spring Framework with Hibernate… and I want something more productive.

One of the things I realized is that while some of the things in Grails is sexy, there are some serious problems with it. Grails’ controllers:

1) are implemented awfully. They don’t seem to be able to extend from super classes at runtime. I tried this to add base actions and helper methods, and this seems to cause grails to blow up.

2) are based on an obsolete request parameters model (rather than form backing objects, which are much nicer).

3) are hard to test. Command objects are treated totally differently… and it’s actually MUCH harder to write the test than it is to write the controller code.

4) Command objects operate totally differently. They are pre-validated and bound, which causes a lot of inconsistencies than basic parameter model.

5) Command objects are not reusable, and it’s a pain in the rear to reuse most of the stuff from the domain classes, like constraints and fields. This is TRIVIAL to do in basic Spring. Why the hell was it not trivial to do in Grails?

6) The scaffolding that is generated is pure crap. It doesn’t generalize inserts and updates… and it actually copy/pastes a pile of code in two views: create.gsp and edit.gsp. The views themselves are gargantuan piles of doggie do-do. This is further compounded by the fact that it uses low-level parameters and not objects.

Integration tests are 30x slower than a Spring integration test. It is disgusting.

Some mocking tests are so hard to write and aren’t guaranteed to work when it’s deployed, that I think it discourages fast, tdd test cycles.

Most things seem to screw up grails while it’s running, like adding a taglib, or anything really. The server restart problem wasn’t solved at all.

I’m starting to think going with Spring/Hibernate/Java is the only way to go. While there is a pretty big cost at startup, I know it’ll eventually smooth out.

It sucks I can’t use a language like Scala… because idiomatically, it is so incompatible with Hibernate.

This app is also not a run-of-the-mill UI over a database. It’s got some of that, but it’s not going to be a slouch. I am deathly scared of Grails now because of how crap it is in the Controller layer.

Suggestions on what I can do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T01:13:49+00:00Added an answer on May 15, 2026 at 1:13 am

    All abstractions leak. You name six items on the contra side for grails. One for Spring. It seems, you’d prefer Spring, then.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.