RMI Architecture Overview
RMI's architecture is similar to CORBA's. Before getting into this, let me stress that the use of the words client and server are relative. Any object on any tier of an application can be a client or a server. Even an object on tier 1 can act as a server. To deal with this terminology problem, I am going to call a program that normally resides on a server system on tier 2-n a remote factory.
Note
The examples in this chapter do not actually implement the factory pattern as generally understood. I acknowledge this, but I think it is worse to call a class that merely instantiates another a server. Servers do more than just make a single object. At the same time, it is fairly trivial to turn a remote factory, as defined ...
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