Java Message Service (JMS) Question:

How JMS is different from RPC?

Tweet Share WhatsApp

Answer:

In RPC the method invoker waits for the method to finish execution and return the control back to the invoker. Thus it is completely synchronous in nature. While in JMS the message sender just sends the message to the destination and continues it's own processing. The sender does not wait for the receiver to respond. This is asynchronous behavior.

Download Java Message Service (JMS) PDF Read All 27 Java Message Service (JMS) Questions
Previous QuestionNext Question
What type messaging is provided by JMS ? What Is the JMS API?