This topic has not yet been written. The content below is from the topic description.
Bisocket transport The bisocket example shows how to set up push callbacks with the bisocket transport, using its facility for avoiding the use of a ServerSocket and TCP port on the client. The key section is HashMap metadata = new HashMap(); metadata.put(Bisocket.IS_CALLBACK_SERVER, "true"); TestCallbackHandler callbackHandler = new TestCallbackHandler(); client.addListener(callbackHandler, metadata); which configures the callback Connector appropriately. To run the example, type ant run-bisocket-server in one window, and type ant run-bisocket-client in another window.