Take a look at this article, it might help you. http://www.ibm.com/developerworks/lotus/library/LEI-attachments/