comp.lang.ada
 help / color / mirror / Atom feed
* Java GUIs and Ada
@ 2000-05-09  0:00 Nick Almonte
  2000-05-09  0:00 ` Tucker Taft
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Nick Almonte @ 2000-05-09  0:00 UTC (permalink / raw)


I'm currently looking to replace an X-windows/Motif GUI coded in Ada
with a Java GUI.  I don't want to rewrite the backgound Ada processing
code, just the GUI.  Is there a way for Java GUI code to call Ada
procedures, and for Ada to pass data for display to a Java GUI?

-Nick





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Java GUIs and Ada
  2000-05-09  0:00 Java GUIs and Ada Nick Almonte
  2000-05-09  0:00 ` Tucker Taft
@ 2000-05-09  0:00 ` Christophe Gouiran
  2000-05-10  0:00 ` Jeff Creem
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Christophe Gouiran @ 2000-05-09  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]


"Nick Almonte" <Nicholas_Almonte@res.raytheon.com> a �crit dans le message
news: 39180C74.4336ACB8@swl.msd.ray.com...
> I'm currently looking to replace an X-windows/Motif GUI coded in Ada
> with a Java GUI.  I don't want to rewrite the backgound Ada processing
> code, just the GUI.  Is there a way for Java GUI code to call Ada
> procedures, and for Ada to pass data for display to a Java GUI?
>
> -Nick
>
>

Have a look at jgnat, it's certainly what you're looking for.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Java GUIs and Ada
  2000-05-09  0:00 Java GUIs and Ada Nick Almonte
@ 2000-05-09  0:00 ` Tucker Taft
  2000-05-09  0:00 ` Christophe Gouiran
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Tucker Taft @ 2000-05-09  0:00 UTC (permalink / raw)


Nick Almonte wrote:
> 
> I'm currently looking to replace an X-windows/Motif GUI coded in Ada
> with a Java GUI.  I don't want to rewrite the backgound Ada processing
> code, just the GUI.  Is there a way for Java GUI code to call Ada
> procedures, and for Ada to pass data for display to a Java GUI?

You might try AdaJNI from 

   http://www.ainslie-software.com

which allows you to combine compiled Ada code with Java routines.

Alternatively, you could use one of the Ada => Java-byte-code
compilers, either JGNAT from 

   http://www.gnat.com

or AppletMagic from:

   http://www.appletmagic.com
 or
   http://www.aonix.com

> 
> -Nick

-- 
-Tucker Taft   stt@averstar.com   http://www.averstar.com/~stt/
Technical Director, Commercial Division, AverStar (formerly Intermetrics)
(http://www.averstar.com/services/IT_consulting.html)  Burlington, MA  USA




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Java GUIs and Ada
  2000-05-09  0:00 Java GUIs and Ada Nick Almonte
  2000-05-09  0:00 ` Tucker Taft
  2000-05-09  0:00 ` Christophe Gouiran
@ 2000-05-10  0:00 ` Jeff Creem
  2000-05-11  0:00 ` Geoff Bull
  2000-05-24  0:00 ` Daniel Wengelin
  4 siblings, 0 replies; 7+ messages in thread
From: Jeff Creem @ 2000-05-10  0:00 UTC (permalink / raw)



Nick Almonte <Nicholas_Almonte@res.raytheon.com> wrote in message
news:39180C74.4336ACB8@swl.msd.ray.com...
> I'm currently looking to replace an X-windows/Motif GUI coded in Ada
> with a Java GUI.  I don't want to rewrite the backgound Ada processing
> code, just the GUI.  Is there a way for Java GUI code to call Ada
> procedures, and for Ada to pass data for display to a Java GUI?
>
> -Nick
>

Or rethink the entire approach and put on a GtkAda front end...(Unless
you want a PC port soon in which case don't do that since the PC port
of Gtk+ is still fairly weak)







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Java GUIs and Ada
  2000-05-09  0:00 Java GUIs and Ada Nick Almonte
                   ` (2 preceding siblings ...)
  2000-05-10  0:00 ` Jeff Creem
@ 2000-05-11  0:00 ` Geoff Bull
  2000-05-24  0:00 ` Daniel Wengelin
  4 siblings, 0 replies; 7+ messages in thread
From: Geoff Bull @ 2000-05-11  0:00 UTC (permalink / raw)



Nick Almonte wrote:
> Is there a way for Java GUI code to call Ada
> procedures, and for Ada to pass data for display to a Java GUI?

Yes.

You can get a JNI binding at 
http://www.acenet.com.au/~gbull

Another option would be to use JGNAT.

Cheers
Geoff




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Java GUIs and Ada
  2000-05-09  0:00 Java GUIs and Ada Nick Almonte
                   ` (3 preceding siblings ...)
  2000-05-11  0:00 ` Geoff Bull
@ 2000-05-24  0:00 ` Daniel Wengelin
  2000-05-26  0:00   ` Geoff Bull
  4 siblings, 1 reply; 7+ messages in thread
From: Daniel Wengelin @ 2000-05-24  0:00 UTC (permalink / raw)


I had two grad students spend some 10wks on the AdaJNI product in a
realistic evaluation. Didn't turn out all that well at that point in time
(beginning of 2000).
I'll point you to the report when I find it ;-)

Daniel


Nick Almonte wrote:

> I'm currently looking to replace an X-windows/Motif GUI coded in Ada
> with a Java GUI.  I don't want to rewrite the backgound Ada processing
> code, just the GUI.  Is there a way for Java GUI code to call Ada
> procedures, and for Ada to pass data for display to a Java GUI?
>
> -Nick





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Java GUIs and Ada
  2000-05-24  0:00 ` Daniel Wengelin
@ 2000-05-26  0:00   ` Geoff Bull
  0 siblings, 0 replies; 7+ messages in thread
From: Geoff Bull @ 2000-05-26  0:00 UTC (permalink / raw)


Daniel Wengelin wrote:
> 
> I had two grad students spend some 10wks on the AdaJNI product in a
> realistic evaluation. Didn't turn out all that well at that point in time
> (beginning of 2000).

Whatever the merits of the product AdaJNI, this shouldn't be confused
with the merits of using Ada with Java via JNI.

See http://www.acenet.com.au/~gbull for an Ada JNI binding
(new version will be released when I get time to bundle it up,
probably late June).



> I'll point you to the report when I find it ;-)

I'd be interestd to see this.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-05-26  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-09  0:00 Java GUIs and Ada Nick Almonte
2000-05-09  0:00 ` Tucker Taft
2000-05-09  0:00 ` Christophe Gouiran
2000-05-10  0:00 ` Jeff Creem
2000-05-11  0:00 ` Geoff Bull
2000-05-24  0:00 ` Daniel Wengelin
2000-05-26  0:00   ` Geoff Bull

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