InvokerLocator locator = new InvokerLocator(locatorURI);
HashMap serverConfig = new HashMap();
serverConfig.put(ServerInvoker.MAX_NUM_ONEWAY_THREADS_KEY, "3");
serverConfig.put(ServerInvoker.MAX_ONEWAY_THREAD_POOL_QUEUE_SIZE, "5");
Connector connector = new Connector(locator, serverConfig);
connector.create();
TestHandler handler = new TestHandler();
connector.addInvocationHandler("test", handler);
connector.start();
HashMap clientConfig = new HashMap();