Font Size: a A A

An Implement Method For Java Rule Engine Based On Domain Specific Language

Posted on:2012-04-22Degree:MasterType:Thesis
Country:ChinaCandidate:J B ZhangFull Text:PDF
GTID:2178330332475031Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With further development and application of information technology, business rules in various fields, derived from domain knowledge and business related, become increasingly large in amount and more complicated. Therefore, how to effectively manage and apply these rules has become an important research point of the industry. Rule engine plays a critical role in the research, which already has a broad application in telecommunication, financial service, IT and so forth.This paper takes inquiry and reasoning domain expert system as target application to illustrate Java rules engine implementation based on domain specific language.Firstly, this paper designs and implements a set of Domain Specific Language based on EBNF. This rule language is not only rich in semantics, which is able to describe and express various knowledge and rules in specific domain, but also has a relatively simple structure, making it possible to decouple business rules with real system.Secondly, this paper puts forward a rule model based on group thinking to divide and merge rule by rule type and finished design and implementation of Rule Evaluation Engine by integrating DSL parser. The result shows that the computing efficiency of rule matching in rule engine and rule invocation is fairly high.Lastly, this paper takes software quality assessment as example business domain, gives a complete application example for an implement method for Java rule engine based on domain specific language.Experiments result shows DSL rule language, rule model and technical architecture designed and implemented by this paper possess performability and transferability. Rules match and active rules operation have a higher efficiency. This method can be a good solution to a large class of related applications with similar structural and qualitative rules. So they have practical reference value to business rules engine applications in other fields.
Keywords/Search Tags:Rule engine, Domain specific language, EBNF, Production-expression, JAVACC
PDF Full Text Request
Related items