RMI Summary: Errors & GC
Additional errors can be encountered; new exceptions must be addressed.
RMI uses a reference counting gc; a zero count marks the distributed object as a weak reference. A “lease” is made on remote objects with a “dirty” call. Leases must be renewed or will expire.
The java.rmi.server.Unreferenced interface allows objects to receive notification just prior to finalization. (Single method: unreferenced() ).