johny
johny

Reputation:

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 open.

thanks for comments

Upvotes: 0

Views: 3088

Answers (1)

Frunsi
Frunsi

Reputation: 7147

HTTP Keep-Alive seems to be your answer.

Check these websites for details.

Upvotes: 1

Related Questions