Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Is HTTP connectionless or connection oriented Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Is HTTP connectionless or connection oriented" Watch "Is HTTP connectionless or connection oriented" New topic
Author

Is HTTP connectionless or connection oriented

John Wetherbie
Rancher

Joined: Apr 05, 2000
Posts: 1449
Hey,
One of Sun's sample SCEA questions deals with the properties of HTTPS. The two correct answers according to Sun are that:
HTTPS is secure
HTTPS is connection based
I have tried to verify the connection-based part (I'm assuming Sun is correct) but haven't been able to do so.
Does anyone know of a resource on the web that talks about this or the RFC number for HTTPS (if one exists)?
Thanks,
John


The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Jim Baiter
Ranch Hand

Joined: Jan 05, 2001
Posts: 532
There's one for HTTP over TLS ("new" SSL) at: http://www.ietf.org/rfc/rfc2818.txt
The TLS RFC is: http://www.ietf.org/rfc/rfc2246.txt
Neelima Garimella
Ranch Hand

Joined: Oct 03, 2000
Posts: 37
I couldn't find whether HTTP is connection less or connection oriented by going through the two links. What I know is HTTP is stateless. Any info on connection less/oriented?
Thanks,
Neelima.
Neelima Garimella
Ranch Hand

Joined: Oct 03, 2000
Posts: 37
What I mean is Info on whether HTTP is connection less or connection oriented not info about connection less/connection oriented.
John Wetherbie
Rancher

Joined: Apr 05, 2000
Posts: 1449
Hi,
I found some more info. HTTP 1.0 is connectionless. HTTP 1.1 has a capability to keep a connection to improve performance. So I guess it can be considered connection-oriented? Also had a discussion about HTTPS on the sockets and internet protocols forum.
Hope this info helps.
John
 
GeeCON Prague 2014
 
subject: Is HTTP connectionless or connection oriented