[omniORB] omniORB and Java 1.3...

Duncan Grisby duncan@grisby.org
Mon Jul 15 11:25:01 2002


On Monday 15 July, Thomas Zumbiehl wrote:

> Well, I'm not sure that it comes from a DNS problem. In fact, the method is
> called on an interface which (CORBA) reference is passed through a method of
> the server (like a registerListener()). 

Yes, but if the Java object reference contains a DNS name, omniORB has
to look it up.

> This problem happens only once during the client lifecycle. It's only the
> very fist time the server should contact the client. This type of problem
> does not occur when this mecanism is used between two applications using
> omniORB. That makes me think that the problem may come from the java 1.3
> embedded ORB.

Once the server has contacted the client, it keeps the TCP connection
open. There is no need to do any more look-ups.

The difference of using the Java client is that the Java ORB is
putting the host name in its object references; omniORB uses the IP
address, so no look-up is required.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --