Lecture 8-20
Binder and Activator
• Binder: A separate service that maintains a table containing
mappings from textual names to remote object references.
(sort of like DNS, but for the specific middleware)
– Used by servers to register their remote objects by name. Used by
clients to look them up. E.g., Java RMI Registry, CORBA Naming Svc.
• Activation of remote objects
– A remote object is active when it is available for invocation within a
running process.
– A passive object consists of (i) implementation of its methods; and (ii)
its state in the marshalled form (a form that is shippable).
– Activation creates a new instance of the class of a passive object and
initializes its instance variables. It is called on-demand.
– An activator is responsible for
» Registering passive objects at the Binder
» Starting named server processes and activating remote objects in
them.
» Keeping track of the locations of the servers for remote objects it
has already activated
– E.g., Activator=Inetd, Passive Object/service=FTP (invoked on demand)