What is the difference between JMS and RPC?The basic difference between RPC and JMS lies in the way they message. RPC uses synchronous messaging while JMS uses asynchronous messaging approach.
In RPC the method invoker waits for the method to finish execution and return the control back to the invoker. In JMS the message sender just sends the message to the destination and continues it's own processing.
|