摘要: 面向对象框架技术是软件复用的一种高级机制,开发者利用框架所提供的一组集成的、针对特定领域的结构和功能,通过使用或扩展该框架,就能够快速地构建应用。一个设计良好的框架通常运用一种或多种设计模式,该文着重分析了反向控制模式在框架中的应用,同时结合以J2EE架构开发的几个项目经验,介绍了一个简单、易用的JDBC框架实现。
关键词:
设计模式,
框架,
反向控制,
策略模式,
JDBC
Abstract: Object-oriented framework is an advanced mechanism of software reuse, by the use or extension of the framework and the utilization of a group of structures and functions which are provided by the framework, programmer can construct an application rapidly, and these structures and functions aiming at special domain and integrated. A well designed framework applies one or more design patterns. This article analyzes the application of inverse of control in framework. At the same time it introduces a simple and easy-to-use implementation of JDBC framework with the experience in using J2EE architecture to develop several projects.
中图分类号:
龙海,李颖. 基于反向控制模式的通用JDBC框架[J]. , 2005, 31(05): 120-.
LONG Hai, LI Ying. General JDBC Framework Based on Inverse of Control Pattern[J]. , 2005, 31(05): 120-.