APPLICATION DESIGN
Including Java applets in applications
Applets are self-contained Java(TM) programs that can run in your IBM® Lotus® Domino(TM) application. Java(TM) applets are often used to add animation to Web applications. Although Java(TM) applets are mostly used for Web applications, you can also include them in the following elements of a Domino application:
Form -- The applet is included in each document created with that form.
Document -- The applet is available only in the document.
Page -- The applet is available only in the page.
A Java(TM) applet usually consists of a collection of files, with one file that contains the main class, or the starting point for the applet. There can also be image files, archive files, and Java(TM) source files. You can store Java(TM) applet files as follows:
When you import an applet, the files are attached as hidden files to the form, document, or page where you include the Java(TM) applet.
When you link to an applet, files are stored on the Web and a URL reference to those files is stored in the form, document, or page where you include the Java(TM) applet.
When you set up shared applet resources, the files are stored in the database where you include the Java(TM) applets that use those files.
Requirements and restrictions for Java applets
Java(TM) applets are supported for most releases of Internet Explorer 4.x and 5.x and Netscape Navigator 4.x. Browser support is platform dependent. For the latest information on supported browsers, see the topic "Supported Web browsers" in the Release Notes.
Java(TM) applets created with IBM® Lotus® Notes® 4.6 and later will not work with previous releases of Notes, unless the applet is stored on the Web and it has no parameters.
Notes 6.0 and later support Java(TM) Virtual Machine (JVM) version 1.3.
Any standalone Java(TM) applet that uses the Domino Objects (back-end classes) must run under the same JVM(TM) version as was used to create the back-end class library (lsxbe). For example, if a standalone Java(TM) applet is using lsxbe.so from Domino version 6, which uses JVM(TM) 1.3.1, then the standalone applet must also be run using JVM(TM) 1.3.1. Any other configuration is not supported.
See Also
Including Java servlets in Web applications
Domino applets
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary