CHAPTER 20
CORBA
CASE STUDYstubs/proxies marshal the arguments in invocation requests and unmarshal exceptions and results in replies.
Implementation repository ◊ An implementation repository is responsible for activating registered servers on demand and for locating servers that are currently running. The object adapter name is used to refer to servers when registering and activating them. An implementation repository stores a mapping from the names of object adapters to the pathnames of files containing object implementations. Object implementations and object adapter names are generally registered with the implementation repository when server programs are installed. When object implementations are activated in servers, the hostname and port number of the server are added to the mapping.
Not all CORBA objects need to be activated on demand.
Some objects, for example callback objects created by clients, run once and cease to exist when they are no longer needed. They do not use the implementation repository.
An implementation repository generally allows extra information to be stored about each server, for example access control information as to who is allowed to activate it or to invoke its operations. It is possible to replicate information in implementation repositories in order to provide availability or fault tolerance.
Share with your friends: