j2ee中最常用设计模式资料
创建型模式:Factory Pattern 工厂模式 概述:定义一个用于创建对象的接口,让子类决定实例化哪一个类。FactoryMethod使一个类的实例化延迟到其子类。 适用性: 1.当一个