• Post Reply Bookmark Topic Watch Topic
  • New Topic

NamingContext object

 
Paul Keohan
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been running a very basic CORBA application following a tutorial. In my server, I have the following code :


I get an error when I run this but I want to be able to assign more than one servant object to the NamingContext (ncRef). obj1 & obj2 are the servant objects. I admit the last two lines don't look right but how do I go about adding more than one? - or do I always have to have a separate server object for each NameComponent?
Thanks for any input.
Paul
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!