![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA Design Pattern
bts2000dkdkdk
这个作者很懒,什么都没留下…
展开
-
Strategy Design Pattern 策略模式
1. Strategy Deisgn PatternZH: Comparator 是策略模式(strategy design pattern),就是不改变对象自身,而用一个策略对象(strategy object)来改变它的行为EN: Comparator is kind of strategy design pattern, that means Object won't change ...2008-09-23 19:05:17 · 126 阅读 · 0 评论 -
Session Facade
Session Facade:-- The Session Facade manages the business objects, and provides a uniform service access layer to clients. -- Expose their interfaces to client tier -- We can use a session bean ...2008-11-02 06:43:09 · 103 阅读 · 0 评论 -
SDAO
SDAO实现 SDAO 模式使我们能够测试各种应用程序层(如业务逻辑和 GUI),而无需恰好拥有实际的数据库。便宜:使用模拟数据库进行测试和调试使您节省了在每个开发人员的桌面上安装 DB2(比方说)的成本. 图:[img]http://www.ibm.com/developerworks/java/library/j-sdao/image2.gif[/img][url]refe...2008-11-02 06:46:48 · 218 阅读 · 0 评论 -
Singleton
singleton used to restrict instantiation of a class to only one object2008-11-02 06:48:58 · 91 阅读 · 0 评论 -
Front controller
Front controller1. The controller is the initilal contact point for handling all the requests in system, 2. The controller actually is a centralized access point for presentation tier request hand...2008-11-02 06:50:51 · 130 阅读 · 0 评论