Developing a Service
Interface—methods available
The structure of a service will look like this:
- Prepare for discovery—set the security manager
System.setSecurityManager(new RMISecurityManager());
- Discover a lookup service
lookup=new lookupLocator(“LocatorAddress”);
Registrar=lookup.getRegistrar();