[omniORB] Possibility of having a CORBA client/server without a nameservice .

Bruce Fountain B_Fountain@motherwell.com.au
Fri, 2 Nov 2001 08:59:11 +0800


Vinaya Kavathekar wrote:
> I have a heterogeneous environment where the server is a C++ 
> application
> using omniORB and the client is a Java app using Java ORB. I 
> also have a C++
> client that uses omniORB.  We want to minimize the number of 
> applications
> that are started with our server and hence would like to eliminate
> dependencies on the nameservice. I have been able to do so by using
> omniINSPOA within the applications that use omniORB, but am 
> not sure what is
> required (or if it is even possible) to get the same effect 
> from the Java
> client.

I would imagine that pretty much any CORBA implementation these
days will be able to resolve INS references (ie "corbaloc::
hostname:port/Id"), although the server-side mechanism for
setting the ID differs for different ORBs. Since your only
server is written in C++ using omniORB, that shouldn't concern
you anyway.

Suggest you try resolving your INS reference from your java
client and see how you go. Of course, it means you have to
pin the port used by your server, but you would have to do
this with the naming service anyway.

Best regards,

Bruce Fountain