Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 8 Forum

Notes/Domino 8 Forum

Sign in to participate

There is a Java "toolkit", it's called Notes.jar !

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.
  1. 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.
  2. 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.
  3. 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:
http://www-128.ibm.com/developerworks/lotus/library/ls-Java_access_pt1/index.html
http://www-128.ibm.com/developerworks/lotus/library/ls-Java_access_2/index.html


I hope this helps answer some of your questions and concerns.


Jay R.
IBM Software Group
Lotus, WPLC
Notes Client and "Hannover"
Infrastructure and Security
"Experience is something you don't get until just after you need it." -- Anon


Feedback response number JROL6Z8LBU created by Jay Rosenthal on 03/12/2007

Notes C API Toolkit replacement for... (Andrejus Chalia... 12.Mar.07)
. . 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)




Printer-friendly

Search this forum


Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support


 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM Web Content Manager
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite