首页 | 本学科首页   官方微博 | 高级检索  
     

面向切面的数据验证组件研究与实现
引用本文:赵广利.面向切面的数据验证组件研究与实现[J].计算机工程与设计,2010,31(1).
作者姓名:赵广利
作者单位:大连海事大学,信息科学技术学院,辽宁,大连,116026
基金项目:国家自然科学基金项目 
摘    要:传统的数据验证方法会造成数据验证代码纠缠在一起,使得软件的维护性与重用性大大降低.面向切面编程技术(AOP)可将应用程序中的"横切关注点"从"纵向关注点"中分离出来并被封装到一个可重用的模块中,再利用反转控制(IoC)实现数据验证逻辑与其它业务逻辑间的松散耦合.在此基础上具体构建了一个基于服务器端的数据验证组件All4Validate,并将其以低侵入的方式融入到现有的J2EE/EJB开发过程的组件产品中,有效地解决了传统数据验证方法的弊端,并极大地提高软件的开发效率.

关 键 词:面向切面编程技术  反转控制模式  数据验证  All4Validate组件  耦合

Research and implementation of aspect-oriented data validation component
ZHAO Guang-li.Research and implementation of aspect-oriented data validation component[J].Computer Engineering and Design,2010,31(1).
Authors:ZHAO Guang-li
Affiliation:ZHAO Guang-li(College of Information Science , Technology,Dalian Maritime University,Dalian 116026,China)
Abstract:The traditional data validation method cause data validation code tangling,greatly reduces sottware's reusability and maintainability.The crosscutting concerns in application program is separated from vertical concerns by AOP,and is packaged in reusable module,hereafter,the loose coupling between data validation logic and other business logic is realized by IoC pattern.On this basis,the data validation component-All4Validate based on server is designed, and is blended into the existing component products of J2EE/EJB development process.The method effectively solve the disadvantages of traditional data validation method and greatly improves the efficiency of software development.
Keywords:AOP  IoC pattern  data validation  All4Validate component  coupling
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号