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



Karissa Skroch wrote:
After much research, I haven't been able to come up with any clear answers.
I have an RPG program that calls a Java method. This program is used by
many users. Is there a way for just one JVM to be started and all users to
just attach to it, or is it mandatory that a new JVM be started for each
user's job? Is there a way to see how many JVMs are running on the iSeries?
I've found an article that tells me it's possible using the JNI function,
but I can't figure out how. Any help would be much appreciated!

There's no way for all users to attach to a single JVM for interactive use ... but it's not hard to create a java server application that listens on a data queue ... each users application would send requests via the data queue and the single java app would act and send responses by another data queue.

You could use a data queue keyed on the jobname or something similar.

david



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.