The Design and Implementation of Drools Rule Sets Dynamic Configuration
As a kind of component embedded in JAVA Application, Drools Rule Engine proceeds with the following three consecutive tasks: a)compares and tests the data objects mapped from the database server with the business rules loaded from the drools configuration files; b)activates those rules that are in accordance with the current values of the data objects and the conditions; c)triggers the correspondent operation on the data objects executed by the application in line with the consequences declared in the rules. For the time being, the drools configuration files are relatively static in that the conditions and consequences in those rules are inflexible compared with the increasingly complicated business logic. The application background of this article is the mining of stocks trading data according to a series of stock indexes with the purpose of giving investment guidance. The article put forward a kind of solution for dynamic configuration of Drools Rules by dynamically generating such rule files with the help of customized language for rule definition, databases persisting and XML files parsing technology adopting DOM4J. This solution bridges the chasm between Business and IT by giving control of the logic, and even the code, to stock analysts.
rule engine drools business logic dynamic configuration data mining
WANG Shunyan CAO Yongliang ZHONG Luo
School of Computer Science and Technology Wuhan University of Technology Wuhan, Hubei, 430070, China
国际会议
武汉
英文
934-937
2007-07-25(万方平台首次上网日期,不代表论文的发表时间)