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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:58:28+00:00 2026-05-24T01:58:28+00:00

I have a service-oriented architecture with a single gateway for all client requests. I

  • 0

I have a service-oriented architecture with a single gateway for all client requests. I like this because the gateway is tidy, hides all “internal” services, and acts as a dispatcher and homemade load balancer.

Because of my design, however, the client only ever knows about “one” resource. And must send up messages that have requested operations and their parameters defined in JSON.

{
    "operation" : "Login",
    "parameters" :
    {
         "username" : "John",
         "password" : "1234"
    }
}

Should I be sad because my architecture is not RESTful? Am I not leveraging HTTP like REST prescribes? Please critique.

  • 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-24T01:58:29+00:00Added an answer on May 24, 2026 at 1:58 am

    I don’t know if “sad” is the right word, but one of the arguments in favor of REST, especially as implemented in using HTTP “properly” is that it provides to you, for free, the following (taken from Fielding’s dissertation):

    • Client-Server interaction, separating UI from data storage
    • Stateless Server, improving reliability and scalability
    • Client Cache, reducing some network traffic
    • Uniform Interface, decoupling implementations from the services they provide
    • Layered System, where each component is only concerned with those just below or just above it
    • Representation Orientation, where you think in terms of resources
    • HATEOAS, where your application essentially navigates links
    • A constrained interface, with a small number of verbs (e.g. GET, PUT, POST, DELETE, and only about 3 others)

    When you go with SOAP or another RPC solution, instead of REST, you are in theory giving up some but not all of these characteristics. You may be giving up client cacheability and you are thinking procedurally, and you probably can’t use all the safety and idempotency conditions that RESTafarians exploit to a tee.

    RESTful services have become very popular and not by accident. But does that mean you have to build RESTful services or that non-RESTful services are inherently much worse? I don’t think so. I’ve done a couple RESTful SOAs for two different companies and while I prefer to SOAP (which seems bulky these days) and to home-grown APIs like yours (which, even if elegant, aren’t standard), I don’t diss other approaches and dismiss them as inferior.

    If you are going to go with your own API, and return only 200s and 404s, and do everything with GET, then yes your API is conceptually simple and perhaps it will work fine for you. But if you need a variety of media types, and you have persistent storage requirements containing collections that are often appended to, deleted from, created and updated, then learning modern RESTful API design will at least open up new ways of thinking for you.

    Bottom line is don’t feel sad nor feel like you have to go to REST because everyone else is doing it. But the advantages are real and REST is not just hype.

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

Sidebar

Related Questions

I have a service oriented architecture. The client holds a list of parent and
I currently have service classes that look something like this public class UserService :
I'm designing a RESTful web service utilizing ROA(Resource oriented architecture). I'm trying to work
We have an architecture where we provide each customer Business Intelligence-like services for their
Service Oriented Architecture seems to be more and more of a hot quote these
There's been a lot of interest in Service-Oriented Architecture (SOA) at my company recently.
We are building a service-oriented system where we have separated the application into several
New to WCF and the whole Service Oriented Architecture thing, and trying to get
I have a Service that is, for this discussion, holding a number and a
We are currently getting ready to move to an Event Driven/Service Oriented architecture (know

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.