Skip navigation links

Package de.jakop.lotus.domingo

Interfaces and factory for access to Lotus Notes databases.

See: Description

Package de.jakop.lotus.domingo Description

Interfaces and factory for access to Lotus Notes databases.

You can call the Domino Objects from a Java program by importing the de.jakop.lotus.domingo package. The program can be coded as an application, a Domino agent or a servlet. Local calls access run-time code on the local computer, which must have Domino installed. CORBA-based remote (IIOP) calls access run-time code from a remote Domino server; in this case, the local computer need not have Domino installed.

Usage pattern

import de.jakop.lotus.domingo.DNotesFactory;
import de.jakop.lotus.domingo.DSession;
import de.jakop.lotus.domingo.DDatabase;

factory = DNotesFactory.getInstance();
session = factory.getSession();
database = session.getDatabase("", "log.nsf");

You don't have to recycle these objects as in the Notes API. Instead Domingo about recycling all objects properly.

How the Factory finds an implementation of the API

The following strategy is used to find the implementation of the API:

  1. At first the system property de.jakop.lotus.domingo.factory is checked. If the property is available and contains non-empty string, it is interpreted as the name of the factory class of the implementation of the API.
  2. It is checked if the resource file de/bea/domingo/domingo.properties exists and contains a non-empty property named de.jakop.lotus.domingo.factory to be used as the name of the factory class
  3. The default implementation is used with the factory class de.jakop.lotus.domingo.proxy.NotesProxyFactory.
Skip navigation links

Copyright © 2005–2020. All rights reserved.