×
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.
We had an issue at RJS when V7R1 came out where the RPG program we had in a production application that used Java would not resolve the classpath no matter what we tried. Our developer at the time worked with IBM as well on this.
So in the end we moved to straight Java. It's much easier to call Java from CL and let it call RPG as needed than it was to leave our customer stranded because we were left scratching our heads over classpath issues and the need to start a new job to use Java classes.
Plus I can call as many Java processes as needed while also switching the JVM in a current job.
I have also played with RPG several times in conjunction with Java and every time I wanted to make a change I had to end my job and restart before re-loading the JVM.
Also the pain of mapping classes to RPG. Who needs it.
You're better to learn a little Java. It's not that hard.
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
------------------------------
message: 4
date: Sat, 20 Jan 2018 01:03:25 +0000
from: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
subject: Re: Java extensions directory vs Excel generation
"In my case I avoid RPG and Java together like the plague because of the single instance issues."
Can you elaborate? I've used RPG and Java for years, and I don't know what you mean by "single instance issues".
________________________________
From: Richard Schoen <Richard.Schoen@xxxxxxxxxxxxxxx>
Sent: Friday, January 19, 2018 8:34 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Java extensions directory vs Excel generation
What you have recommended closely mirrors what I typically do.
Each utility or app has its own IFS folder contains the class/program and any related JAR files.
Then I set JAVA_HOME for the JVM to use.
In my case I avoid RPG and Java together like the plague because of the single instance issues.
I typically run my classes using QSHELL or an app server if I need it to stay loaded.
The benefit to this is I can alter the JVM and CLASSPATH variables and run two different java utilities in the same job even if they have differenet JVM / Classpath requirements.
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Java extensions directory vs Excel generation, (continued)
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.