Originally posted by Natarajan Shankar:
JMS you can use it for non-Java client. Where RMI as known specific to Java client.
As you said there will be 2 JVM understood both willbe running in Java. So I hope RMi might useful .
JMS - Java Messaging Service is only for Java Clients. IBM MQSeries support any clients written in Java, C and JMS is basically for Asynchronous communication. i.e Sender will send the request and does not required to wait till it gets the response.
RMI - Remote Method Invocation is basically for Synchronous communication.
i.e Sender will send the request and wait till it gets the response.
You can choose the technology based on your synchronous/Asynchronous mode of communication.
Regards,
M.S.Raman.