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...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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.