You have raised a very good question. I cannot comment on any new public C/C++ APIs being added in Notes/Domino 8. You will just have to wait for the C/C++ SDK to be published. :-(
However on the Java programming front, there has been a collection of Java classes and objects for Notes/Domino for several releases. The new Eclipse/Expeditor platform for the Notes 8 client does introduce a set of new problems and issues that can make using Notes.jar challenging. Without enumerating the specifics we are working to make Notes.jar easier to use in this new client runtime environment.
Here is what is available in this (Beta 2) release:
In Notes 8, the Notes backend classes can be called by Eclipse plug-ins you write by using the normal "notes.jar" APIs.
- As a convenience, we have bundled notes.jar in the "com.ibm.notes.java.api" plug-in to allow easy access, security, dependency, and path management.
- If you are writing Java code and targeting the Notes 8 "Standard" runtime environment, your plugins should depend on the com.ibm.notes.java.api. plugin for finding and accessing Notes.jar.
Depending on this plugin will allleviate your plugin from the responsibility of finding the Notes.jar files and ensuring your environment (system PATH and classpath ) are set up. The com.ibm.workplace.noteswc and the com.ibm.notes.java.api. plugins will take care of all that for you. You cannot use the com.ibm.notes.java.api plugin without the com.ibm.workplace.noteswc plugin as well. Once you do this, you can just use the classes and objects in Notes.jar per the Notes documentation and usage guidelines.
NOTE: There is a know bug that may cause the client to crash is you use Agent.Run().
You can workaround this crash by copying the file websvc.jar from your <notesinstall>\jvm\lib\ext directory into the <notesinstall>\framework\shared\eclipse\plugins\com.ibm.notes.java.api_1.0.0.nnnnnnn-tttt directory.
- Set " BSAFE_ALLOW_REPARENT=1 " in your notes.ini file. This setting is not yet officially supported, but is available for use as "Tech Preview"
With this setting, you will be able to access the backend classes without multiple password prompts. Enabling this setting will prevent the default login dialog from pseudo randomly appearing. Normally access to the Notes ID file is lazy and the login prompt will not appear until some function needs access to it. Enabling this setting allows the Notes 8 Eclipse/Java process and the Notes workstation process to better coordinate access to the ID file, thus preventing the default password prompt from appearing without compromising security.
NOTE: This "roping off" was done because we have not performed sufficient testing at this point to enable the feature by default. We expect to have this enabled by default at the final release of Lotus Notes 8.0, alleviating the need for the notes.ini setting, but of course, everything is subject to change.
References that might be of interest:
I hope this helps answer some of your questions and concerns.
|Jay R. |
IBM Software Group
Notes Client and "Hannover"
Infrastructure and Security
|"Experience is something you don't get until just after you need it." -- Anon |
Notes C API Toolkit replacement for... (Andrejus Chalia... 12.Mar.07)
Feedback response number JROL6Z8LBU created by Jay Rosenthal on 03/12/2007
. . All the old C, C++ APIs still suppo... (Robert Ingram 12.Mar.07)
. . There is a Java "toolkit", it's cal... (Jay Rosenthal 12.Mar.07)
. . . . Using the API (Gunnar Rangoy 3.Aug.07)
. . . . . . set java.library.path (Atle Weibell 13.Sep.07)
. . . . Then my question - will we have imp... (Andrejus Chalia... 14.Mar.07)
. . . . . . I can't answer but forwarded your q... (Jay Rosenthal 14.Mar.07)
. . . . . . . . I think that Domino Designer 8 Beta... (Andrejus Chalia... 19.Mar.07)
. . . . . . . . . . you are correct (John Head 19.Mar.07)
. . . . . . . . . . . . Thanks John, though sad response fo... (Andrejus Chalia... 19.Mar.07)
. . . . . . . . Received answer (Andrejus Chalia... 4.Apr.07)