Monday, April 21, 2014

JMS, child!

JMS:  JMS is Java Messaging Service.  It's a way to implement asynchronous messaging in Java.

Difference between JMS and RPC:  In Remote Procedure Call, the remote procedure is executed and the caller awaits a response from the remote procedure.  In JMS, the message sender sends a message and continues processing without awaiting a response from any receivers.

Advantage of JMS: Typically senders and receivers are decoupled from each other, so the system has more availability as a whole since there are more than one points of failure.