Remote Method Invocation (RMI) was once the straightforward way for Java apps to talk across a network. But it’s tightly…