2. A java application can only invoke the methods of
the classes available inside its JVM
3. Distributed Computing
Distributed System
consists of multiple autonomous computers that
communicate through a computer network to
achieve a common goal.
4. Distributed Computing revolves around
client-server technology where several client
programs communicate with one or more server
applications
5. Remote Method Invocation (RMI) allows a Java
program running inside a JVM to execute a
method of a class available in another JVM
12. Stub and Skeleton Layer
Marshaling and Unmarshaling data
Transmitting and receiving data to and
from the Remote Reference Layer
#Marshaling #Unmarshaling
13. Remote Reference Layer
defines and supports the invocation
semantics of the RMI connection.
converts client request into low-level RMI
transport request and forwards it to
transport layer
14. Transport Protocol Layer
makes the connection between JVMs.
setting up connection using Sockets.
listens for incoming calls
manages requests from reference layer.
15. Components of RMI application:
Remote Interface
Implementation class
Stub
Skeleton