[omniORB] use of create_object_with_id in omniORB
Duncan Grisby
duncan@grisby.org
Mon Mar 31 11:30:03 2003
On Wednesday 26 March, "bitostef@katamail.com" wrote:
> This kind of use of create_object_with_id always recreate the same
> reference or may create a different one for every object every time
> i restart the server?
The references are always equivalent to each other, as long as you
start the server listening on the same port, with an -ORBendPoint
argument. The text in H&V that started this off was talking about
something else.
> This use of create_object is wrong, inefficient, inelegant, or simply stupid?
> What function should i use to bind names at server start instead?resolve?
Since you are always creating the same object references, there is no
need to bind them into the naming service each time you start up,
although you might want to do so in case they get damaged somehow.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --