comp.lang.ada
 help / color / mirror / Atom feed
From: Jerome Hugues <hugues@merlin.enst.fr>
Subject: Re: Interfacing Ada code to Java - resources and hints
Date: Sun, 20 Mar 2005 10:49:58 +0000 (UTC)
Date: 2005-03-20T10:49:58+00:00	[thread overview]
Message-ID: <slrnd3qlam.l3j.hugues@merlin.enst.fr> (raw)
In-Reply-To: pan.2005.03.20.01.31.27.365834@linuxchip.demon.co.uk.uk.uk

In article <pan.2005.03.20.01.31.27.365834@linuxchip.demon.co.uk.uk.uk>, Dr. Adrian Wrigley wrote:
> Hi Guys!
> 
> I'm looking at doing a project linking a network-based Java client
> library to Ada (using GNAT on ia32 Linux).
> 
> So far I haven't found much online info about how to do this :(
> 
> An interesting but old article talks of ADEPT to interface
> via Annex E:
> http://stsc.hill.af.mil/crossTalk/1997/12/adept.asp
> 
> And a newsgroup posting  by Tucker Taft from ten years ago:
> http://archive.dstc.edu.au/AU/staff/crawley/ada/ada-java.txt
> 
> What I want to do seems fairly basic, but I'm not sure
> where to start!  What libraries would I need to link to?
> How do I initialize the Java runtime?  Is Annex E the way to go?
> 
> Does anyone know of basic tutorials and/or working
> code I can plunder to learn how to do this?

If you mean you want to build an 'executable' that uses simultaneously
Ada and Java source code, then you might review jgnat. Unfortunately,
it seems it is no longer supported, but it may provide some basics.

I've used it for a project in my school, the goal was to use stubs
written by an IDL-to-Java compiler with some Ada code. It was
technical, but the project succeeded.

Another option might be to use gcj to compile you java code, and then
interface it with Ada. I have no idea wether this is easy or not.

-- 
Jerome



  parent reply	other threads:[~2005-03-20 10:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-20  1:29 Interfacing Ada code to Java - resources and hints Dr. Adrian Wrigley
2005-03-20  3:43 ` Ed Falis
2005-03-20 10:44   ` Jerome Hugues
2005-03-20  9:22 ` Pascal Obry
2005-03-20 10:49 ` Jerome Hugues [this message]
2005-03-20 12:35 ` Dr. Adrian Wrigley
2005-03-20 18:11   ` Ludovic Brenta
2005-03-20 18:55     ` Dr. Adrian Wrigley
replies disabled

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