LiveTribe - LiveTribe-SLP (original) (raw)

SLP is useful in all those cases where you need to contact a remote service, but you don't know where it is located, or you don't know its JNDI name.

Example: You want to contact an RMI server, but you don't know under which JNDI name the stub has been registered.

Example: You want to contact a JMXConnectorServer, but you don't know its JMXServiceURL.

Example: You want to know how many JVMs there are in the network, but you don't know the exact number or host location.

Example: You want to automatically, with no additional programming, advertise a service URL when your OSGi service is registered and automatically removed when the OSGi service is unregistered.

Example: You want to register OSGi service trackers to keep track of service URLs being registered on the network.

Example: You want to leverage OSGi's Configuration Admin Service to configure SLP Service Agents and User Agents.