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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2af838e78888e2b2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-08 09:57:52 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Java Bindings Date: 08 Dec 2001 12:48:46 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <3C116B97.9EA057A7@home.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1007833899 2994 128.183.220.71 (8 Dec 2001 17:51:39 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 8 Dec 2001 17:51:39 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:17628 Date: 2001-12-08T17:51:39+00:00 List-Id: Bruce or Tracy Jacobs writes: > Just finished a Java class. Curious as to whether or not anyone has > written a binding so that Ada can talk to Java and pass data. Since Java is normally interpreted by the JVM, and Ada is normally compiled to machine code, it is not possible to have a normal binding. However, there are several options. If you want to write Ada code that runs on a JVM, and uses all the Sun-defined Java classes, just use an Ada compiler that targets the JVM (JGNAT or ObjectAda for Java). There are also utilities that let you call native Ada code from Java/JVM code. > If so, what is the URL. JGNAT: ftp://cs.nyu.edu/pub/gnat/jgnat ObjectAda: http://www.aonix.com/ (search for "ObjectAda Java") Native Ada from Java: don't remember, can't find it. -- -- Stephe PS Hi Bruce :).