On Wed, May 26, 2004 at 03:10:34PM +0200, SH Solutions wrote: : You could use a HTTP Client library, which understands http 1.1 (if the : server in questions does), and put connections into a central : Map<HostName,Connection>. If queries for the same host occur, you could : reuse them, if they are not timed out.
I considered HTTP/1.1 but left it out for a few reasons, mostly that in this case it would lead to hackishness. ;) For example, the socket may timeout if there aren't enough requests within a given timeframe. Another is that, if the servlet and server aren't managed/owned by the same people, it's a little rude to maintain a 24/7 socket to someone else's machine for a "stateless" protocol... And so on, and so forth... -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]