Do I have to renew my leases explicitly, or does Jini do this automatically for me like RMI does?

Tim Rohaly

Leases are granted by services and are used to loan use of that service to a client. A client can use the service only while it holds a valid, current lease. To keep the lease current, the client has to renew it periodically. It does this by invoking the renew() method of the lease object, or by delegating the lease renewal to a helper class like LeaseRenewalManager or JoinManager. The Jini infrastructure does not renew leases automatically on behalf of the client.