The theory in CORBA is this: you always use the particular IDL-to-<whatever>
compiler that came with that ORB. For example, it would absolutely make no
sense whatsoever to use Orbix's IDL-to-C++ compiler if you're using
Visibroker as the ORB, as certain ORB-specific features (generated, perhaps
by the Orbix IDL compiler) would never work inside of Visibroker.

Having said that, I suppose it's possible to write 100% "portable"
IDL-generated code that could work with any ORB; I've never tried. I'd argue
that the first step in getting these two to interoperate is to make sure you
use the ORBacus IDL compiler with the ORBacus code.

I know that OOC offers precompiled versions of their idl-to-java compiler on
their website, just in case you don't want to download the C++ ORB and build
it yourself. I'd really start there and see what happens next.

Ted Neward
Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here
http://www.javageeks.com/~tneward
 "I don't even speak for myself; my wife won't let me." --Me

-----Original Message-----
From: Bryce McKinlay <[EMAIL PROTECTED]>
To: Nathan Meyers <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>;
[EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, August 09, 1999 10:25 PM
Subject: Re: [java-linux] Needing help integrating ORBacus with Java-Linux


>Nathan Meyers wrote:
>
>> Bryce McKinlay wrote:
>> >
>> > If you're using ORBacus, you should use ORBacus's jidl compiler
>> > (www.orbacus.com). You can not use the classes generated by Sun's IDL
compiler
>> > with ORBacus (or vice-versa).
>>
>> After diving into the list archives, I find a confusing mix of messages
>> about this situation. Could you clarify? Are .java files generated by
>> jidl3.1.3 always, sometimes, or never usable with JDK1.2's CORBA
>> implementation?
>
>I know from personal experience that classes generated by Sun's IDL
compiler don't
>work correctly with the ORBacus CORBA runtime (maybe they do in some
circumstances,
>but you definatly don't want to rely on it). I guess it is possible that
going the
>other way (using ORBacus jidl with Sun runtime) does work - I've never
tried it. My
>impression was that you shouldn't try to do this, however.
>
>regards
>
>  [ bryce ]
>


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to