Yonik Seeley wrote:
Even if we go HTTP, I'm not sure it will be async at first - does
HTTPClient even support async?
yes. The HTTPCore (lower level component of HTTPClient) has the
implementation for non-blocking IO. Pl checkout
http://jakarta.apache.org/httpcomponents/httpcomponents-core/httpcore-nio/index.html
If using jdk HTTPConnection, the connection handling is done by jdk.
System properties *http.keepAlive* and *http.maxConnections* can be used
to control connections. Refer
http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html
-Sharad