Chapter 1. J2EE introduction 15
in Java 2 Enterprise Edition to provide a distributed computing business tier
through the Enterprise Java Beans (EJB) application programming interface.
Remote Method Invocation uses a common mechanism for invoking methods on
a remote object, stubs and skeletons. The stub is located on the client or local
system and acts as a proxy to the remote object. The client makes a method call
on the stub which then handles the complexities of the remote method call. This
mechanism makes the underlying communications transparent to the client. As
far as the client is concerned, the method call appears local.
When a method on the stub is invoked, the following actions occur.
1. The stub establishes a connection to the Jav ...