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,5e3fa264114b41e3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-19 11:38:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!xfer02.netnews.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3C49BE2C.F114478D@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Setting up a Java Callback to Ada References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 19 Jan 2002 19:38:43 GMT NNTP-Posting-Host: 158.252.122.172 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1011469123 158.252.122.172 (Sat, 19 Jan 2002 11:38:43 PST) NNTP-Posting-Date: Sat, 19 Jan 2002 11:38:43 PST X-Received-Date: Sat, 19 Jan 2002 11:38:46 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:19106 Date: 2002-01-19T19:38:43+00:00 List-Id: Kevin Brugh wrote: > > I need to create some Ada code that will call Java code to set up a > callback. I need the Java side to save the Callback procedure I sent > it. When a event is triggered, specifically an OnMessage call from > Weblogic. The OnMessage method in my java code will use that saved > Callback Procedure and call my Ada procedure. Any suggestions?? Are you talking about invoking a native method written in Ada? Or can the Ada be compiled by JGNAT into JBC, which means it can be treated pretty much like any other Java method? (See the JGNAT docs for info on invoking Java from Ada and vice versa.) Marc A. Criley Consultant Quadrus Corporation www.quadruscorp.com