Robuta

https://www.javapedia.net/JMS/1074
JMS provides asynchronous messaging while RPC is synchronous. In RPC the client who invokes the method need to wait for the method to complete the execution...
java messaging servicedifferent fromjmsrpcremote
https://www.rfc-editor.org/rfc/rfc1057
remote procedure callrfcrpcprotocolspecification