× 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.



Joe Pluta wrote:
> ...
> Another way is to use RPG to directly call the Java class.  If the RPG
> program doesn't end, I believe it will use the same JVM over and over,
> but I haven't played with that architecture much.
> 

The lifetime of the JVM doesn't have anything to do with RPG.  RPG will
start a JVM, but it will never end it.  In V5R2, the JVM should ideally
only end when the job ends.  In V5R1, the JVM gets ended if any
activation group is ended, and it can also be explicitly ended.  The
activation group thing doesn't happen in V5R2, and also in V5R2 you
can't explicitly end the JVM.

Once the JVM is started in a job, any RPG program will use that JVM.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.