comp.lang.ada
 help / color / mirror / Atom feed
From: "David Botton" <David@Botton.com>
Subject: Re: ada < - > java bindings wanted
Date: 1999/08/12
Date: 1999-08-13T03:37:14+00:00	[thread overview]
Message-ID: <7p03ta$14fa$1@news.gate.net> (raw)
In-Reply-To: FGD8I1.Joo@news.boeing.com

Since you are planning on running on Win32, an easy solution is to put the
legacy Ada code in to an Ada coded COM object (see
http://www.adapower.com/com and contact ACT for more information on getting
support for COM with Ada) and then run JActiveX on the COM object to produce
a java binding that works in Win32 with Microsoft's native Java support.

The advantage to this is that you can also distribute the Ada code on
multiple machines if you like.

It would also be possible to do the reverse and call your Java code from Ada
by turning your Java code in to COM objects (very easy to do) and calling it
from Ada.

David Botton

Constantine A. Sismanidis wrote in message ...
>We are in the process of porting a very large legacy system from UNIX to
>Windows NT. Most of the code in this system is written in ada (with a
>smattering of C and FORTRAN). The user interface uses the X window System.
>
>We need to be able to call java from an ada main routine (we plan to build
>the user interface in java), and to have java call the legacy ada code. We
>will be using Rational's ada compiler. We *can* get this to work by having
>ada call C which will then call java (using the Java Native Interface); or
>java calling C (using the Java Native Interface), which will then call ada.
>However, we would very much prefer to call java directly from ada, and ada
>from java, in order to avoid the extra layers of code that would be
>required.






  reply	other threads:[~1999-08-12  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-12  0:00 ada < - > java bindings wanted Constantine A. Sismanidis
1999-08-12  0:00 ` David Botton [this message]
1999-08-12  0:00 ` Jim White
1999-08-12  0:00 ` Tucker Taft
1999-08-12  0:00   ` Tucker Taft
1999-08-14  0:00 ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1999-08-20  0:00 Geoff Bull
1999-08-20  0:00 ` Robert Dewar
1999-08-20  0:00   ` Ted Dennison
1999-08-20  0:00     ` Florian Weimer
1999-08-21  0:00     ` Robert Dewar
1999-08-21  0:00   ` Simon Wright
1999-08-22  0:00     ` Robert Dewar
1999-08-22  0:00   ` Geoff Bull
1999-08-21  0:00     ` Robert Dewar
1999-08-21  0:00     ` Robert Dewar
1999-08-12  0:00 Constantine A. Sismanidis
1999-08-12  0:00 ` Stanley R. Allen
1999-08-13  0:00 ` Ted Dennison
replies disabled

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