29.11.2014 Views

Remoting patterns

Remoting patterns

Remoting patterns

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Pattern: Requestor<br />

• Context:<br />

22<br />

• A client needs to access one or more remote objects<br />

• Problem:<br />

• For a remote invocation …<br />

• Solution:<br />

• Marshalling must be triggered<br />

• A connection needs to be established<br />

• The request information must be sent to the target remote object<br />

• In the client application …<br />

• Use a Requestor for accessing the remote object<br />

• Supply it with the absolute object reference of the remote object,<br />

the operation name, and the arguments<br />

• The requestor constructs a remote invocation from these<br />

parameters and sends the invocation to the remote object<br />

Uwe Zdun, Markus Voelter, Michael Kircher - <strong>Remoting</strong> Patterns.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!