Java Plug-In of Oracle Corporation is also a tool that supports the execution of an applet on a Web browser.
Using Together with Java Plug-In
Java Plug-In and JBK Plugin cannot mutually be used together in a single browser process. If an attempt is made to use both of them, the two may malfunction. Use just any of the two.
Difference between JBK Plugin and Java Plug-In of Oracle Corporation
JBK Plugin, however, has the following functionalities that Java Plug-In does not have:
Capability to specify additional policy files
JavaSE provides new security setting files called policy files. Because JBK Plugin allows you to use additional policy files, you can use JBK Plugin policy files to switch to JavaSE or reinstall JavaSE and continue to use your settings without setting up new default policy files.
For information about how to set a security level, see '2.3.3 Security Setting'.
Startup of a Java VM in advance
To initially execute an applet in a browser, you need to start the Java VM. In general, Java VM needs from several to tens of seconds to start up. In this startup sequence, the browser may be unable to accept any user instructions.
When you use JBK Plugin and you code HTML files appropriately, you can start just the Java VM without running any applets. Because the Java VM starts in the background, the browser is never in a state in which it is unable to accept user instructions during Java VM startup. This functionality enables you to handle HTML files as follows:
Create an HTML file dedicated to starting the Java VM (that is, a file that is different from HTML files in which applets are executed). Write the HTML file so that, before an applet is executed, the file handles permitted preliminary operations (for example, displays the application's title page, provides the latest information, or makes a request to the user) while the Java VM is starting up.
Start the browser, then load the HTML file created in step a. The browser handles the preliminary operations coded in the HTML file in its window. Since, during operation, JBK Plugin starts the Java VM in the background, the Java VM startup sequence does not interrupt any operations on the browser window.
After completion of the preliminary operations, load an HTML file in which applets are to be executed. When the Java VM has been completely started by JBK Plugin, the Java VM immediately starts downloading the applets. This method of starting the Java VM does not require users to wait until Java VM startup has been completed.
For information about how to initially start only the Java VM, see '2.3.9 Starting a Java VM in Advance'.
Reporting of applet activation and deactivation
You can place several applets in one browser window and allow them to run. If a window is active, some applets in the window are active and some are not.
JBK Plugin can identify active and inactive applets using its own functionality and notify applets when they are to be active or inactive. This functionality is useful for switching the operation environment by applet in a system that includes multiple applets.
For example, you can set a pop-up window or dialog box and make an applet active when the window or box is closed.
For information about how to use notifications reporting whether applets are active or inactive, see '2.3.10 Notifying Applet Activation and Inactivation'.
Confirmation of applet termination
JBK Plugin can ask applets running in a window whether they can be terminated or not when the user is closing the window. When applets associated with this feature receive an inquiry from JBK Plugin, the applets can inform JBK Plugin of whether they can be terminated or not.
For information about how to ask an applet about termination, see '2.3.11 Confirming Applet Termination'.
Property file switching
You can operate JBK Plugin with different property files on one client by preparing multiple JBK Plugin property files and calling a different JBK Plugin property file in an HTML file.
With selectable JBK Plugin property files, for example, you can load property files with different JREs specified into separate browsers to run applets with different VM versions.
For information about how to switch between property files, see '2.3.12 Switching the Property Files'.
If you need these functionalities, we recommend you to use JBK Plugin.
See
For details on Java Plug-in, refer to "JAVA PLUG-IN TECHNOLOGY" (http://www.oracle.com/technetwork/java/index-jsp-141438.html) from Oracle Corporation.