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

  • Home
  • SEARCH
  • 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 6908401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:33:32+00:00 2026-05-27T08:33:32+00:00

Consider the situation. I am writing a statistical analysis app. The app has multiple

  • 0

Consider the situation.

I am writing a statistical analysis app. The app has multiple tiers.

  1. Frontend UI written for multiple device types, desktop, browser,
    mobile.
  2. Mid-tier servlet that offers a so-called REST service to
    these frontend.
  3. Backend that performs the extreme computation of the statistical
    processing.
  4. Which communicates with a further backend database

Due to the reason that statistical analysis requires huge amount of processing power, you would never dream of delegating such processing to the front-end.

  1. The statistical analyses consists of procedures or a series of
    work-flow steps.

  2. Some steps may require so much processing power, you would not want
    to repeat them.

  3. If you have a work-flow of 20 steps, you cannot execute step 20
    without first executing step 19, which cannot be executed without
    first executing step 18, so on and so forth.

  4. There are observation points, such that, for example, the
    statistician must inspect results of steps 3, 7, 9, 14, 19 before
    telling to client-side to proceed to the next step.

  5. Each of these steps are a so-called request to the REST service, to
    tell the backend supercomputer to progressively set up the
    statistical model in memory.

  6. There are many workflows. Some workflows may incidentally share step
    results. e.g., Flow[dry]:Step[7] may share Flow[wet]:Step[10]. Due
    to the amount of processing involved, we absolutely have prevent
    repeating a step that might incidentally have already be
    accomplished by another flow.

Therefore, you can see that in the so-called REST service being designed,
it is not possible that each request be independent of any previous request.

Therefore, how true can the following statement be?

All REST interactions are stateless. That is, each request contains
all of the information necessary for a connector to understand the
request, independent of any requests that may have preceded it.

Obviously, the application I described, requires that request be dependent on previous request. There are three possibilities that I can see concerning this app.

  • My app does not comply to REST, since it cannot comply to stateless requests. It may use the JAX-RS framework, but using JAX-RS and all the trappings of REST does not make it REST, simply because it fails the stateless criteria.
  • My app is badly designed – I should disregard trying to avoid the temporal and financial cost restacking up a statistical model even if it took 5 – 15 minutes for a workflow. Just make sure there is no dependence on previous requests. Repeat costly steps when necessary.
  • The stateless criteria is outdated. My understanding of REST is outdated/defective in that REST community have been constantly ignoring this criteria.

Is my app considered RESTful?

New Question: ISO 9000

Finally, in case my app is not completely considered RESTFul, would all references to “REST” need to be omitted to pass ISO 9000 certification?

new edit:

REST-in-piece

OK, my colleague and I have discussed this and decided to call such an architecture/pattern REST-in-piece = REST in piecemeal stages.

  • 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-27T08:33:32+00:00Added an answer on May 27, 2026 at 8:33 am

    ISTM, you’re reading too much into to statelessness. A REST API supports traditional CRUD operations. The API for CouchDB is good example of how DB state is updated by a series of stateless transactions.

    Your task is to identify what the resources are and the “state transfers” between them. Each step in your workflow is a different state transfer, marked by a different URI. Each update/change to a resource has an accompanying POST/PATCH or an idempotent PUT or DELETE operation.

    If you want to gain a better of understanding of what is means to be RESTful and the reasons behind each design choice, I recommend spending a hour reading Chapter 5 of Roy Fielding’s Dissertation.

    When making design choices, just think about what the principles of RESTful design are trying to accomplish. Setup your design so that queries are safe (don’t change state) and that they are done in a ways that can be bookmarkable, cacheable, distributable, etc. Let each step in the workflow jump to a new state with a distinct URI so that a user can back-up, branch out different ways, etc. The whole idea is to create a scalable, flexible design.

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

Sidebar

Related Questions

Consider this situation: There's a critical VB6 desktop application running on a production box.
I was writing an web app in PHP, when I encountered a strange situation.
Consider following situation: there is ComboBox and a filter TextBox, then user types a
I am writing an application which works on 3 tiers Each having multiple instances
Consider a situation: I've made multiple changes to one versioned file and want to
Consider this situation: I've got an aquarium simulator where I have 5 different types
Consider the following situation. I've 2 types of backgrounds: 1.Photoshop gradients for which I
Consider a situation in which you need to call successive routines and stop as
Consider a situation. I have an in-proc COM server that contains two COM classes.
This is a complex question, please consider carefully before answering. Consider this situation. Two

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.