From: Shayne Flint <shayne@flint-family.net>
Subject: Re: Calling Java Methods from Ada
Date: Thu, 16 May 2002 22:10:17 +1000
Date: 2002-05-16T22:10:17+10:00 [thread overview]
Message-ID: <3CE3A1A9.643FDB5E@flint-family.net> (raw)
In-Reply-To: 3CE32C4D.85B5F484@acenet.com.au
This capability (in the form of AdaJNI) is part of ObjectAda from Aonix
(http://www.aonix.com/content/products/objectada/windows.html).
Conference papers at SigAda 98 and AdaEurope 2000 may also help.
--Shayne Flint
Geoff Bull wrote:
> See http://www.acenet.com.au/~gbull/
>
> The Alchemist (none@none.com) wrote:
> > A group of us are trying to write a Java GUI to interface to some Ada
> > APIs for a class project. We've spent several weeks trying to get this
> > to work. We initially started with CORBA, but couldn't get Adabroker
> > working easily.
> > We then tried to go with JNI which lets us call Ada functions. However,
> > we need to register callback functions to the pre-existing Ada APIs (to
> > receive events coming from existing Ada infrastructure that will then
> > call Java methods to update GUI components). Our callback functions
> > would like to call Java code, but this doesn't seem possible with a JNI
> > connection (JNI needs a reference to a JNIENV that it only gets when
> > Java calls a JNI method).
> > Is there any way to call Java methods from Ada? Similar to the JNI method
> > for calling Ada from Java? Or do you think we will need to go with an
> > intermediary technology like CORBA or SOAP?
> > Your help would be greatly appreciated as we have spent many hours trying
> > to figure this one out. Our project's success depends on it!
> >
next prev parent reply other threads:[~2002-05-16 12:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-16 3:55 Calling Java Methods from Ada Geoff Bull
2002-05-16 12:10 ` Shayne Flint [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-02 2:33 The Alchemist
2002-03-03 18:44 ` Bruce or Tracy Jacobs
2002-03-04 5:42 ` Ray Blaak
2002-03-04 17:13 ` Ray Blaak
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox