摘要
目前大多数软件开发都采用面向对象技术,而数据仍然保存在关系数据库中。由于对象模型和关系模型存在阻抗不匹配,因此实现对象与关系的映射已成为软件开发领域的关键问题。iBATIS采用O/R Mapping技术、XML技术和软件分层的设计思想,实现了一个有效的数据库访问中间件。选择iBATIS进行数据持久化,具有可开源、松耦合等特点,从而使系统的数据访问与应用逻辑分离开来。该技术的采用满足企业的开发需求,使系统具备可扩展性、可移植性、安全性、易维护性等。
Existing software development is based on object-oriented technology, but data is still saved in the relational database. To reduce impedance mismatch between the object models and relational models, implementation of O/R Mapping between object and relation is becoming a key problem in the field of software development, iBATIS obtains an effective middleware of database access available by adopting many techniques, such as O/R Mapping technique, XML technique and software design concept based on layer. It has features of open source and loose coupling when the iBATIS is chosen to perform data persistency, thus data access of the system is separate from the application logic. This technology can meet the demands of enterprise development and the system is extendible, transplantable, safe and easy to maintain.
出处
《电脑开发与应用》
2008年第6期51-53,共3页
Computer Development & Applications
基金
武钢资助项目