Remote procedure call implementation
Synchronous communication between programs using RPC and RMI
Article REF: H2738 V1
Remote procedure call implementation
Synchronous communication between programs using RPC and RMI

Authors : Michel RIVEILL, Roland BALTER, Fabienne BOYER

Publication date: February 10, 2001, Review date: June 16, 2016 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

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.

You do not have access to this resource.
Logo Techniques de l'Ingenieur

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?


Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details