REST 和 SOAP 都是 SOA 的实现吗? [英] Are both REST and SOAP an implementation of SOA?

查看:50
本文介绍了REST 和 SOAP 都是 SOA 的实现吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于 SOA 的问题.

I have a question around SOA.

SOAP REST 是否都被认为是实现面向服务的架构的方法?

Are SOAP and REST both considered approaches for implementing a service-oriented architecture?

我知道 REST 是一种风格,因此这让我想到了这个问题.

I know that REST is a style, thus this leads me to this question.

推荐答案

是的,它们都可以被视为实现 SOA 的方法.我想您可以说 REST 是一种风格,但是您必须说 SOAP 也是一种风格.我会简单地将它们视为实现相同目的的不同技术.SOAP 模仿远程过程调用,而 REST 与 Web (http) 的设计方式一致.

Yes, they both can be considered approaches for implementing a SOA. I suppose you could say REST is a style, but then you'd have to say SOAP is one too. I would simply consider them different techniques to accomplish the same end. SOAP mimics a Remote Procedure Call and REST is inline with how the web (http) was designed.

这篇关于REST 和 SOAP 都是 SOA 的实现吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆