[omniORB] Re: use of poa and servant locator

bjorn rohde jensen bjensen@fastmail.fm
Thu Mar 13 18:46:01 2003


Hi Stefano,

  The use of a servant locator is completely transparent
to the clients. The servant locator is pretty much
just that; a piece of code called by the POA hosting
the particular objects, when it cant find a servant
incarnating the object, the servant locator is to take
care of that. The idea behind servant locators is, that
you can create a much greater number of object references
than you actually provide servants for, and then only
create servants for those objects, when they are actually
needed. Object references are small and making lots of
those is not too bad, but servants need not be small at all.
I guess, you could think of it as analogous to 'lazy evaluation'.

Yours sincerely,

Bjorn