Alex Rivera | Logout

what does it mean when they say http is stateless

Asked 2011-02-06T14:09:39.580
43

I am studying Java for web and it mentions HTTP is stateless. What does that mean and how does it effect the programming?

I was also studying the Spring framework and there it mentions some beans have to be declared as inner beans as their state changes. What does that mean?

Edit
Report

1 Answer

13

HTTP is stateless - this means that when using HTTP the end point does not "remember" things (such as who you are). It has no state. This is in contrast to a desktop application - if you have a form and you go to a different form, then go back, the state has been retained (so long as you haven't shut down the application).

Normally, in order to maintain state in web application, one uses cookies.

answered 2011-02-06T14:14:40.870

Your Answer