Local IPC Java App <--> C++ DLL
-
Hi There The scenario: I got one Java application (server) and multiple C++ clients. The java server is always running and the C++ clients will need to communicate with it as they are started/Stopped. The data communicated is mainly XML. All this is running on the same computer. The demands: The communication must be platform independent, at least in the Java application (i.e. no using JNI dlls) because the Java server should run unchanged and be able to communicate with clients implemented on other architectures in the future. The technique should be easy to work with, i.e. not too low level, and not over complicated (as I suspect CORBA is) The question: What communication technique/technology should I use? The considerations: CORBA Too complicated for the simple use? Sockets/Pipes Too much work for the intended simple use? XML-RPC Current my favourite. But is it too inefficient using HTTP when the communication is local? JNI Not suited for IPC unless memory mapped files are added...correct? XYMessenger As presented here. Might be suitable but how is it compared to XML-RPC? Kind Regards Rene
-
Hi There The scenario: I got one Java application (server) and multiple C++ clients. The java server is always running and the C++ clients will need to communicate with it as they are started/Stopped. The data communicated is mainly XML. All this is running on the same computer. The demands: The communication must be platform independent, at least in the Java application (i.e. no using JNI dlls) because the Java server should run unchanged and be able to communicate with clients implemented on other architectures in the future. The technique should be easy to work with, i.e. not too low level, and not over complicated (as I suspect CORBA is) The question: What communication technique/technology should I use? The considerations: CORBA Too complicated for the simple use? Sockets/Pipes Too much work for the intended simple use? XML-RPC Current my favourite. But is it too inefficient using HTTP when the communication is local? JNI Not suited for IPC unless memory mapped files are added...correct? XYMessenger As presented here. Might be suitable but how is it compared to XML-RPC? Kind Regards Rene