×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

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

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

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

(OP)
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

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

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.

Cal


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

(OP)
Could you be so gentle to show me or to tell me where I can get an example of a Factory use?
Marco

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close