Ok, a naming context will let me find other objects but how do I get the first naming context?

Bruce Martin

This is the bootstrapping problem, i.e. you must get the object reference of some context in order to use the naming service. CORBA defines a resolve_initial_references() method on the orb to solve this. Thus, to get the initial naming context in Java simply call:

orb.resolve_initial_references("NameService");

The initial naming context for a program is set administratively.

Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact