Previous Table of Contents Next


14.7 Bootstrapping Bridges

   A particularly useful policy for setting up bridges is to create a pair of proxies for two Naming Service naming contexts (one in each ORB) and then install those proxies as naming contexts in the other ORB’s naming service. (The Naming Service is described in the Naming Service specification.) This will allow clients in either ORB to transparently perform naming context lookup operations on the other ORB, retrieving (proxy) object references for other objects in that ORB. In this way, users can access facilities that have been selectively exported from another ORB, through a naming context, with no administrative action beyond exporting those initial contexts. (See Section 4.7, “C urrent Object? on page 4-37 for additional information).

   This same approach may be taken with other discovery services, such as a trading service or any kind of object that could provide object references as operation results (and in “out? parameters). While bridges can be established that only pass a predefined set of object references, this kind of minimal connectivity policy is not always desirable.