DEVFYI - Developer Resource - FYI

How JMS is different from RPC?

JMS Interview Questions and Answers


(Continued from previous question...)

26. How JMS is different from RPC?

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.

(Continued on next question...)

Other Interview Questions