Java execution on IBM i

john erps <[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <CAFt0U7PaVKC4t2cGEdSZjSXW=Ot=F-cZYEXdDTmR1+0w0VD3bA@mail.gmail.com>
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?
-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.