... synchronous calls from RPG to java won't scale well in most circumstances. Calling the java method once, you will earn lots of overhead, calling diffrent java methods from diffrent programms tends to become instable, calling java methods in every job makes IBM happy, but not the customer and the users sitting and waiting.
I would strongly recommend to do this stuff asynchronously. Doing it the right way, not longer needed ressources are freed up automatically by the java garbage collector. For asynchronous calls you could use my Open Source AppServer4RPG (which is the base layer for ArdGate as well).
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Newbie to RPG calling Java....what's a good reference to start learning!, (continued)
This mailing list archive is Copyright 1997-2022 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
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.