问题描述
我觉得继承与基类的概念,面向对象的最强点。但是,这不是鼓励SOA。那么,什么是流行的方式克服这种限制在SOA?能否请您提供教程,解释(与WCF code示范)这些模式?
请注意:这不是关于模式的SOA提供一个一般性的问题。但更具体到上述问题
注:我使用WCF的SOA
阅读:
-
Do不要在设计抽象基类;但在建模/分析
-
How是一种SOA架构真的要实施?
-
How处理与Java多态性在面向服务的架构
-
SOA和WCF的设计问题:这是一个不寻常的系统设计
? -
Designing WCF数据合同和操作
-
Expando的对象在C#4.0
不管你是否考虑SOA通过SOAP,REST或消息落实,服务文档为中心。 服务是不是面向对象的。
虽然多态性是一个强大的设计工具,OOD,它并不适用于SOA,因为SOA建模不涉及类。 P>
I find Inheritance and concept of base class as the strongest point of OOP. But this is not encouraged in SOA. So, what are the popular patterns for overcoming this limitation in SOA? Could you please provide tutorials that explains (with code demonstration in WCF) these patterns?
Note: This is NOT a general question about patterns available in SOA. But it is more specific to the above mentioned problem.
Note: I am using WCF for SOA.
Reading:
"Do not use Abstract Base class in Design; but in Modeling/Analysis"
How is an SOA architecture really supposed to be implemented?
How to deal with Java Polymorphism in Service Oriented Architecture
SOA and WCF design questions: Is this an unusual system design?
Expando Objects in C# 4.0
No matter whether or not you think about SOA as implemented by SOAP, REST or messaging, services are document-centric. Services are not object-oriented.
While polymorphism is a strong design tool in OOD, it's not applicable in SOA because SOA modeling doesn't involve classes.
这篇关于模式为补偿缺乏继承的SOA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!