comp.lang.ada
 help / color / mirror / Atom feed
From: stt@houdini.camb.inmet.com (Tucker Taft)
Subject: Re: mixing Java byte code created from Ada95 and Java byte code
Date: 1997/09/22
Date: 1997-09-22T00:00:00+00:00	[thread overview]
Message-ID: <EGxLG3.63s.0.-s@inmet.camb.inmet.com> (raw)
In-Reply-To: 3.0.32.19970917193350.00955db0@iu.net


Sam Harbaugh, Palm Bay, Florida (harbaugh@IU.NET) wrote:

: Is it possible to put compiled Java classes created by a Java compiler from
: Java source code into the Ada95 library and then "with" them when compiling
: an Ada unit and then link them together to get a valid executable file?

Essentially.  We include a tool "java2ada" with our AppletMagic(tm)
Ada=>Java-byte-code compiler which will generate an Ada package
spec given a java byte-code ".class" file.  You then "register"
this package spec (using our "adareg" tool) and you can now call
any of the public methods, and reference andy of the
public fields, of the Java class, from Ada.  See "www.appletmagic.com"
or "www.inmet.com/javadir/download"

: I think that what I'm asking is

: 1) Does some brand(s) of Ada95 compiler know how to handle the withing of a
: library unit compiled by a Java compiler?"

Yes, AppletMagic (and the Ada=>Java component of ObjectAda), via
the "java2ada" tool.

: 2) "Does some brand(s) of Ada95 linker know how to link Java things created
: by an Ada95 compiler to Java things created by a Java compiler?"

Yes, the above compilers generate Java byte codes, and so they
dynamically link to byte-codes compiled by a Java compiler.

: Thanks.

: sam harbaugh

: p.s. I think that no Ada95 compilation system handles this but that it is
: theoretically possible.

--
-Tucker Taft   stt@inmet.com   http://www.inmet.com/~stt/
Intermetrics, Inc.  Burlington, MA  USA




      parent reply	other threads:[~1997-09-22  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-17  0:00 mixing Java byte code created from Ada95 and Java byte code created from Java? Sam Harbaugh, Palm Bay, Florida
1997-09-18  0:00 ` Samuel Tardieu
1997-09-19  0:00 ` Robert Dewar
1997-09-20  0:00   ` Michael Stark
1997-09-22  0:00 ` Tucker Taft [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox