|
Duane, have you thought about implementing your background process solely in java and get the RPG to pass requests to it via dataqueues. i have found this to be a simpler and more flexible approach, as the RPG calling java stuff can be quite fiddly cheers Colin.W ----- Original Message ----- From: "Christen, Duane J." <dchristen@xxxxxxxxxxxxx> To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> Sent: Wednesday, September 01, 2004 9:10 PM Subject: Java/RPG interface > We need to implement a RPG-ILE never ending process (NEP) that reads data > from a file, determines what action that needs to happen based on the file > and then call a java program (methods) that will invoke different soap > methods to accomplish the necessary action. > > Our desire is to have the NEP be in RPG since that is the majority of the > programmer base in the company. The question is how difficult is it to call > java programs (methods) from RPG. Based on the information I am receiving > it is not easy for RPG to call complex Java programs (methods) that have > many classes. > We are also getting feedback that the JVM does not stay "Active" and may end > at any time. From some of the discussions on this list my understanding that > from V5R2 on you can not intentionally end a JVM let alone have it end > arbitrarily. > > Any information would be appreciated. > > Thanks > Duane Christen > > > FYI: We are running on V5R2M0. > > > > NOTICE: This electronic mail transmission may contain confidential > information and is intended only for the person(s) named. Any use, copying > or disclosure by any other person is strictly prohibited. If you have > received this transmission in error, please notify the sender via e-mail. > > > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > This e-mail has been sent by a company of Bertram Group Ltd, whose registered office is 1 Broadland Business Park, Norwich, NR7 0WF. This message, and any attachments, are intended solely for the addressee and may contain privileged or confidential information. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please contact the sender immediately. Opinions, conclusions and statements of intent in this e-mail are those of the sender and will not bind a Bertram Group Ltd company unless confirmed in writing by a director independently of this message. Although we have taken steps to ensure that this email and any attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.