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



I have what feel like some very rookie questions about running Java apps on
i...but please keep in mind that I'm very much a rookie. :) Thanks in
advance for any advice you all have to offer. To give a little background,
I have a set of Java classes that build a transaction object and pass it to
an RMI service that calculates pricing information. To populate the
information in this transaction object, I've prototyped several methods in
these classes and am calling them directly from a new RPG module I created.
This module is intended to serve as a bridge between our legacy RPG code and
the new calculation service. It's functioning very well, but my concerns
relate more to performance. We're running V5R4 on a model 520, and we've
run the upgrade so that we can run under Java 1.5 (5722JV1 option 7).

- Am I right in thinking that a new JVM is initialized for each interactive
job that will be calling this new module? I've read that the JVM is
integrated with i5/OS in a unique way that makes it function differently
from JVMs in other OSes, but I'm not well-versed enough in these things to
understand the repercussions of that.
- If this is the case, is it reasonable to expect that our i5 would be
overly taxed by having a large number (25? 30?) of these jobs running at
once?
- Is there any way to initialize one JVM and have all these sessions share
it? Would that even be beneficial if it were possible?

Thanks again.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.