Q
Problem solve Get help with specific problems with your technologies, process and projects.

Using Java in Lotus Domino

A reader requests help in using JCo in Java agents in a Lotus Domino application.

I am trying to use JCo in Java agents in a Lotus Domino application. Here is my code:

(This Java agent calls a Remote enabled function module in SAP which gives the sum of two given numbers)
import lotus.domino.*;
import java.util.*;
import java.io.*;
import com.sap.mw.jco.*;
public class JavaAgent extends AgentBase
[private static JCO.Client jClient;

You need to put sapjcorfc.dll in the same directory that contains the JCo jar file. Also, it is a good idea to put the two files in the same directory where other general purpose jar files (XML etc.) are supposed to reside in Domino.

Dig Deeper on SAP Java and J2EE

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close