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

基于Drools的领域专用语言应用研究
引用本文:邓伟.基于Drools的领域专用语言应用研究[J].电脑开发与应用,2012,25(2):8-11.
作者姓名:邓伟
作者单位:太原科技大学计算机科学与技术学院,太原,030024
摘    要:首先介绍了Drools规则引擎和领域专用语言DSL的基本概念,然后通过实例说明了DSL以类自然语言的方式来构建业务层代码,详细阐述了领域专用语言在Drools中的应用来说明它的优点。通过DSL的应用不仅降低了业务逻辑与应用程序的耦合度,而且能以更好的方式来处理业务需求和数据模型的变化,便于系统的维护。

关 键 词:Drools  DSL  规则引擎  领域专用语言  可维护性

Research on Domain Specific Language Based on Drools
DENG Wei.Research on Domain Specific Language Based on Drools[J].Computer Development & Applications,2012,25(2):8-11.
Authors:DENG Wei
Affiliation:DENG Wei (School of Computer Science and Technology, Taiyuan University of Science and Technology , Taiyuan 030024 ,China)
Abstract:In this thesis, the basic concept of rule engine and domain specific language about Drools is introduced at first. Then, we describe DSL in detail with some examples in order to prove the advantage of DSL. Not only can DSL reduce the degree of coupling between business logic layer and application layer, but also it deals with changes to the requirements or changes to the data model in a much better way. It is helpful to the maintenance of the system.
Keywords:Drools  DSL  rule engine  domain specific language  maintenance
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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