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-Thread: 103376,8e0cb57b5e30a8be X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Java wrappers around Ada? References: <1143032491.488772.259820@j33g2000cwa.googlegroups.com> In-Reply-To: <1143032491.488772.259820@j33g2000cwa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.214.35.215 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1143069941 12.214.35.215 (Wed, 22 Mar 2006 23:25:41 GMT) NNTP-Posting-Date: Wed, 22 Mar 2006 23:25:41 GMT Date: Wed, 22 Mar 2006 23:25:41 GMT Xref: g2news1.google.com comp.lang.ada:3561 Date: 2006-03-22T23:25:41+00:00 List-Id: kk_oop@yahoo.com wrote: > Hi. My team has a bunch of legacy Ada code. Our new code is being > written in Java. However, we still have many complex algorithms > written in thousands of lines of Ada. Rather than rewriting the > tested/validated Ada code in Java, we'd like to create a Java facade > that would delegate to the Ada code, thereby making the Ada code > available to newer Java client objects. Is this reasonable (as opposed > to rewriting everything in Java)? Anyone know what > mechanisms/libraries would support such an approach? You have a number of options. Some compilers support Ada as a language for JNI. There are also compilers that output Jcode from Ada. You might be able to turn your Ada into a dynamic library and call that from Java. You could rewrite all your Ada in Java, though I don't recommend that. The best option, of course, is to do all your code in Ada, but you'd have to be competent SW engineers to choose that. -- Jeff Carter "Son of a window-dresser." Monty Python & the Holy Grail 12