aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes HTTP help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "HTTP help" Watch "HTTP help" New topic
Author

HTTP help

anis mistry
Ranch Hand

Joined: Nov 11, 2000
Posts: 52
what do you mean by HTTP is a stateless protocol
Anupama Rao
Greenhorn

Joined: Aug 04, 2000
Posts: 13
To what I have understood, Http protocol is stateless because, once the data packets reach the destination, the connection with the server gets disconnected and only on the next request does the communication starts. To be more clear let us talk of a phone call made. Here, when there is a ring on the phone, we pick it up to talk. The person on the other end says hello. The phone line is still active when this response is caught and is sent to the receiver and continues till you credle the phone. This is a statefull session. But in case of an Http protocol, once the message is sent, it is divided into packets and the packets are sent to the detination and the connection is closed once this process is trough. It again gets activated for the next request. The basic advantage ot this is to provide a better speed of the data by letting the channel free for other requests. Hope this explains the http protocol in a lay man's language. Please let me know if I am wrong.
anis mistry
Ranch Hand

Joined: Nov 11, 2000
Posts: 52
thank you anupama i think you are right
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP help