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: 103376,17fe6d6a7207f033 X-Google-Attributes: gid103376,public From: "David Botton" Subject: Re: Calling Ada from Java? Date: 2000/02/01 Message-ID: #1/1 X-Deja-AN: 580346202 References: <388EBE43.F426565B@celsiustech.se> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: admin@usenetserver.com Organization: UseNet Server, Inc. http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. NNTP-Posting-Date: Tue, 01 Feb 2000 09:18:54 EST Newsgroups: comp.lang.ada Date: 2000-02-01T00:00:00+00:00 List-Id: Another possibility: If the Java code runs under MS JVM 1. You can create an Ada COM object and then run MS JActiveX on it to generate Java class files that access the COM object. 2. Create an Ada COM object that supports IDispatch and then you don't need JActiveX Under other JVMs (and also MS JVM) 1. Create an Ada COM object and access it using Java2COM (http://www.nevaobject.com/java/index.htm) (BTW the new version of the COM framework for Ada (in testing now) allows use of any Java class running under MS JVM to be used as a COM object and it would also be possible to pass back COM interfaces from Ada to the Java code) David Botton Ulf Eliasson wrote in message <388EBE43.F426565B@celsiustech.se>... >Hello >Is there anyone who can tell me how to make a call to an Ada function >from a Java main program? I have succeded in making just the call, but I >can't figure out how to pass parameters and to return values. I'm using >Win32, jdk1.1.8 and ObjectAda. > >Please help me! > >/Ulf, uel@celsiustech.se >