|
<snip> What we'd all LIKE to see is the ability to start system-wide named JVMs and be able to "attach" to one by name frmo any job. This would allow for the slickest sort of cross-job communication, but the memory management issues seem to be beyond the JVM team at this point. </snip> I vote for this also if anybody from IBM is reading this thread. It would be great if we could have the JVM operate similar to how Tomcat caches objects (or whatever it is called). Aaron Bartell -----Original Message----- From: Joe Pluta [mailto:joepluta@xxxxxxxxxxxxxxxxx] Sent: Monday, March 03, 2003 7:06 PM To: RPG programming on the AS400 / iSeries Subject: RE: Java from RPGLE > From: Peter Connell > > All java classes must use the JVM to run but where does it run for RPGLE? Peter, you may also want to ask some of this at the JAVA400-L list. In any event, as far as we've been able to determine with both guidance from IBM and from empirical testing is that (as of V5R2, I believe) a job can have one and only one JVM. This pertains to batch or interactive jobs. Once the JVM is started for that job, it is persistent FOR THAT JOB. So while startup issues are reduced and persistence is supported, scalability becomes a concern as each job gets its own JVM. The standard way to design a scalable Java interface is still to create good old server jobs that read data queues. Since you can do this from Java just as easily as anywhere else, the idea is to submit a job to batch and have it service a queue. Of course, this brings up other problems such as congestion and persistence, but them's the tradeoffs today. What we'd all LIKE to see is the ability to start system-wide named JVMs and be able to "attach" to one by name frmo any job. This would allow for the slickest sort of cross-job communication, but the memory management issues seem to be beyond the JVM team at this point. Joe _______________________________________________ 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.
As an Amazon Associate we earn from qualifying purchases.
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.