This content has been marked as final.
Show 1 reply
-
1. Re: Why we need port in the invoker?
ron_sigal May 11, 2008 11:54 PM (in response to avihaimar)The Connector is essentially a container for the invoker. It's the invoker that listens to the port.
Can two connectors listen on the same port?
No, they would have to share a ServerSocket, which is not currently possible.
However, a single server can service multiple applications: you can register multiple ServerInvocationHandlers, each associated with a distinct subsystem string, with the same connector. See Chapter 5 of the Remoting Guide (http://www.jboss.org/jbossremoting/docs/guide/index.html).