Explain RMI Architecture?
RMI uses a layered architecture, each of the layers could be enhanced or replaced without affecting the rest of the system. The details of layers can be summarised as follows: • Application Layer: The client and server program • Stub & Skeleton Layer: Intercepts method calls made by the client/redirects these calls to a remote RMI service. • Remote Reference Layer: Understands how to interpret and manage references made from clients to the remote service objects. • Transport layer: Based on TCP/IP connections between machines in a network. It provides basic connectivity, as well as some firewall penetration strategies.