HTTP is AConnection Less BConnection Base A : Still regarded as connection-less as it�s acceptable for the client or server to drop the connection at any time (e.g. Apache uses a 15 sec timeout on keep-alive sockets), client will re-establish the connection. B : HTTP uses TCP/IP as the underlying transport and network protocols. but which should i choose ?
Hi ZhiYuan HTTP is connectionless. Each HTTP request opens a new connection for the request / response then closes the connection. That is why JAR files (even with 0% compression) will make your downloads of applets faster - there is only one connection being opened to get the one file. Without the jar file you would be opening many connections to get the many class files. Regards, Andrew