comp.lang.ada
 help / color / mirror / Atom feed
From: Geoff Bull <gbull@acenet.com.au>
Subject: Re: JNI for ADA?
Date: 1998/10/15
Date: 1998-10-15T00:00:00+00:00	[thread overview]
Message-ID: <3625E79B.CCDB515@acenet.com.au> (raw)
In-Reply-To: 36236F85.4EBFB122@lmco.com



Dave Brown wrote:

> Hi,
>
> I was wondering if there was a version of JNI that would communicate
> with Ada83 programs.
> I found AdaJNI, but that is an expensive comercial package. Are there
> any freeware versions out there? I dont need anything as fancy as AdaJNI
> either, just a way to Java and Ada to pass objects. I would use and Orb,
> but the project calls for JDK 1.1.5 :(
> Please reply both to group and email
>
> thanks,
> -Dave

  How much of JNI do you need?
I have been working on this very thing, but only have a tiny bit done
- enough to invoke a JVM, find a class and invoke a static method.
I am also working on a binding to the Java library,
(my real motivation is have all those API's available to Ada).
and wanted to sort that out before I release my JNI code.
(there is also zero doco).

I was planning on  GPL.
Unfortuneately I don't have time to do more work on it until late November.

Oh, I just realised you want Ada 83.
My code is intended Ada 95 (as is AdaJNI).
However the lowest level is just a wrapper around the JNI C interface,
so you could probably replace all those pragma conventions with whatever
your particular Ada 83  compiler requires for interfacing to C.


Geoff Bull
Murray Bull Information Technology Pty Ltd





  parent reply	other threads:[~1998-10-15  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-13  0:00 JNI for ADA? Dave Brown
1998-10-13  0:00 ` Jonathan Revusky
1998-10-15  0:00 ` Geoff Bull [this message]
1998-10-20  0:00 ` Debora Weber-Wulff
replies disabled

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