REMOTE PROCEDURE CALL
Implementation of Remote Procedure Calls
RPC for simple calculator
RPC for Math Functions
RPC to find the factorial
RPC to find the Fibonacci Series
Introduction to Remote Procedure Calls:
Remote Procedure Call (RPC) is a powerful technique for constructing distributed, client-server based applications. It is based on extending the conventional local procedure calling so that the called procedure need not exist in the same address space as the calling procedure. The two processes may be on the same system, or they may be on different systems with a network connecting them.
What happens when we make a Ramote Procedure Calls ?
1. The calling environment is suspended, procedure parameters are transferred across the network to the environment where the procedure is to execute, and the procedure is executed there.2. When the procedure finishes and produces its results, its results are transferred back to the calling environment, where execution resumes as if returning from a regular procedure call.
How Remote Procedure Call works ?
RPC for simple calculator
RPC for Math Functions
RPC to find the factorial
RPC to find the Fibonacci Series
Remote Procedure Call For Calculator :
SOURCE CODE :
Client.java
OUTPUT
Remote Procedure Call For Math Functions :
SOURCE CODE :
Client.java
OUTPUT
Comments
Post a Comment