REST and RPC-style SOAP RPC comparison

RPC, remote procedure call, remote procedure calls. REST into SOAP RPC and RPC-style two kinds. All along, I have these two concepts are rather vague, always REST style RPC habitually called WEB API, SOAP RPC called WebService, should be very irregular.

So REST and RPC-style SOAP RPC compare how it?

They are two commonly used Web services integration solutions. Relatively speaking,

SOAP WEB services will be packaged as classical programming model objects in RPC mode to support call WEB services; and REST-style service WEB RPC will be mapped to the standard HTTP operations, are more lightweight service integrated solutions.

REST embodiment, HTTP standard GET, POST, PUT, DELETE operation can be directly mapped to other stateless database CRUD operations, the program supports SOAP context and session state management, more suitable for performing multi-step state in an operation.

REST scheme based on the standard HTTP protocol and no state, the processing may be performed on a client requests any server, it is easy to load balancing based on the HTTP server side, so that the server has good lateral extensibility.

The SOA architecture SOAP as one of the core specifications defined by W3C, WS-Security specification based under the same architecture provides good security support. The lack of direct support programs REST service security.

Related apology
SOA summary
stateless
architect basics: SOA

Released 1110 original articles · won praise 337 · Views 3.39 million +

Guess you like

Origin blog.csdn.net/leftfist/article/details/104143445
RPC
RPC