on 03-21-2008 10:36 AM
Hi,
I need to develop a JCO Server that should handle multiple requests and then I need to start multiple instances of the listeners.
I would like a sample code for it.
Thanks
Very good answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arturo,
Please refer to the this [Jco Server programming|http://help.sap.com/saphelp_nw04/helpdata/en/09/c88442a07b0e53e10000000a155106/content.htm].It may help you.
Thanks & Regards
Veerabhadram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks,
it is very helpful.
If I got it,, then I can start many servers that use the same program ID ? As stated below:
for(int i = 0; I < serverConnections.length; i++) {
serverConnections <i> = new MyFirstServer
("gwhost", //gateway host, often the same as host
"sapgw00", //gateway service, generally sapgw<SYSNR>+
"JCOSERVER01", // corresponds to program ID defined in SM59
repository);
serverConnections <i>.start();
}
Next question is probably more a hint request:
when I need to shutdown the servers then I need to invoke the stopServers method. How do I invoke this method ?
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.