| org.jboss.invocation.pooled.server.PooledInvokerHA
PooledInvokerHA | final public class PooledInvokerHA extends PooledInvoker implements InvokerHA(Code) | | This invoker pools Threads and client connections to one server socket.
The purpose is to avoid a bunch of failings of RMI.
1. Avoid making a client socket connection with every invocation call.
This is very expensive. Also on windows if too many clients try
to connect at the same time, you get connection refused exceptions.
This invoker/proxy combo alleviates this.
2. Avoid creating a thread per invocation. The client/server connection
is preserved and attached to the same thread.
So we have connection pooling on the server and client side, and thread pooling
on the server side. Pool, is an LRU pool, so resources should be cleaned up.
author: Bill Burke version: $Revision: 57188 $ |
invoke | public Object invoke(Invocation invocation) throws Exception(Code) | | Invoke a Remote interface method.
|
jmxBind | protected void jmxBind()(Code) | | |
|
|