摘要:
契约式设计也可以叫做 programming by contract 或contract first development, 1986年Bertrand Meyer在Eiffel编程语言中提出的术语。现在Visual Studio 2005 Team Edition也支持契约式设计。 阅读全文
posted @ 2007-08-01 18:03
许晓光
阅读(332)
评论(0)
推荐(0)
摘要:
WSE2.0 用DIME 作为附件的传输协议。 而在WSE3.0中使用新的MTOM消息传输优化机制。 阅读全文
posted @ 2007-08-01 17:18
许晓光
阅读(406)
评论(0)
推荐(0)
摘要:
Define a one to many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically. 阅读全文
posted @ 2007-08-01 16:11
许晓光
阅读(189)
评论(0)
推荐(0)
摘要:
Provide a unified interface to a set of interfaces in a subsystem.Facade defines a high level interface that makes the subsystem easier to use. EJB中可以用Facade模式减少远程调用的次数! 阅读全文
posted @ 2007-08-01 14:06
许晓光
阅读(190)
评论(0)
推荐(0)
摘要:
Provide a surrogate or placeholder for another object to control access to it. 代理类型: 远程代理(Remote Proxy) .NET Remoting, JAVA RMI 虚拟代理(Virtual Proxy)It will not be created until needed. Copy on write... 阅读全文
posted @ 2007-08-01 10:51
许晓光
阅读(223)
评论(0)
推荐(0)
摘要:
Attach additional responsibilities to an object dynamically.Decorators provide a flexible alternative to subclassing for extending functionality. 动态地给一个对象增加一些额外的职责。就增加功 能而言,Decorator模式比生成子类更为灵活。 ——《... 阅读全文
posted @ 2007-08-01 10:07
许晓光
阅读(285)
评论(0)
推荐(0)
摘要:
1. 该起床了! It's time to get up! / It's time to wake up!It's time to get out of bed.It's time to get ready. 2. 快点儿起床!Get up soon. 3. 我真不想起。I don't wanna get up. / I don't want to. 4. 你醒了吗?Are you awake? ... 阅读全文
posted @ 2007-08-01 09:40
许晓光
阅读(271)
评论(0)
推荐(0)

浙公网安备 33010602011771号