comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Java Bindings
Date: 08 Dec 2001 12:48:46 -0500
Date: 2001-12-08T17:51:39+00:00	[thread overview]
Message-ID: <ug06lvc01.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3C116B97.9EA057A7@home.com

Bruce or Tracy Jacobs <bljacobs2@home.com> writes:

> Just finished a Java class.  Curious as to whether or not anyone has
> written a binding so that Ada can talk to Java and pass data.  

Since Java is normally interpreted by the JVM, and Ada is normally
compiled to machine code, it is not possible to have a normal binding.

However, there are several options. If you want to write Ada code that
runs on a JVM, and uses all the Sun-defined Java classes, just use an
Ada compiler that targets the JVM (JGNAT or ObjectAda for Java).

There are also utilities that let you call native Ada code from
Java/JVM code.

> If so, what is the URL.

JGNAT: ftp://cs.nyu.edu/pub/gnat/jgnat

ObjectAda: http://www.aonix.com/ (search for "ObjectAda Java")

Native Ada from Java: don't remember, can't find it.

-- 
-- Stephe

PS Hi Bruce :).



  reply	other threads:[~2001-12-08 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-07 23:16 Java Bindings Bruce or Tracy Jacobs
2001-12-08 17:48 ` Stephen Leake [this message]
2001-12-08 20:08   ` James Rogers
2001-12-09 13:56     ` Frank
replies disabled

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