MEF应用于SOA

does MEF apply the SOA paradigm?

 

in this post I'm going to argue that the Manage Extensibility Framework (MEF),

is actually applying to the 4 tenet of Service Orientation Architecture (SOA),

therefore MEF is actually, in-process implementation of the SOA paradigm.

 

Background

when we speaking about SOA we used to think about technologies like web services andWCF,

which is cross process technologies.

but does SOA define that services should always be consumed from the clouds?

local services like loggers, rule engine, cache and more are everyday practice for in-process services.

 
What make your architecture, service oriented?

different architect having different opinions of how to construct SOA architecture,

but most of them agree that SOA design should apply to the 4 tenets of SOA.

 

The 4 tenets of SOA

 MEF, Catalog, Extensibility, Import,Export Service should have Explicit Boundaries.

1264406391_Gear  Service should be Autonomous.

1264403639__bedingungen Service API should rely on Contract.

 1264404491_diagram_v2-26 Service behavior and compatibility should rely on Policy.

 

How MEF apply to the 4 tenets?

 MEF, Catalog, Extensibility, Import,Export MEF boundaries define explicitly by the Export definition.

1264406391_Gear  separating exports into separate dlls will create autonomous unit which has no need

for any reference but the reference for the services contract.

1264403639__bedingungen Imports does not aware of the actual implementation, imports are solely relay on the contract

(composition will find export that mach the import contract).

 1264404491_diagram_v2-26 MEF has different policies mechanism like metadatacreation policy,

instantiation policy, recomposition.

 

Summary

despite MEF being an in-process technology it does apply to the 4 tenet of SOA,

therefore it can consider as such.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值