摘要
在三维网络人体数据库管理系统中以AOP思想为指导,并使用Spring2.0技术框架实现了人体数据的有效性检验.该方法将人体数据的有效性检验逻辑抽象出来,并土封装成单独的业务模块,然后采用生明的方式将这个业务模块配置到系统中.在系统运行时这些有效性检验逻辑将被动态地加载到系统的业务逻辑中,由于方法不具备对原有程序代码的侵入性,保证了原有程序功能性代码的纯洁性,因此,符合软件开发中的OCP原则,提高了应用的解耦合性和可扩展性.
A method of checking data validity for 3D human body database network management system based on AOP (Aspect-oriented Programming) is presented,and complieted by Spring2.0 framework. In this method, business logic of date validity checking is abstracted and encagsulated a module. This module is configured in system by declaration. The business logic of data validity checking will be loaded and used dynamically when system running. The original code of the database management system could not be invaded in by this method, and, the purity of system functional code can be ensured. The method of checking data validity based-on AOP meets the requirement of OCP (Open-Closed Principle) in computer software development and improving the 3 D human body database management system decoupling and extensibility.
出处
《西安工程大学学报》
CAS
2009年第2期461-465,共5页
Journal of Xi’an Polytechnic University
基金
Supported by the Scientific and Technological Project of Shaanxi Province(2007K07-11)