摘要
旨在提出一种在开发三层结构信息系统时可以实现代码级软件重用的方法。由于在三层结构中客户端和服务器端往往选择不同的数据库管理系统,抽象的域类对象在实现持久化时,很难实现代码重用。文中比较了DAO、RDO和ADO三种数据访问对象的异同点。根据ADO的物理存储格式无关性的特点,提出了借助于ADO实现域类代码重用于客户端和服务器端中间层的想法,并用一个具体的实例介绍了实现重用的过程。由于三层结构应用模式的广泛应用,这种方案将具有一定的实际应用价值。
The aim of this thesis is to put forward a method of the original code reuse which can be used in developing threetier architecture MIS system. Because different DBMS are selected to be used among the client and server side in threetier architecture system, the code reuse is hard to be achieved. The differences between the DAO, RDO and ADO are described in the paper. According to the characteristic of physical storage independence of ADO, a view point is put forward by which the code can be reused in client and server side application. About the view point an example is illustrated to show the process of reusing the code. The scheme will be of actual use value for the threetier architecture widely applied.
出处
《河南科技大学学报(自然科学版)》
CAS
2003年第3期76-78,共3页
Journal of Henan University of Science And Technology:Natural Science
基金
河南科技大学科研基金资助项目(200110)