On Tue, 23 Mar 1999, Chee Foong wrote:

  java code. You can look into the java code and you will realized that
  they will not be much more work converting idl to java code by hand.

Actually, this isn't quite true.  The _YourClassOperations.java files
are rather simple--they are just interfaces which your implmentation
must implement.  However, the stubs and skeletons are not so simple,
and rely upon the individual CORBA runtime implementation specifics.
If you look at the output of the _YourClassStub.java files, you'll see
that these files are non-trivial.

Implementing your own behind-the-scenes runtime environment is not too
bad, but you'll have to implement IIOP/GIOP by hand--and the spec is
none too short. We almost went this route, but Blackdown saved me.  
=)

Also, other CDKs don't generate names consistently, even with the
OMG-defined Java-IDL mapping.  I've had the priveledge of modifying
the Orbacus IDL compiler to use the same names as idltojava in an
earlier phase of our project, even though both the Orbacus CDK and
Java2 claim to be standards compliant.  While trivial, it takes a
long, long time to build the whole Orbacus source tree.  =)  The OMG
Java mapping has holes in the naming conventions.

Futhermore, the JDK's CORBA runtime is not at all standards compliant.
Error by omission, I believe, lacking the BOA interface (and quite
possibly many other things that I just haven't worked with).  This
causes considerable headache when working with a compliant system.  
Just as a disclaimer, we're only working with CORBA 2.x, so the 3.x
spec could make me obsolete....

To clarify, this isn't the fault of the Blackdown crew, but rather
JavaSoft who didn't provide a complete CORBA API for the Blackdown
guys to implement.

        --troy

-----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]
  • Corba Chee Foong
    • Troy Wu

Reply via email to