Hi
I am trying to suggest Apache Http client library against SUN javax.net.ssl for our application, our application requirement is as follows :
1. SSL support
2. Reuse the SSLSession / HttpState while reconnecting to web server (Apache)
3. Restablishing Http(s) connection multiple times to web server
4. HttpClient should have same behaviour like a Browser (IE)
5. Asynchronous communication where Http client opens connection and should recieve data from server whenever server has some data for http client.
6. Other requirements are Performance, etc..
From the web I found few comparisons but some of them were vague (e.g. One features page of Http client it is written "The jdk has the HttpUrlConnection which is limited and in many ways flawed") but there is no concrete explaination for this.
Another comparison link http://www.nogoop.com/product_16.html#compare does not provide sufficient comparison for my requirement.
Can someone provide concrete link or information, about comparison between Apache Http client library against SUN javax.net.ssl for my requirements ?
For my requirement, I came up with only one valid point where Apache Http client library provides a API where I can associate HttpState with Http(s) connection. I guess if I dig more into JDK I will also find a way to do this over there.
One more question - Does HttpState contain the Credentials ? Does this also contain SSL information (certificates, etc...) It is just a marker interface at the moment. So does it contain certificates, etc... like SUN's SSLSession ?
Regards Himanshu
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]