RMI Support for IPC in Java

I looked through all the links to java Inter Process Communication, but I could not get the exact answer. I am going to write a java service with which I want to communicate with a service running on my system. The service can be C, C ++, or a service running on a hardware device. What is the best way? Can I use RMI in this case? If so, how can I implement this?

+4
source share
2 answers

You can take CORBA online tutorials with JAVA technology. You can also refer to the oracle documentation for the same

Contact http://docs.oracle.com/javase/1.4.2/docs/guide/idl/jidlExample.html

+2
source

RMI is typically designed for interprocess communication between Java applications. If you need language-driven agnostic technology, the most popular currently are web services (SOAP or REST) ​​or CORBA. But since the other service will run on a “hardware device”, they may be too heavy, in which case you might think about your own communication protocol, for example. based on TCP / IP connection.

+3
source

All Articles