From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,94c0982b11720d31 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!usenet-fr.net!news.enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Robert C. Leif" Newsgroups: comp.lang.ada Subject: Re: Ada-Java interface Date: Fri, 1 Jul 2005 08:20:38 -0700 Organization: Newport Instruments Message-ID: Reply-To: rleif@rleif.com NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1120231305 12226 212.85.156.195 (1 Jul 2005 15:21:45 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 1 Jul 2005 15:21:45 +0000 (UTC) To: "Comp. Lang. Ada" Return-Path: X-Authenticated-User: rleif.rleif.com X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcV+UGDMyAMSUORyQAOpqMfBlsR6Ng== X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:11813 Date: 2005-07-01T08:20:38-07:00 Another approach would be to use A# and to use Microsoft's .NET and Java/J2EE Interoperability http://msdn.microsoft.com/vstudio/java/interop/default.aspx "No application is an island, and the need to interoperate is common. The links on this page discuss how best to write code and systems that interoperate between .NET and Java/J2EE." Bob Leif ------- Date: Fri, 1 Jul 2005 10:01:05 +0100 From: Marius Amado Alves Subject: Re: Ada-Java interface To: comp.lang.ada@ada-france.org Message-ID: <74bd3429a531024bf63270c8f2b19863@netcabo.pt> Content-Type: text/plain; charset=US-ASCII; format=flowed >> solution for the Ada-Java interface would be, on the Ada side, to be >> able to import/bind Java classes and packages, and generate JBC. Is >> this viable? Which GNAT version? Any examples? Thanks a lot. To >> illustrate, a Java unit that the Ada part needs to import follows. >> > The old, unsupported?, JGNAT might have been the answer you seek > -- as I recall (having never used it) it compiled Ada into java byte > codes. Hmm... I found this statement by Robert Dewar: "... so people know, the status of JGNAT is that we have kept the sources updated to the minimal extent that they compile, but we no longer support this product and it was never fully completed. This means that the sources in their current state are probably quite far from being usable." (Robert Dewar, on gcc@gcc.gnu.org, 07 Jul 2004) So it seems JGNAT is a no go. (Or is it?) There is also reference to a similar tool from Intermetrics. Anyone knows? (And does it have 'Unrestricted_Access? :-) Thanks a lot.