HP3000-L Archives

October 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mike Yawn <[log in to unmask]>
Reply To:
Mike Yawn <[log in to unmask]>
Date:
Wed, 18 Oct 2000 15:50:38 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
Jens,

The Java Native Interface (JNI) is the API set used to allow
a Java program to interact with 'native' code.  The JNI
is fully supported and operational in our Java implementation.

Since JNI only defines interfaces for C and C++, I have
also started work on an 'MPE Class Library' that permits
any XL-resident code, written in any language, to be
called from Java without needing to write JNI stubs.
(Essentially, the MPE Class Library is itself a big
generic JNI stub).

If you're comfortable with C & C++ programming, a custom
designed JNI program will give you the best performance;
see a book such as 'Essential JNI' from PTR, or my Java
tuturial on Jazz (one section covers JNI with examples).
If you prefer trying the class library, it is available
from the Interex Shared Source website for download.

Mike

=?iso-8859-1?Q?Jens_von_B=FClow?= ([log in to unmask]) wrote:
: Mark,

: Do you know if there is a way for a JAVA "servlet" to call a routine in an
: XL?

: If I could call a routine in an XL, rather than making a socket connection
: to "myself", I would be very interested?

: Regards
: Jens


--
-----------------------------------------------------------------
Mike Yawn
Hewlett-Packard                      email       [log in to unmask]
Commercial Systems Division          Phone         (916) 748-3865
8000 Foothills Blvd   MS 5219
Roseville, CA 95747
-----------------------------------------------------------------

ATOM RSS1 RSS2