Jini Technology Programming Model: Leasing

To make it extremely simple to access and use services, Sun has developed a “leasing” concept for Jini communities. With Jini technology, objects (services) can negotiate leases with each other, specifying type of service, length of time the service is available, and so on.
So in a sense, Leasing provides a loose contract between objects. Each device registers for a certain leased period, and before the lease expires the device must re-negotiate the lease. This way, even if the device is unplugged during the lease period, once the lease expires the device’s registry will be removed automatically.
All resources can be shared or non-shared.  Permission is granted or denied via access control software.