


Set CLASSPATH= C:\lotus\notes\data\domino\java\NCSO.jar C:\myjava (I used "C:\MyJava" directory as working directory)Ĭompile.bat (Change the variable in blue) To compile program, you just add the path to NCSO.jar file to CLASSPATH but to avoid confusion, I usually create the batch file like this. When you start to run DIIOP program, I think compiling DIIOP program would be the most difficult step for unfamiliar users. ("User Name: " + doc.getItemValueString("FullName")) Session s = NotesFactory.createSession(host,cName,password) ĭatabase db = s.getDatabase("", dbname ) Static String password = "password" // internet password Static String dbname = "names.nsf" // database (e.g. Static String cName = "notes admin" //username Static String host = "" // server address

I previously posted a simple sample code for the beginner of DIIOP technology and some would want to know how to implement a typical Notes routine as follows. The most typical sample of Notes API would be open view, get one document and change/get item value.
