RPC is message-based?  
Author Message
Arcadius A.





PostPosted: 2003-12-4 9:37:00 Top

java-programmer, RPC is message-based? Hello!
Please, at :
http://www-106.ibm.com/developerworks/xml/library/x-soapbx2/#2
It's written that "...RPC is a message-based means of making requests over
a network..."

What does this really mean?
Should I understand that RPC is asynchronous?

Thanks.

Arcadius.


 
John C. Bollinger





PostPosted: 2003-12-4 23:09:00 Top

java-programmer >> RPC is message-based? Arcadius A. wrote:

> Hello!
> Please, at :
> http://www-106.ibm.com/developerworks/xml/library/x-soapbx2/#2
> It's written that "...RPC is a message-based means of making requests over
> a network..."
>
> What does this really mean?

It means that when you invoke a method on a remote object, a message is
sent over the network to the host on which the object lives, describing
the invocation, and once the method has completed (one way or another) a
message is sent back with the results.

> Should I understand that RPC is asynchronous?

It depends on what you mean by asynchronous. By most people's
definition, no. Invocation of a method on a remote object blocks the
local thread until the response is received, thus the protocol is
synchronous.


John Bollinger
email***@***.com

 
monroeds





PostPosted: 2003-12-5 21:09:00 Top

java-programmer >> RPC is message-based? "Arcadius A." <email***@***.com> wrote in message news:<bqm335$2i3l$email***@***.com>...
> Hello!
> Please, at :
> http://www-106.ibm.com/developerworks/xml/library/x-soapbx2/#2
> It's written that "...RPC is a message-based means of making requests over
> a network..."

It means that a portmapper is listening for activity associated with a
registered remote procedure call. When it detects the expected
activity, it executes the remote procedure.

>
> What does this really mean?
> Should I understand that RPC is asynchronous?
>

Asynchronous isn't the right term. RPC uses the udp protocol rather
than establishing a virtual circuit via tcp. It's a single go-around
mechanism.
 
 
Arcadius A.





PostPosted: 2003-12-5 22:53:00 Top

java-programmer >> RPC is message-based? Thanks to all for the help!

Arcadius.