[jboss-user] [Remoting] - Re: Why we need port in the invoker?

ron.sigal@jboss.com do-not-reply at jboss.com
Sun May 11 23:54:41 EDT 2008


The Connector is essentially a container for the invoker.  It's the invoker that listens to the port.

anonymous wrote : 
  | 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).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150024#4150024

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150024



More information about the jboss-user mailing list