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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:03:42+00:00 2026-05-23T16:03:42+00:00

For example, Play-framework supports RESTful services like this: RESTful on Play! framework How does

  • 0

For example, Play-framework supports RESTful services like this: RESTful on Play! framework

How does this compare to something like Jax-RS Jersey implementation? Does a framework like Play run circles around Jersey because of all it’s cool bells and whistles, and it does REST too?

Developer productivity is important, but so is a proper implementation. Perhaps using an MVC framework for REST only services is ‘wrong’?

Note, only RESTful services, no UI components at all.

  • 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-23T16:03:43+00:00Added an answer on May 23, 2026 at 4:03 pm

    Even though it’s not “wrong” to use an MVC framework for RESTful services, there are some pros and cons versus using a JAX-RS implementation.

    (Disclaimer: I have only used Jersey and Play! for fun, and not on production-grade systems, so I have tailored my comments more generally to MVC vs. JAX-RS. Keep in mind that these are broad generalizations.)

    MVC frameworks–at least the ones that are considered developer friendly and “slick”–typically save you from having to build a persistence layer (the model part). Most also simplify “routing” requests using either scaffolding via convention or some form of configuration. The downsides are that you have to conform to some conventions for your controllers and usually have to write a view for each resource (or build layers of abstractions to avoid rewriting the same code).

    JAX-RS excels at defining the routing (using Java annotations) as well as eliminating any restrictions on the service class. In my experience, that has greatly reduced the amount of boilerplate code and developer overhead. Jersey and Apache CXF also handle the XML or JSON serialization using JAXB annotations, which eliminates the need to figure out the view in an MVC context. The downside here is that you have to figure out your own ORM or persistence layer, which could be good or bad depending on whether you’re building on top of existing data or creating a greenfield system (or using something other than an JPA/RDBMS e.g. NoSQL data store).

    My own personal comment: Play! is a really cool framework, but I’d choose CXF (or Jersey) over an MVC framework any day for building out a RESTful service. In my experience, this frees up the developer to focus on the logic needed for the service, and opens up options for different database approaches. Right tool for the right job.

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

Sidebar

Related Questions

I would like to Access Play! Framework application over the LAN using different IP's
I have developed 2 applications with Play Framework, accessing different information, so it does
So I have two custom complex types like this (oversimplified for this example): public
I'm experimenting with the Play Framework and really like the experience thus far! Especially
I am developing a little game (I'm using Play! framework ). In this game,
Basically I started to design my project to be like that: Play! Framework for
iam trying play animation with xcode,in specefic Time for example after 3 minutes play
Is there a way in C# to play audio (for example, MP3) direcly from
Information theory comes into play where ever encoding & decoding is present. For example:
I'm just starting to play around with Google Guice as a dependency injection framework

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.