[Enterprise SOA] OO与SOA的阻抗

以前一直有就这种想法,今天发现“Enterprise SOA”这本书中明确地把它提出来了:

“面向对象强制性封装数据和功能,而面向服务通常认为数据和功能是分开的”

这让人联想起 贫血模型与充血模型旷日持久的争论……

还有,

"对象的粒度一般比较小,这会在分布式系统中导致很多远程调用"

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.