Using an example of a remote procedure call, explain how middleware coordinates the interaction of computers in a distributed system.
What will be an ideal response?
In a remote procedure call, an executing component on one computer (A) calls a
procedure or method, which is part of a component that is executing on a different
computer (B). The role of the middleware is to coordinate this interaction. There
are several steps involved in this:
1. The provision of a stub procedure with the same interface as the called
component. Calling this stub procedure initiates a call to the system
middleware.
2. The middleware running on computer A accepts the call and discovers the
location of the called component.
3. It translates the parameters into a standard format and sends these to
computer B along with a request to call the required component.
4. The middleware on computer B converts the parameters into the appropriate
format for the language of the called component and then calls that
component.
5. After execution, the called component returns the result to the middleware
on computer B which then translates this into the middleware standard
format.
6. The result is transmitted to the middleware on computer A, which then
translates that into the appropriate language format and returns it to the
original calling component.
You might also like to view...
To return to the Start screen from any application you have to press the _____ key(s) on your computer keyboard.
A. Esc B. Ctrl+Alt C. Alt+Delete D. Windows
Give a command to
a. Redirect standard output from a sort command to a file named phone_list. Assume the input file is named numbers. b. Translate all occurrences of the characters [ and { to the character (, and all occurrences of the characters ] and } to the character ), in the file permdemos.c. c. Create a file named book that contains the contents of two other files: part1 and part2.
Changing a binding constraint also changes the optimal solution
Indicate whether the statement is true or false
What might be the result of too many failed login attempts?
A. System lockout B. System reboot C. Application notifications D. Device reconfiguration