CONFIGURING


Hosting Java applets

Using the Java™ Notes® classes, application developers can create applets that perform server tasks, such as opening a session and retrieving information from a database access control list. The server can host the applet and when a client requests it, download the applet to the browser.

About this task

To run Java applets created with Java Notes classes on a Domino® Web server, you must enable the Domino IIOP (DIIOP) task on the server. This task allows Domino and the browser client to use the Domino Object Request Broker (ORB) server program. The Domino ORB processes the applet requests and transmits the information to the browser client to communicate. You must enable both the Domino IIOP task and the Internet Inter-ORB protocol (IIOP) on the server before users can access the Domino ORB to run the Java applets.

Application designers must create applets with the Java Notes classes and, in addition, they must specify that the applets can use the Domino ORB to communicate with browser clients. Application designers specify this setting when they add the applets to a document or form.

For information on designing Web applications and on the Java Notes classes, see HCL Domino Designer Help.

To set up the Domino ORB, do the following.

Procedure

1. Open the Server document you want to edit.

2. Choose Ports -> Internet Ports -> DIIOP and complete these fields:


3. Choose Internet Protocols -> DIIOP. For the field Number of threads, enter The number of threads you want to allow the DIIOP server task to process at the same time. The default is 10.

4. Click Security and complete these fields in the Programmability Restrictions section:


5. To restrict the level of authentication for Internet clients, choose a setting in the Internet server authentication field on the Security tab and save the document.

6. If necessary, edit the ServerTasks setting in the NOTES.INI file to include the DIIOP task.

7. Set up TLS server authentication, name and password authentication, or anonymous access to the IIOP port for the application or applet.

8. Define server access by browser clients that use Java and JavaScript. If the applet or application uses name-and-password authentication, enter the name for the applet or application. Otherwise, use the name Anonymous when setting up server access.

9. Restart the server.

Related concepts
Overview of Domino security
TLS security
Name-and-password authentication for Internet/intranet clients
Anonymous Internet and intranet access

Related tasks
Modifying Web server Internet port and protocol settings
Controlling the level of authentication for Internet clients