I'm not having a problem, really.  The situation is that the output of
idltojava compiler of CDK-A doesn't compile with CORBA classes of
CDK-B (Corba Development Kit, that is =).  Only runtime object
instances are interoperable; not their source.

*.java files generated by IDL compiled with JDK's IDL compiler won't
compile with the ORBacus CORBA classes; i.e., with the CLASSPATH set
with OB.jar in front of /app/jdk-1.2/lib/tools.jar.  The opposite is
also true.  *.class files _ARE_ sharable, provided that the CDK which
was used to compile the respective *.java files is in the CLASSPATH
first.

It boils down to the fact that JDK-1.1 works perfectly well with
ORBacus, but try compiling the same code with the Solaris or WinBlows
NT version of the JDK.  If you have ORBacus, you don't need the CORBA
support in 1.2, since it's a rather different flavor anyway and lacks
the idltojava compiler.

The CORBA support in Java2 (for Linux) is a blessing in our
environment only because we're running the Solaris JDK's idltojava
compiler and using the JDK's CORBA classes.  Then, we take the IDL
output (*.java file), compile it (into *.class files), jarball it, and
move it to the linux box, where we develop and compile the rest of the
code (with the JDK's CORBA classes for Linux).

For a complete, standalone, Linux+CORBA+Java solution, ORBacus (or any
other compliant CDK) is the best bet; i.e., a CDK with an IDL
compiler.

        --troy
  
  What's the problem exactly? Did you try setting the primary
  bootclasspath to the ORBacus classes? (Personnaly, I do not have
  any experience on Linux, but with earlier versions of Visibroker
  for NT and Solaris it was a viable solution to set the
  bootclasspath, so it point to Visibroker classes first and then to
  the JDK 1.2 classes. As to JDK 1.2 for Linux and ORBacus, I have
  not even installed the JDK 1.2 pre on Linux, just looking at the
  possibility of using it in combination with ORBacus.)
  
  Peter
  
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CC/IT d@ s+:+>+: a-- C+++$ ULUVS++++$ UA++ UI+ UO P+ L+++$ E+
W+++$ N+(++) o? K? w---(++) O+ M(-) V-- PS+(++) PE Y+ PGP-- t++@ 5- X+
R* tv b++(+++)@ DI+++@ D+ G+ e-* h++*(---) r@ y++**>+++++$
------END GEEK CODE BLOCK------

[EMAIL PROTECTED]                   http://labnet.stanford.edu/~troywu


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

Reply via email to