On Tue, May 25, 2004 at 12:28:04PM +0100, [EMAIL PROTECTED] wrote: : I have an HTTP Servlet that treats somes information and then make a : GET URL with that information, the problem is that everytime the HTTP Servlet : is requested to treat the information and then do a GET URL I'm opening a new : connection to that URL and than close the connection. So if I have 10000 : requests I will open and close about 10000 sockets to GET the URL. Is there a : way to avoid this?
If I understand your question, there's no good way around this if you *must* use an HTTP call. HTTP is all about stateless, quick-hit requests, and it sounds like you're aiming for more of a stateful, constant-connection protocol. Furthermore, if you're opening connections to different hosts each time, then reusing the same socket is moot anyhow. Is it a requirement that you perform an HTTP call? Could you get this information, say, from a database? -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]