You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Olekg <ag...@consdata.pl> on 2013/03/15 13:35:04 UTC
Re: How would I turn on keepalives?
Hello,
Could anybody clear me up what are keep-alives for in two way cxf (cxf
client, services deployed on cxf)? In case of calling some WebService, if it
ends, what entity would keep this connection context to be reused?
regards Olek
--
View this message in context: http://cxf.547215.n5.nabble.com/How-would-I-turn-on-keepalives-tp3319890p5724629.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: How would I turn on keepalives?
Posted by Olekg <ag...@consdata.pl>.
Dear Daniel,
Thank for your reply.
I generally understand the idea of keep-alive.
I connot understand where is the object that holds a connection after cxf
client calls some WebService. If I reuest from a broweser, the browser still
runs, and holds the connection. What is some context or cache object in cxf
http client that holds connection from one reuest to the next?
sincerely Olek
--
View this message in context: http://cxf.547215.n5.nabble.com/How-would-I-turn-on-keepalives-tp3319890p5724668.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: How would I turn on keepalives?
Posted by Daniel Kulp <dk...@apache.org>.
On Mar 15, 2013, at 8:35 AM, Olekg <ag...@consdata.pl> wrote:
> Hello,
>
> Could anybody clear me up what are keep-alives for in two way cxf (cxf
> client, services deployed on cxf)? In case of calling some WebService, if it
> ends, what entity would keep this connection context to be reused?
Basically just keeps a connection to the server open so that if another request needs to be sent to the server, it doesn't have to do the expensive operation of creating a new connection.
Usually, the HttpURLConnection objects built into the JDK will manage the connection pooling for this to work. Not much we need to do.
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com