|
from: john erps <jacobus.erps@xxxxxxxxx>
subject: Java execution on IBM i
Hi,
I have a question regarding the execution of java programs on IBM i.
I'm a bit confused.
I always thought that it was a good idea to execute java programs/functions
within one server job. The requesting job sends a message to the server
job, and the server job executes it. This way, the JVM is initialized only
once. I believe Dieter even has a framework to do this.
However, as i understand it. If i use command JAVA or RUNJVA to execute a
java app it is executed within a separate BCI job. I suppose (maybe i'm
wrong) this BCI job keeps running after the command has been executed. Next
time the command is executed the same (or another already initialized) job
executes the java function.
My confusion is why is it a good idea to implement a dedicated Java server
job yourself, like Dieters framework, as this seems to be already working
like that when using RUNJVA?
What am i missing?
------------------------------
Subject: Digest Footer
--
This is the Java Programming on and around the IBM i (JAVA400-L) digest
list
To post a message email: JAVA400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
------------------------------
End of JAVA400-L Digest, Vol 19, Issue 45
*****************************************
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.