How to write and use a java agent for Lotus Notes

Sachin Jain picture Sachin Jain · Dec 19, 2011 · Viewed 7.4k times · Source

I am completely new to Lotus Java Agent. Kindly help me how can i write a java agent in eclipse and use that agent in other classes.

Answer

angryITguy picture angryITguy · Dec 22, 2011

The first thing you will need to do is to copy the Notes.jar file into your java project,(found in any Notes client installation), add it as an external jar.

Then create a java agent (in Lotus Notes), copy that initial boilerplate code out of Domino Designer, and into a new class in eclipse, (and call it JavaAgent.java). You should be able to get started.

For more details this IBM developerworks article covers it quite well.