New THE VIEW article is out!
I'm happy to say that my newest article is online at THE VIEW website. The article is on managing and provisioning lotus.domino.Session objects to plug-ins in Sametime Connect 7.5.1 - a subject that's a little tricky due to the native code underneath the Notes/Domino Java API and due to the way that classloaders work in Sametime Connect/Expeditor.
For the ones who's already on Sametime 7.5.1 please see the errata (http://lekkimworld.com/theview_sametime).
Article abstract:
Take the mystery out of providing multiple Notes sessions from Sametime Connect. Plug-in developers find that running multiple Sametime plug-ins that access Notes at the same time is tricky; the reasons are due to how the Sametime 7.5 Java application-programming interface (API) differs from the one Notes uses, and how Java class-loaders load native library code on Windows. The solution provided in this article uses a bundled group of plug-ins, invisible to connect users, for managing lotus.domino.Session objects across other plug-ins. You also learn how to achieve fast plug-in deployments with automatic Connect configuration, plus easier plug-in maintenance. The solution code is available for download at THE VIEW Web site.
- Link to article on eview.com: Provide multiple Notes/Domino sessions for Sametime Connect 7.5 users
- Link to previous post on the same subject - Show 'n Tell Thursday: The missing link for plugging Notes into you Sametime 7.5 plugin (10 January 2007)
Re: New THE VIEW article is out!
Re: New THE VIEW article is out!
Well the problem isn't as much the Notes.jar per say - that problem can be solved, as you point out, by importing the Notes.jar into the plug-in or using a shared plugin to host the classes. The problem lies in the native bindings of the notes.jar for local sessions and the way native libraries are loaded by classloaders on Windows. I agree that there should be an easier way and my opinion is that this is something that IBM should provide a standard interface to. This is even more true since IBM wants ISV's to provide standard off the shelf solutions (plug-ins) to customers. If these plug-ins needs to access Notes I don't see that happening if each ISV solve these kinds of issues in their own way.
I talked to the Sametime guys at Lotusphere 2007 and they knew about the problem but simply decided not to disclose that they knew about this potential problem. That may be the biggest problem.





