I am again in a problem. My java program needs to read from a nsf (Domino file) which is present in a remote machine. I dont know how to do this. Is there any APIs available to do this. I have the structure of the nsf file with me.
If you import the lotus.domino package into your java file -- which (assuming you have Notes installed) you should be able to do by adding the location of Notes.jar to your CLASSPATH -- then you should be able to use these classes to represent nsf elements (views, documents, etc.) as Java objects.
In Lotus Domino Designer Help, see the topics "Running a Java Program" and "Accessing databases," both of which are under "Java/CORBA Classes / Java Classes Coding Guidelines."
EDIT: In browsing the above topics, I see that if you're compiling remote calls, then you also need the location of NCSO.jar or NCSO.cab in your CLASSPATH. [ September 28, 2005: Message edited by: marc weber ]
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
Especially with R6 version you may also store the documents you are interested in as xml files. For a 1 time import this might be an option. Here is the 2nd part of a 2 parts series about accessing .nsf files with Java via Domino classes (not xml). http://www-128.ibm.com/developerworks/lotus/library/ls-Java_access_2/index.html Start with first article (there must be link). The recycle stuff in the 2nd part is no joke. Take that serious or they might phone you 2 weeks later because of memory leak.