|
Hi Aaron, Yes...that's also my experience with Java on iSeries.....start a java program autojob which is listening to a dtaq and let rpg and clp communicate to java via dtaq. Do not start the JVM for each users job. Regards, Magne
-----Original Message----- From: albartell [mailto:albartell@xxxxxxxxx] Sent: Tuesday, October 3, 2006 10:41 PM To: ''Java Programming on and around the iSeries / AS400'' Subject: RE: Running java on Iseries Good points Franco. The main area's I have found problems is when I try to start up the JVM for each users job, or rather, OS/400 starts up a JVM for each user before they access the Java code being called. It would be great if users could share a named JVM, but I am sure there would be complications there also. It would almost be like the OS/400 folks having to rewrite a servlet engine JVM for the native side of things. The way around this is to have your RPG (or what have you) talk to the Java via data queues. This makes it so the Java is only running in one batch job (emphasis on batch) and the JVM startup is only incurred once. I have an article coming out in the next week in ibmsystemsmag.com that gives example of this approach through some open source code I wrote. HTH, Aaron Bartell http://mowyourlawn.com -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Franco Biaggi Sent: Tuesday, October 03, 2006 3:09 PM To: Java Programming on and around the iSeries / AS400 Subject: Re: Running java on Iseries Hello, sorry for my bad English, just my opinion, 32 year of IBM systems knowledge, seem all the systems in each range, java on OS/400 is very bad, we are running a lot of applications on it, I have a lproblems with memory, GC, swap, etc.performace problems, even running on V5R3, The performance is (not)comparable to a win-box -> 1:10 on linux-box 1:12 look at the GC (garbagec collector) is taking a lot of time, even no swapping (think) involved. Place a little PC connected (no changes required) and it works maybe 1:100 faster. Ciao (make problems ?) Franco -- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l. -- This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-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.