tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From renz <>
Subject Remote EJB Client Poor Performance
Date Fri, 17 Oct 2014 08:05:56 GMT

I'm using remote EJB over HTTPS in a JSE app.
I've set up mutual authentification to use a smart card on the client side.
I've developped my own ConnectionFactory and register it like explained in a
former post :

Everything works fine except performance. It takes about 15 sec for each
I can accept it for the first one because of the SSL Handshake.
But it seems like a new connection with a new handshake is done for every
request even 2 :
- 1 for the bean lookup
- 1 for the remote call

Is there a way to use connection pooling or something else to try to reuse
connection when it is possible and avoid new SSL Handshake?

I've logged one the server side and the header keep-alive is activate for
each request.

Any idea?

Thank you very much.

View this message in context:
Sent from the TomEE Users mailing list archive at

View raw message