摘要
抽象工厂模式是所有形态的工厂模式中最为抽象和最具一般性的一种形态。抽象工厂模式可以向客户端提供一个接口,使得客户端在不必指定产品的具体类型的情况下,创建多个产品族中的产品对象。基于抽象工厂模式,提出一种高校学生录取的Java对象建模方法,给出了基于JND I的实现和必要的代码。该方法可以有效地解决分布式环境中代码重用和系统可扩展问题。
The abstract factory pattern is a kind of mode which is the most abstract and general in all factory patterns. The abstract factory pattern can provide an interface to the client, and the client can contribute product objects in many product classes without designating the concrete type of products. Based on the abstract factory pattern, a Java modeling method for a college matriculation system is provided. An implementation using Java Naming Directory Interface (JNDI) and some needed source codes are offered. This method can be helpful for code reuse and scalabilitv in distributed environment.
出处
《武汉理工大学学报(信息与管理工程版)》
CAS
2006年第11期100-102,106,共4页
Journal of Wuhan University of Technology:Information & Management Engineering