|
Java already calls RPG perfectly, Leif. I use it all the time. In fact, I use it almost exclusively that way: my Java programs call RPG programs to do business logic. Actually, my Java programs call RPG programs to communicate with data queues, which in turn communicate with other RPG programs as servers, but that's my preferred way to communicate with business logic servers. Message-based client/server processing is far more robust and flexible than simple program calls. Joe > -----Original Message----- > From: owner-midrange-l@midrange.com > [mailto:owner-midrange-l@midrange.com]On Behalf Of Leif Svalgaard > Sent: Saturday, March 17, 2001 10:26 AM > To: MIDRANGE-L@midrange.com > Subject: Re: Web apps on the AS/400 > > > From: David Gibbs <david@midrange.com> > > >Wouldn't it be lovely if you could write a program in > > >the language that was most convenient or natural > > >or matching-your-skill-set or (...) and have that program > > >be usable from any other program? Just as it was > > >in the pre-Java days. > > > > I think that with a future version of the ILE environment you > will be able > > to call Java classes directly as if they were standard programs. > > > > Correct me if I am wrong, but I think that George Farr > indicated that this > > was coming in a future version of RPG (in his COMMON presentation). > > > > But RPG is only one, > How about CL, COBOL, MI, REXX, SQL, C, C++, ... > And we are not just talking about RPG calling Java. What would > be better is Java calling RPG (to do business logic). Or simply > making Java a first-class citizen without any tricks. Of course > you can always fake it (in any language), but write the parameters > to a file, starting another job, in that job call the program that > reads the parameter file and produces a result file to be > read by the original program, when the temporary jobs ends. > That is NOT what I meant. > > Furthermore all that is "in future" versions. Doing us no good > now. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.