4. Remote procedure call implementation
The approaches to the effective realization of a remote procedure call presented here use programming interfaces at different levels: direct use of sockets, use of an IDL and stub generator (Sun's RPCgen), use of Java RMI.
4.1 Sending messages
Implementing a remote procedure call directly using sockets (communication ports associated with processes) is purely for educational purposes, to highlight the various elements of the call that are hidden when implemented with stub generators.
Depending on the desired mode of implementation (non-connected mode using the UDP protocol or connected mode using the TCP protocol), the server and client programs take one of the forms shown below.
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Remote procedure call implementation
References
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference