comp.lang.ada
 help / color / mirror / Atom feed
From: Mike Stark <michael.e.stark@gsfc.nasa.gov>
Subject: Re: Ada to byte-code compiler works as advertised
Date: 1996/09/28
Date: 1996-09-28T00:00:00+00:00	[thread overview]
Message-ID: <324D483A.749C@gsfc.nasa.gov> (raw)
In-Reply-To: 52jrt6$frj@map.mda.ca


Ray Blaak wrote:
> 
> Mike Stark <michael.e.stark@gsfc.nasa.gov> writes:
> 
> >1.  Have a Java applet call Ada code.  The application we have been
> >working with is to draw a satellite ground track over a world map.  The
> >graphics is coded in Java, and the computation of latitude and longitude
> >are computed in Ada.
> 
> Would it have been difficult to write the graphics in Ada as well? I have no
> idea what the Ada interface to the Java graphics API is like.
> 
> Cheers,
> Ray Blaak
> blaak@mda.ca
Ray --

I don't believe it would be difficult, but I haven't done this.  
Intermetrics has produced an Ada package interfaces to all the 
classes in the AWT libraries (as well as all the other libraries).
In fact, I believe it would be easier (if you are already Ada literate,
that is) to stick with writing Ada code and to reference the Ada 
interfaces to the Java classes.  One reason we looked at Java calling
Ada is we have a lot of C/C++ types who want to look at Java and to 
produce a sample applet as a learning experience.  Being able to link
in the Ada code to compute longitudes and latitudes was a convenience
to people who wanted to concentrate on drawing the ground track on top
of a map.

Well, that's a long-winded answer.  The short version is that it 
should be easy to write the graphics in Ada, but since I haven't done
it personally I don't want to make a lot of wild claims.

Mike




  reply	other threads:[~1996-09-28  0:00 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-27  0:00 Ada to byte-code compiler works as advertised Mike Stark
1996-09-28  0:00 ` Ray Blaak
1996-09-28  0:00   ` Mike Stark [this message]
1996-09-30  0:00 ` Vince Del Vecchio
1996-10-03  0:00 ` New version of AppletMagic (was Re: Ada to byte-code compiler ...) Vince Del Vecchio
1996-10-04  0:00   ` Michael Feldman
1996-10-05  0:00     ` Tucker Taft
1996-10-06  0:00     ` Matthew Heaney
1996-10-06  0:00       ` Ada on the Mac (was: AppletMagic stuff) Michael Feldman
1996-10-07  0:00         ` Larry Kilgallen
1996-10-07  0:00           ` Michael Feldman
1996-10-07  0:00             ` Larry Kilgallen
1996-10-09  0:00               ` Michael Feldman
1996-10-08  0:00             ` Richard A. O'Keefe
1996-10-09  0:00               ` Michael Feldman
1996-10-08  0:00           ` Hosting Ada on Mac (Was: Ada on the Mac) Laurent Gasser
1996-10-09  0:00             ` Michael Feldman
1996-10-08  0:00           ` Ada on the Mac (was: AppletMagic stuff) Robert Dewar
1996-10-08  0:00             ` Larry Kilgallen
1996-10-09  0:00               ` Michael Feldman
1996-10-09  0:00             ` jim hopper
1996-10-08  0:00       ` Ada and Mac (Was: New version of AppletMagic) Stan Shebs
1996-10-08  0:00         ` Larry Kilgallen
1996-10-10  0:00         ` jim hopper
1996-10-08  0:00       ` Laurent Gasser
1996-10-08  0:00         ` jim hopper
1996-10-08  0:00           ` Larry Kilgallen
1996-10-09  0:00             ` Michael Feldman
1996-10-09  0:00               ` Matthew Heaney
1996-10-11  0:00                 ` Robert Dewar
1996-10-11  0:00                   ` Matthew Heaney
1996-10-10  0:00               ` Larry Kilgallen
1996-10-09  0:00           ` Laurent Gasser
1996-10-09  0:00             ` Larry Kilgallen
1996-10-15  0:00         ` Tucker Taft
1996-10-10  0:00       ` Jon S Anthony
1996-10-10  0:00         ` Larry Kilgallen
1996-10-11  0:00         ` Michael Feldman
1996-10-14  0:00       ` Jon S Anthony
1996-10-16  0:00         ` Michael Feldman
1996-10-17  0:00           ` Larry Kilgallen
1996-10-17  0:00             ` jim hopper
1996-10-17  0:00               ` Robert Dewar
1996-10-18  0:00                 ` Larry Kilgallen
1996-10-21  0:00                   ` Michael Feldman
1996-10-21  0:00                     ` Larry Kilgallen
1996-10-22  0:00                       ` Michael Feldman
1996-10-23  0:00                       ` Steve Wall
1996-10-22  0:00                     ` Tom Halliley
1996-10-23  0:00                       ` Anita Holmgren
1996-10-24  0:00                         ` Tom Halliley
1996-10-23  0:00                       ` Jim Easterbrook
1996-10-17  0:00             ` jim hopper
1996-10-21  0:00             ` Michael Feldman
1996-10-17  0:00       ` Jon S Anthony
1996-10-21  0:00         ` Michael Feldman
1996-10-08  0:00     ` New version of AppletMagic (was Re: Ada to byte-code compiler Dr Paul Gorman
1996-10-09  0:00 ` Ada on the Mac (was: AppletMagic stuff) Stan Shebs
replies disabled

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