As a follow-up on this thread I found the following new article in the newest version of the legendary redbook

Who Knew You Could Do That
with RPG IV?
Modern RPG for the Modern Programmer

8.1.2 RPG IV calling Java
Although calling RPG IV from Java can be done in various simple ways, calls in the other
direction are not as easy. Although RPG IV contains built-in support for accessing Java
objects and methods, there are various problems with the use of that support. Because that
support results in a JVM for each job, you are likely to have problems with scalability.
A preferred approach is to start a server in a JVM that can process requests in different
threads and send messages to that server. This approach scales much better because you
have only one JVM running. The messaging can be done with data queues, IBM MQ, or
sockets.

It took some years untill the leading experts (Jon Paris, Susan Gantner, Tim Rowe, Paul Tuohy, e.a.) recognized this, but now they are there, where I'm since 1998, when I held my first java class for AS/400 programmers. AppServer4RPG came out as Open Source in 2008 (after running in production for > 3 years) and with ArdGate it got important enhancements in 08/2010.

Dieter Bender



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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 [javascript protected email address].

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