Deploying a Simple Java Applet on a Web Page

Applets are self-contained Java programs that can run in your Domino application. Java applets are mostly used for Web applications, as they are “client-side” programs, meaning the applet is downloaded and run by the browser. Browsers require Java support. Designers can include applets in the following Domino design elements:

  • Form— Every document created from the form includes the applet.

  • Document— The applet is available only on the document in which the applet was embedded.

  • Page— The applet is available only in the page to which the applet was added.

An applet can be made up of one or more files; one of these files contains what is called the main class, which is where the applet starts. Image files, archive files, and Java source files can also be included. Java applets are stored in Domino when you

  • Import an applet— Stores the applet file(s) as hidden file(s) attached to the element where the Java applet is included.

  • Link to an applet— Stores the applet file(s) on the Web, and a URL reference to them is stored in an element where the Java applet is included.

  • Shared applet resource— Stores the applet file(s) in the database where the applet is included.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.93.137