RMI Object services:
In addition to its remote object architecture, RMI gives some basic object services, which may be needed in a distributed application.
1. Object naming/registry service: RMI servers can give services to clients by registering one or more remote object instances with its local RMI registry.
2. Object activation service: It gives a way for server objects to be started on an as-needed basis. Without the remote service activation, a server object has to be started with the RMI registry service.
3. Distributed garbage collection: It is a dynamic process where an object, which has no further remote instances, converts a candidate for garbage collection.