Question: how rpc works in java?
Answer: Remote Procedure Call (RPC) is a inter process communication which allows calling a function in another process residing in local or remote machine. ... You can think of invoking RPC is like calling a C procedure. RPC supports primitive data types where as RMI support method parameters/return types as java objects.