基于规则引擎的JAVA声明式编程  被引量:5

RULE ENGINE-BASED JAVA DECLARATIVE PROGRAMMING

在线阅读下载全文

作  者:郑浩然[1] 肖伟[1] 

机构地区:[1]上海市计算技术研究所,上海200040

出  处:《计算机应用与软件》2009年第12期132-134,共3页Computer Applications and Software

摘  要:声明式编程与传统的命令式编程相比是一种更简单、更快速的软件开发方式,但是支持声明式编程方式的引擎和工具很少。主要研究如何利用开源规则引擎Drools来实现JAVA的声明式编程的方法,着重分析声明式编程的特点以及规则引擎的结构、流程,核心的RETE算法和规则的匹配效率,并通过一个示例来分析如何高效率高性能的进行规则匹配和声明式编码。Declarative programming is a simpler and faster way of software development compared with traditional imperative programming, but the engines and tools supporting the declarative programming are not much. In this paper,the authors study the way of using open source rule engine Drools to realise JAVA declarative programming,the emphasis is put in analyzing the features of declarative programming as well as the structure and flow of rule engine, the core algorithm--RETE and the matching efficiency of rules, an example is utilised by the authors too to analyze how to perform high-efficiency rule-matching and declarative coding.

关 键 词:声明式编程 规则引擎 DROOLS RETE算法 

分 类 号:TP242.6[自动化与计算机技术—检测技术与自动化装置] TM571.61[自动化与计算机技术—控制科学与工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象