Keep connection open for multiple web service requests
I would have question regarding web services. Let's say I have webservice client that has to perform under high load. And I cannot use another technology.
Is it possible somehow to keep the connection open for all requests, to avoid overhead when establishing new tcp/ip connections? And in case of managed environment, is it possible having kind of pooled web service connection as it is the case of jdbc connections or JCA??
I am currently working with stubs generated by sun's wsimport and cannot see any possibility how to keep the connection开发者_如何学Python open.
thanks for comments
HTTP Keep-Alive seems to be your answer.
Check these websites for details.
精彩评论