For local calls:
- you don't need CORBA.
- the classpath must include Notes.jar (for local calls).
- path has to include Lotus\Notes dir.
- the interfaces in lotus.domino package are implemented in package lotus.domino.local.
The local calls require that the NotesThread class manages threads (because NotesThread extends java.lang.Thread to include special init and term codes for Domino.
You have three options to execute threads:
- through inheritance
- through the Runnable interface
- through the static methods
To avoid password prompt (when accessing through the Notes ID) create session like this:
Session s = NotesFactory.createSession((String)null, (String)null, "password" )
Note that the ID file through you access session is specified in KeyFileName variable in first Notes.ini in path.
Hope this helps,
mb¤