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 4031652
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:37:25+00:00 2026-05-20T11:37:25+00:00

I know the title may seem like apples & oranges, but hear me out…

  • 0

I know the title may seem like apples & oranges, but hear me out… 🙂

I’m building the architecture of an MVC app and considering what to use for the core of the controller / services. This stack will also serve as a RESTful API which will be equally as important as the UI.

I’m narrowing down my stack to be built with either Grails or JAX-RS (at this point I’ve ruled out other options and am not super interested in expanding this list). Either way I’ll be using Groovy, and my model and views will be virtually unaffected by this choice, so that further levels some of the differences between the two. Here are the pros/cons that I’ve been pondering and was wondering if anyone had any other inputs or caveat experiences.

Grails

  • I am not going to use a ton of the built-in Grails features (GSP/SiteMesh, Hibernate, nearly all plugins), so I’m concerned that Grails might be a bit heavy for my purposes
  • I’m concerned that I won’t have enough control over my ability to handle the REST API since it is very view-centric
  • I’ve seen inconsistencies in the quality of plugins to the point where I’m not sure I consider them much of a ‘pro’
  • I love the convention-over-configuration & edit-and-refresh, to the point where I’d probably want to wire up something similar if I go with JAX-RS
  • I like the grails command line for everything it streamlines, but I’m concerned that it might get in my way since I’m not using as much of the stack
  • I like the scaffolding but since I’m not using Hibernate or GSP/SiteMesh it might not mesh well

JAX-RS

  • JAX-RS is made for REST. This will make my RESTful API really a snap to implement as I have complete control
  • Groovy is an important part of what makes Grails shine, so I’ll benefit from that even in JAX-RS
  • I love how JAX-RS doesn’t automatically pull in a bunch of other things so I can have more control of what components are in/out
  • unfortunately since it doesn’t pull in everything else anything that I end up needing will require more work, whereas Grails might have a plugin
  • the grails command line and scaffolding will be missed; perhaps Maven can fill some gaps

It seems like the capabilities of each for creating actions and routing are pretty similar (although the implementation styles are different). In fact there are other SO questions wish touch upon this so I’m not too concerned.

  • 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-20T11:37:26+00:00Added an answer on May 20, 2026 at 11:37 am

    I wrote a small REST service prototype in several frameworks last year (namely Grails, Play!, Spring MVC, Jersey, Restlet). My feeling about Grails in this concern was that although Grails supports REST style architecture, it isn’t really made for it. I don’t want to get religious here, so if you only want to map resources to URLs and HTTP verbs your fine, but if you want to dig deeper into REST with tight control over return codes, location headers, etc. you might still be able to do it with Grails, but it is probably better supported in a pure REST framework.

    Grails also comes with a lot of dependencies, which might not be a problem if you’re starting on a green field, but can cause problems when you have to integrate it with existing legacy components or frameworks.

    From the two used REST frameworks, I liked Jersey more, as it just worked in my case and the documentation was good (although a bit focused on Maven and Netbeans).

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

Sidebar

Related Questions

I know the title may seem strange but this is what I want to
The title may be a little confusing, but I don't know how else to
The title may sound confusing but it actually isn't, I just didn't know how
Hey all, title may be abit misleading but i didnt know the correct way
I know, I know, the title of my message may seem provocative, since boost::mutex
I know that the title may be confusing (or even misleading), but I'm planning
I know the title may be funny for you but I am actually facing
I'm here again with another question/problem. I know that topic's title may be like
I know that the title may sound absurd, but I don't know ho to
The title may be not exactly, but I don't know how to express it.

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.