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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:58:56+00:00 2026-06-08T17:58:56+00:00

I heard a web application should be as stateless as possible. But it seems

  • 0

I heard a web application should be as stateless as possible. But it seems to me very hard to realize this often. For instance, what if I:

  1. Process a request
  2. Redirect the user to the start page
  3. Want to display the result of the request?

If the result is a little bit more complex, then just a string which could be passed as a parameter (or I don’t want to include that information via URL), then I cannot combine 2. and 3.

The only solution I can think of here is keeping the information as states in the Java program.

But that would break with the rule of a stateles web application, wouldn’t it?

  • 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-06-08T17:58:57+00:00Added an answer on June 8, 2026 at 5:58 pm

    I heard a web application should be as stateless as possible

    What? There is state everywhere in a web app, both in the client and on the server. Frameworks like Sproutcore/Ember even have components called State Managers to manage, um, the state.

    The server maintains some state in a user’s session (typically).

    Did you hear that HTTP is stateless? That’s another story, and completely true. Also, it can be a good idea to write server side components that don’t share state, due to threading concerns. But neither of those points should be taken to imply that your application doesn’t have state.

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

Sidebar

Related Questions

I've heard something and seen some examples of web application built using ASP.NET /
I'm going to develop a web application using SmartGWT. I've heard about Vaadin framework.
I need to build an application outside of my normal comfort zone (web/PHP/JavaScript). Should
I heard some facts about ZeroMQ, and I think it's very powerful thing. But
I'm currently designing an architecture for a web-based application that should also provide some
I am currently building a java-servlet-based web application that should offer its service to
I am having a multi-threaded application that fetches different web pages. For this, I've
I am trying to design an ASP.net based mobile web application that should run
I'm trying to use a different theme on my primefaces (2.2.1) web application but
I am wanting to port my application to a web app. The app should:

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.