×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Maybe as Javascript makes its presence felt on the server side we'll see
it on IBM i - but it won't be an ILE language it
just wouldn't fit the architecture.
Which I do not understand. Objects in a garbage collection system don't
contain a reference count. But the system at garbage collection time walks
the call stack to find all the existing references to objects. Objects
which do not have any references are then garbage collected. So each
invocation of an ILE procedure would contain a list of references to java
or javascript objects that were set during the running of the procedure.
Pretty much the same way I assume Java works when it invokes a Java
function.
And the java or javascipt object could be accessed from RPG for read only
access. Maybe by calling a "ToNative" method on the object to get direct
access to the objects contents in the form of an RPG variable.
Or simply use the current mechanism by which RPG interops with Java.
What I don't follow is why the ILE call stack can't be broadened to include
an RPG ILE procedure calling a Java function. That is, if such a call is
currently done outside of the ILE call stack.
As an Amazon Associate we earn from qualifying purchases.