Java Message Service (JMS) Question:

Download Job Interview Questions and Answers PDF

How the JMS is different from RPC?

JMS Interview Question
JMS Interview Question

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 JMS Interview Questions And Answers PDF

Previous QuestionNext Question
What is JMS (Java Messaging Service)?What are the basic advantages of JMS?