何时使用SOA(面向服务架构) [英] When to use SOA (Service Oriented Architecture)

查看:176
本文介绍了何时使用SOA(面向服务架构)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我与我们的建筑师之一的谈话,他总结了他利用SOA作为我们将使用服务的唯一时间是当我们需要异步操作,否则,我们将使用直接进入数据存储

I had a conversation with one of our architects recently and he summarized his use of SOA as "The only time we'll use services is when we need async actions otherwise we'll use go direct to the data store"

我想到这句话和服务在发布订阅模式运行良好,似乎相当合理的,但我在,你应该寻找使用SOA什么其他情况不知道?

I thought about this statement and it seems fairly logical as services work well in a publish subscribe model, but I was wondering in what other scenarios you should be looking to use SOA?

推荐答案

我们公开服务给我们的客户,因为他们不应该是能够直接连接到数据源。

We expose services to our customers because they shouldn't be able to connect to the datasource directly.

我们公开服务对我们自己,因为它是在使用WCF不同的技术更容易为s $ P $垫他们。

We expose services to ourselves because it's easier to spread them over different technologies using WCF.

我们,因为我们有相同的数据源不同的用户界面公开服务。而当我们使用服务,我们保存工作的三分之一。

We expose services because we have different user interfaces for the same datasource. And when we use services we save a third of the work.

这是因为异步操作的唯一从来没有。

It is never only because of the async actions.

这篇关于何时使用SOA(面向服务架构)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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