Skip to Main Content
DCE Replacement Strategies
book

DCE Replacement Strategies

by Heinz Johner, Jakob Erber, Stephen Hawkins, Klaus Mueller, Pallavi Nagesha Rao, Donna Skibbie
June 2003
Intermediate to advanced content levelIntermediate to advanced
454 pages
10h 19m
English
IBM Redbooks
Content preview from DCE Replacement Strategies
186 DCE Replacement Strategies
Example 9-3 Initialize function of the CORBA application client
int initialize( int argc, char* argv[] ) {
int rc;
::CORBA::Object_ptr objPtr;
::CosNaming::NamingContext_var rootNameContext = NULL;
if ( ( rc = perform_initialization( argc, argv ) ) != 0 )
return rc;
cout << "Before getting naming context " << endl;
// Get the root naming context.
rootNameContext = get_naming_context();
if ( ::CORBA::is_nil( rootNameContext ) )
return -1;
// Find the Greet_Impl created by the server. Look up the
// object using the complex name of domain.GreetContext.GreetObject1,
// which is its full name from the root naming ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 0738453080Purchase book