comp.lang.ada
 help / color / mirror / Atom feed
From: "David Botton" <David@Botton.com>
Subject: Re: Calling Ada from Java?
Date: 2000/02/01
Date: 2000-02-01T00:00:00+00:00	[thread overview]
Message-ID: <iXBl4.2910$WV5.3072456@news4.usenetserver.com> (raw)
In-Reply-To: 388EBE43.F426565B@celsiustech.se

Another possibility:

If the Java code runs under MS JVM
1. You can create an Ada COM object and then run MS JActiveX on it to
generate Java class files that access the COM object.
2. Create an Ada COM object that supports IDispatch and then you don't need
JActiveX

Under other JVMs (and also MS JVM)
1. Create an Ada COM object and access it using Java2COM
(http://www.nevaobject.com/java/index.htm)

(BTW the new version of the COM framework for Ada (in testing now) allows
use of any Java class running under MS JVM to be used as a COM object and it
would also be possible to pass back COM interfaces from Ada to the Java
code)

David Botton



Ulf Eliasson wrote in message <388EBE43.F426565B@celsiustech.se>...
>Hello
>Is there anyone who can tell me how to make a call to an Ada function
>from a Java main program? I have succeded in making just the call, but I
>can't figure out how to pass parameters and to return values. I'm using
>Win32, jdk1.1.8 and ObjectAda.
>
>Please help me!
>
>/Ulf, uel@celsiustech.se
>








      parent reply	other threads:[~2000-02-01  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-26  0:00 Calling Ada from Java? Ulf Eliasson
2000-01-26  0:00 ` Christophe GOUIRAN
2000-01-27  0:00 ` Geoff Bull
2000-01-28  0:00 ` Tucker Taft
2000-02-01  0:00 ` David Botton [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