A system is provided to facilitate distribution of a service between a
first application and a second application. The system includes a remote
socket object, a service registry, and a service mapper. The service
mapper receives notification from the service registry indicating
registration of the remote socket object created in response to a request
for a service at the first application. The service mapper requests an
active subscription list from the service registry and selects a
subscription record from the active subscription list. The subscription
record is associated with the second application. The service mapper
sends the selected subscription record to the second application using a
remote device port mapped to a localhost port and receives a service
record from the second application including a socket for communicating
with the second application. The service mapper sends a modified service
record that includes a localhost socket mapped to the socket to the
service registry that registers the second application using information
from the modified service record.