I am very new to distributed computing. Could someone please tell me how to call procedures(written in C/C++) on a remote server from a client through Java. I just need a starting point and I can pick it up from there. So any little help will be greatly appreciated. Thanks.
Using JNI is only good for calling processes on the same machine. If you need to communicate to processes written in different languages (C/C++/Cobol/etc.) from Java programs and vice versa in distributed fashion, you should be using CORBA or possibly XML-RPC or even SOAP. So far, CORBA is probably the most robust approach to deal with this problem.
Greg Mehlhose
Greenhorn
Joined: Jun 05, 2001
Posts: 16
posted
0
Ooops, I did not read your question. What Sergei said is correct, JNI only works on the local machine. You will need CORBA for a distributed call to your remote proceedure.