Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

More servant at the same type: The ORB uses the first one connected

Status
Not open for further replies.

marcob

Programmer
Aug 1, 2000
8
0
0
IT
Hi,
I have problem connecting two or more istances of the same servant type; the ORB uses only the first connected to reply to clients. I suppose I have to use NameComponents in a certain way but I don't know how. Could you please show me an example of such a case?
Thanks, Marco
 
Could you be a bit more specific - if you connect to an object via the naming service then all clients will point to that particular object. The only way to get a separate object back for each client would be to register a factory class in the naming service and to create an instance of that in your clients. These would then get back a separate object each.
 
Could you be so gentle to show me or to tell me where I can get an example of a Factory use?
Marco
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top