comp.lang.ada
 help / color / mirror / Atom feed
From: David Botton <David@Botton.com>
Subject: Re: Java momentum slowing ?
Date: 1999/05/12
Date: 1999-05-12T00:00:00+00:00	[thread overview]
Message-ID: <3739C39F.E9B46156@Botton.com> (raw)
In-Reply-To: C0BBE1EDFD78BB94.674AD554FF0A1FCC.CEFF7FEC0BD6EE61@library-proxy.airnews.net

You have to first wrap the call in a C (or Ada for that matter) function
that can be called through the JNI interface. I decided just to drop the
issue when bob@nospam came back with JNI since JNI is in native code and it
doesn't answer my question! Meaning there is now way to directly all
anything outside the VM with out first wrapping it in some native code JNI
module.

David Botton

Lance Kibblewhite wrote:

> bob@nospam wrote:
>
> >But to answer your question, yes of course. you use JNI (Java native
> >interface) to call something not written in Java. It is trivial to do
> >really. most people do that to call C or C++ code from Java. of course
> >your application become non-portable as much as it were if all the code
> >was written in only Java.
>
> Perhaps you could clarify this for me with an example.
>
> Lets start with something simple. Say I have a routine, in a shared
> library, written in some other language, that takes a single
> parameter, say a 32-bit integer passed by reference, as opposed to by
> value.
>
> How exactly does JNI enable me to call that routine.





  reply	other threads:[~1999-05-12  0:00 UTC|newest]

Thread overview: 85+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-29  0:00 Java momentum slowing ? Jean-Marten Marchi
1999-04-29  0:00 ` Corey Ashford
1999-04-29  0:00   ` x
     [not found]   ` <7gesv8$1bol@drn.newsguy.com>
1999-05-02  0:00     ` Corey Ashford
1999-05-01  0:00       ` Mike
1999-05-02  0:00         ` Tarjei Tj�stheim Jensen
1999-05-03  0:00           ` dvdeug
1999-05-04  0:00             ` Tarjei Tj�stheim Jensen
1999-05-04  0:00               ` David Starner
1999-05-05  0:00                 ` Tarjei Tj�stheim Jensen
1999-05-05  0:00                   ` David Starner
1999-05-05  0:00                   ` bob
1999-05-02  0:00         ` Corey Ashford
1999-05-02  0:00           ` David Botton
1999-05-03  0:00         ` Jean-Marten Marchi
1999-05-02  0:00       ` David Botton
1999-05-02  0:00         ` Corey Ashford
1999-05-02  0:00         ` bob
1999-05-02  0:00           ` Mitch
1999-05-02  0:00             ` Tom
1999-05-04  0:00     ` Andrzej Lewandowski
1999-04-30  0:00 ` Tony Huynh
1999-04-30  0:00   ` Jean-Marten Marchi
     [not found]     ` <7gdlca$2j5l@drn.newsguy.com>
1999-05-02  0:00       ` Jean-Marten Marchi
1999-05-02  0:00         ` Bob
1999-05-03  0:00           ` Jean-Marten Marchi
1999-05-06  0:00             ` Richard D Riehle
1999-05-06  0:00               ` Matthew Whiting
1999-05-06  0:00                 ` Renaming Ada (Re: Java momentum slowing ?) David Botton
1999-05-06  0:00                   ` bob
1999-05-07  0:00                     ` Ada2001
1999-05-07  0:00                       ` dennison
1999-05-10  0:00                         ` Nick Roberts
1999-05-10  0:00                           ` Marin David Condic
1999-05-07  0:00                     ` Corey Ashford
1999-05-07  0:00                     ` P.S. Norby
1999-05-07  0:00                     ` dennison
1999-05-07  0:00                   ` carlislemc
1999-05-07  0:00                     ` Ronald Cole
1999-05-07  0:00                   ` Matthew Whiting
1999-05-10  0:00                   ` Jean-Marten Marchi
1999-05-07  0:00               ` Java momentum slowing ? Bob Munck
1999-05-07  0:00                 ` Martin C. Carlisle
1999-05-08  0:00                 ` steve
1999-05-09  0:00                   ` Pascal F. Martin
1999-05-09  0:00                     ` David Botton
1999-05-09  0:00                       ` Pascal F. Martin
1999-05-09  0:00                         ` David Botton
1999-05-09  0:00                           ` bill
1999-05-09  0:00                             ` David Botton
1999-05-09  0:00                               ` Steve
1999-05-10  0:00                                 ` David Botton
1999-05-11  0:00                                   ` David Botton
1999-05-11  0:00                                     ` bob
1999-05-12  0:00                                       ` Lance Kibblewhite
1999-05-12  0:00                                         ` David Botton [this message]
1999-05-12  0:00                                           ` Lance Kibblewhite
1999-05-12  0:00                                             ` Hyman Rosen
1999-05-12  0:00                                               ` David Botton
1999-05-12  0:00                                                 ` Keith Thompson
1999-05-14  0:00                                                   ` Jean-Marten Marchi
1999-05-14  0:00                                                     ` [OT] " Clayton Weaver
1999-05-12  0:00                                                 ` Dave
1999-05-13  0:00                                                   ` Pat Rogers
1999-05-13  0:00                                                   ` David Botton
1999-05-13  0:00                                                     ` Simon Wright
1999-05-09  0:00                         ` bob
1999-05-09  0:00                           ` David Botton
1999-05-10  0:00                             ` Pascal Obry
1999-05-10  0:00                               ` Rob
1999-05-10  0:00                           ` Pascal F. Martin
1999-05-10  0:00                             ` Florian Weimer
1999-05-10  0:00                             ` Jean-Marten Marchi
1999-05-10  0:00                     ` Pascal Obry
1999-05-10  0:00                       ` Mitch
1999-05-10  0:00                         ` Pascal Obry
1999-05-11  0:00                     ` Jean-Marten Marchi
1999-05-09  0:00                   ` bill
1999-05-09  0:00                     ` Simon Wright
1999-05-14  0:00                       ` Pascal Obry
1999-05-10  0:00                   ` Jean-Marten Marchi
1999-05-10  0:00                   ` Jean-Marten Marchi
1999-05-10  0:00               ` Jean-Marten Marchi
1999-05-22  0:00           ` olefevre
1999-05-22  0:00             ` Bob
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox