This section describes the relationship between a browser process and the Java VM started by JBK Plugin.
JBK Plugin starts a single Java VM for each browser process. Once started, the Java VM stays until the corresponding browser process terminates. When an applet is executed by using JBK Plugin, the relationship between the browser process and the Java VM is as described below:
When the applet is terminated on the browser, the Java VM started by JBK Plugin enters the wait state in the browser process. When the applet is executed again on the same browser, JBK Plugin does not restart another Java VM but uses the waiting Java VM to execute the applet.
When the browser process terminates, the Java VM started by JBK Plugin in the browser terminates as well.
When a single browser process is started and multiple applets are executed on that browser by using JBK Plugin, those applets are executed by using the same Java VM.
When multiple browser processes are started, JBK Plugin starts a single Java VM for each browser. An applet on each browser is executed by the Java VM started for the corresponding browser.
Using Internet Explorer in the Active Desktop
Internet Explorer in the active desktop environment runs as a part of a process of the Window Explorer. When Windows is started, a single Explorer process starts and stays until Windows terminates. Therefore, when JBK Plugin is used on Internet Explorer in the active desktop environment, the relationship between Internet Explorer and the Java VM is as described below:
When used on Internet Explorer in the active desktop environment, JBK Plugin starts a Java VM in a process of Explorer. When Internet Explorer terminates, the Java VM started by JBK Plugin enters the wait state within the Explorer process.
When Internet Explorer is restarted, JBK Plugin does not restart another Java VM but uses Java VM held in the wait state within the Explorer process to execute an applet.
When multiple Internet Explorers are started, JBK Plugin executes applets by using the same Java VM on those Internet Explorers.
It is necessary to start Internet Explorer in the process besides the process of the Explorer start/end Java VM on active desktop according to start/end of Internet Explorer.