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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 125171,ec6f7069644a238f,start X-Google-Attributes: gid125171,public X-Google-Thread: 103376,ec6f7069644a238f,start X-Google-Attributes: gid103376,public X-Google-Thread: 10a146,ec6f7069644a238f,start X-Google-Attributes: gid10a146,public X-Google-Thread: 113ae9,ec6f7069644a238f,start X-Google-Attributes: gid113ae9,public From: "Constantine A. Sismanidis" Subject: ada < - > java bindings wanted Date: 1999/08/12 Message-ID: #1/1 X-Deja-AN: 511965165 Sender: nntp@news.boeing.com (Boeing NNTP News Access) X-Nntp-Posting-Host: sismanidisc.vienna.va.boeing.com Organization: The Boeing Company Keywords: java bindings Newsgroups: boeing.comp.java,comp.lang.ada,comp.lang.java.help,comp.lang.java.programmer X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3 Date: 1999-08-12T00:00:00+00:00 List-Id: Good afternoon all, My apologies in advance for posting this to so many newsgroups, and for posting what may be blindingly obvious to some. We are in the process of porting a very large legacy system from UNIX to Windows NT. Most of the code in this system is written in ada (with a smattering of C and FORTRAN). The user interface uses the X window System. We need to be able to call java from an ada main routine (we plan to build the user interface in java), and to have java call the legacy ada code. We will be using Rational's ada compiler. We *can* get this to work by having ada call C which will then call java (using the Java Native Interface); or java calling C (using the Java Native Interface), which will then call ada. However, we would very much prefer to call java directly from ada, and ada from java, in order to avoid the extra layers of code that would be required. Have others been faced with this sort of situation (ada calling java calling ada), and if so, how did you solve the problem? -- Constantine A. Sismanidis Senior Software Engineer The Boeing Company (703)219-3812 11242 Waples Mill Road, Suite 300 Fax: (703)219-3813 Fairfax, VA 22030-6075 e-Mail: constantine.a.sismanidis@boeing.com