0
votes

I am using Lotus Domino 9.0.1.Was using Notes API for Java(Remotely) to get the calendar items.Copied NCSO.jar from server(domino\data\domino\java\NCSO.jar) and given the same as a classpath in my eclipse.But when i try to invoke session.getCalendar(string,string) method it is giving "NotesException: Not implemented" error.

2
The title of this question is misleading. It refers to Session.getDatabase(), but the description says the exception is thrown from Session.getCalendar(). @Anil, please consider editing the title.Dave Delay

2 Answers

1
votes

I have a slightly different answer than Richard's. Since Notes & Domino 9.0, the Java Session interface does include a getCalendar method documented here. It's the way you get an instance of NotesCalendar.

However, there are two implementations of Session: 1) The "local" implementation exported by Notes.jar, and 2) the "remote" implementation exported by NCSO.jar. The getCalendar method is only implemented in Notes.jar.

Of course, if you really need to use NCSO.jar, this amounts to the same answer. The "remote" version of Session.getCalendar() is not implemented.

0
votes

The getCalendar method is not available in the Session class of Notes API for Java. See the API documentation here.

That method is only exposed in the classes for SSJS.