Figure 71. The Domino object containment architecture
The Domino Java classes are provided in the following packages:
Domino notes.jar file contains lotus.domino classes for local Java access.
Domino NCSO.jar file contains the CORBA implementation of the
lotus.domino classes. It is used by remote Java programs only.
In Domino R5 for Linux, remote Java programs can access the Domino object
classes on the Domino server using CORBA/IIOP network communication
More information about Domino CORBA programming is provided in the
Lotus Domino Release 5.0: A Developer's Handbook
, SG24 5331.
We use vi to write a servlet and compile the servlet with IBM JDK 1.1.6 for
creating a servlet; however, you can develop the Java program using another
Java development environment that supports JDK 1.1.6 or later, such as Sun
JDK 1.1.6, IBM VisualAge for Java 3.0, or Symantec Visual Cafe 3.0.
The CLASSPATH for compiling and running a Domino servlet must include:
Base Java classes in classes.zip
Java servlet classes
Domino classes in NCSO.jar for remote access or notes.jar for local
In the following sections, we explain how we develop the Domino servlet.
Only the important parts of the code are shown here. For a complete listing of
Linux Web Hosting with WebSphere, DB2, and Domino