Hi All, While looking at straightforward remote EJB lookup and invocation via https in Wireshark, it looks like a different connection is being used each time, which is causing a SSL handshake and knock-on performance impact. I've committed a fix for this, which is to make sure the response is fully consumed at the end of the request: https://github.com/apache/tomee/commit/2c9a0a151bf3e51497d0338043c1ec09313512e0
Currently looking at how to add a unit test. Essentially, making two calls to a remote EJB should both come from the same source port. The http connection unit tests in openejb-client don't seem to pass through the Client class as far as I can tell, and I'm not sure there's enough contextual information available if I deploy a EJB in an Arquillian test and call it remotely. If you have any thoughts let me know - I'll keep plugging away at it. Jon
