摘要: 外观模式(Facade)的定义:为子系统中的一组接口提供一个一致的界面。Facade一个典型应用就是数据库JDBC的应用,如下例对数据库的操作:public class DBCompare { Connection conn = null; PreparedStatement prep = null... 阅读全文
posted @ 2015-02-23 09:24 Coda 阅读(2019) 评论(0) 推荐(0)