What is the difference between remote procedure call and web service

Posted by xiao on Stack Overflow See other posts from Stack Overflow or by xiao
Published on 2010-06-12T13:54:01Z Indexed on 2010/06/12 14:02 UTC
Read the original article Hit count: 204

Filed under:
|

Is there any clear definition about RPC and Web Service? A quick wikipedia search shows:

RPC: Remote procedure call (RPC) is an Inter-process communication technology that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) without the programmer explicitly coding the details for this remote interaction.

Web Service: Web services are typically application programming interfaces (API) or web APIs that are accessed via Hypertext Transfer Protocol and executed on a remote system hosting the requested services. Web services tend to fall into one of two camps: Big Web Services[1] and RESTful Web Services.

I am not quite clear what the real difference between the two things. It seems that one thing could belongs to RPC and is kind of web service at the same time.

Is Web Service a higher level representation of RPC?

© Stack Overflow or respective owner

Related posts about web-services

Related posts about rpc