15.1. Basic RMI Concepts
So, you have an object on System A, and would like to call some method in another object on System B. Obviously, there's going to be some network calls involved in this process. Without RMI, you'd be making those network calls yourself. With RMI, the actual network code is provided for you. In a RMI application, the remotely accessible object is shadowed by two new objects that provide this networking code. On the server side, the code is called a skeleton; on the client side, it is called a stub. The stubs and skeletons are theoretically there to isolate your code from the network, yet in a completely unsatisfying way that forces you to nevertheless remain constantly aware of when an object is local and when it is remote, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access