Joe Pluta wrote:

Now, in order to make OO virtual machines work outside their sandbox, there
are GC issues, which is why most folks don't do it. At the most, they might
let Java call their native non-Java functions (through JNI), but rarely vice
versa. In a rather stunning architectural achievement unlike any other
operating system that I'm aware of, the i5/OS interface between RPG and Java
has support to directly invoke Java methods, and thus there is a need to
directly invoke the GC functions -- which IBM has provided and which Barbara
has kindly shown in specific detail in other posts.


Joe, the calling from RPG to Java also uses JNI. Without JNI, I think it would have been impossible for RPG to call Java methods. It's possible to use JNI to call to/from Java on every platform that supports Java. (Although it may involve nastier coding than RPG does.)

(You probably already know this; I think I might be misreading what you wrote.)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.