享受代码,享受人生

SOA is an integration solution. SOA is message oriented first.
The Key character of SOA is loosely coupled. SOA is enriched
by creating composite apps.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2004年12月17日

摘要: 用随笔写随想,呵呵 上次谈到了对象的抽象是根据对象的行为来进行的,其实对象建立的好坏就在于,行为何责任的分配是否合理. 什么是责任的分配呢? 举个例子.就拿常见的shape族来说吧,circle rectangle都是一个个的shape,他们可能有计算面积的方法,可能有display的方法.那么我们是在circle类中做这些事呢?还是交给一个drawing对象去做然后做过在circle中使用... 阅读全文

posted @ 2004-12-17 20:03 idior 阅读(1759) 评论(2) 推荐(0) 编辑