I went across all the links on java Inter Process Communication, but I couldn't get an exact answer. I am on my way to write a java service which I want to communicate with a service running on my system. The service may be C, C++, or a service running on a hardware device. Which is the best way? Is it possible to use RMI in this case? If yes how can I implement that?
You can go through online tutorials on CORBA with JAVA technologies. You can also refer oracle documentation for the same
Refer http://docs.oracle.com/javase/1.4.2/docs/guide/idl/jidlExample.html