53.

previous chapter table of contents next chapter
  

Registration

The server attempts to register the service by calling register() . This may throw a java.rmi.RemoteException , which must be caught. The second parameter to the register() method is a request to the service locator for the length of time to store the service. The time requested may or may not be honored.

The return value is of type ServiceRegistration .

  


A Programmer[ap]s Guide to Jini Technology
A Programmer[ap]s Guide to Jini Technology
ISBN: 1893115801
EAN: N/A
Year: 2000
Pages: 189

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net