[Info-vax] Is it possible to write a JNI to give Java the VMS calling standard?
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Sun Aug 30 11:54:55 EDT 2015
On 2015-08-30 15:42:19 +0000, Dirk Munk said:
> If I get this correct, JNI is a piece of software that reads a Java
> source and produces the C code to call the Java routine (Or Java can
> call a C routine).
JNI is how the Java world is bridged to the not-Java world.
<https://en.wikipedia.org/wiki/Java_Native_Interface>
> JNI has nothing to do with the Java language itself. With that I mean
> that you are not allowed to change anything on Java itself, as
> Microsoft discovered. JNI does no such thing.
What's outside of Java matters not to Java. The run-time stability
and integrity of the Java environment does matter, however. JNI is
part of the Java specifications.
> IBM has a similar utility, but it produces Cobol routines, so you can
> call Java directly from Cobol.
Outside of Java and JNI, there are similar shims or bridges for various
other environments. e.g. the gsoap wsit stuff.
The VMS calling standard is itself such a shim, though a comparatively
primitive one, and one that's lacking a published test suite, support
for objects beyond "descriptors" or other details.
> Conclusion: You're free to write any utility that can produce the
> calling standard you like, incl. the VMS calling standard.
Was that ever in question?
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list