Extend the Sametime Connect Client with a Useful Plug-in for Sametime Administrators — An Update for 7.5.1+

Bret Swedeen, Systems Tools Developer, IBM Global Services


January, 2010


Learn to customize the Sametime Connect client in releases 7.5 and above by developing and installing a mini application (miniApp) that provides continuous updates on Sametime server connections. You don’t have to be a Java programmer to obtain or reuse Java code for miniApp plug-ins that install on Sametime Connect to incorporate frequently used functions. Get step-by-step instructions on installing the development environment and developing and installing the miniApp.


Author’s note
Since I wrote this article in 2006, the AbstractMiniApp class used to create the original plug-in in Sametime 7.5 has been deprecated and replaced with shelfViews. This update to the 2006 article outlines the necessary steps and provides sample code for recreating the original plug-in using shelfViews in Sametime 7.5.1 and above. I’ve also included a more concise explanation of deploying the newly created plug-in.
The Sametime Connect client allows administrators and developers to extend the Sametime Connect client’s features and functions with Java plug-ins they create or obtain from other parties. You can also use plug-ins to reuse Java code within Sametime applications. The plug-ins can be as simple as custom menu choices that display information in a dialog box or as complex as full programs. Not a Java programmer? That’s not an insurmountable problem, because with the right tools, just a little Java knowledge, and patience, you can create some amazing plug-in tools that add value to your Sametime Connect client.
This article gets you started by showing you how to develop and install a useful Sametime administration plug-in called “Total Connections.” This plug-in takes advantage of the StAdminAct.exe cgi-bin program on all Sametime servers to display the total Sametime connections (regardless of uniqueness) and the total unique user connections in a mini application (miniApp) right in the Sametime Connect client.
By following along with the step-by-step instructions, you’ll learn that developing small Java plug-ins requires attention to detail but is probably easier than you thought, and you’ll have a useful Sametime administration tool you can apply right away.
Figure 1 shows the Total Connections miniApp located just below the contact list in the Sametime Connect client. When this plug-in is installed, the administrator doesn’t need to open a browser and point to an HTML page for the connection data. It’s a very simple but powerful and beneficial tool.
A Perl script provides the back-end data collection that displays on an auto-generated Web page, and the front-end miniApp provides the means to view the collected data.
Installing the tools for developing the plug-in is often the most challenging part of the process (at least the first time), so in addition to providing guidance on I’ll walk you through the installations step by step.

Would you like to see the full version of this article?

If you are an electronic license holder to THE VIEW, please log in to view this article.

If you would like information about becoming an electronic license holder — and having 24/7 unrestricted access to all articles and content in THE VIEW Online Knowledgebase — click here to see the available subscription options.

Or call 1-781-751-8813 to speak directly with a subscription and licensing specialist about customized access for you and your team.