Font Size: a A A

Rule Engine Application Framework And Its In Credit Loan Business

Posted on:2011-07-13Degree:MasterType:Thesis
Country:ChinaCandidate:X H WangFull Text:PDF
GTID:2178360308452612Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Business rule is the important asset of an organization. Business rule changes frequently, which lack effective information process methods. Usually, we write business rule into program codes. The program codes must be compiled, deployed and validated with business rules change often, thus increase workload of developing and maintaining. Rule engine brings us a new solution. Face the business logics and rules changing frequently, write them as rules into configure files or other data sources, these rules will be invoked by rule engine when program running. When business rules having change, only need to do is adjusting and adapting to business rules'content, in this way to avoid modifying program code directly.A number of new problems have arisen in the process of using rule engine. At present, there is no unified specification about rule engines, many rule engines only provide private API (Application Programming Interface), application programs invoke APIs'code usually are not identical. There are wide differences between rule description languages of rule engines. It makes direct edit business rule very hard for users. This paper research some important aspects of different rule engines to breaking the difference of rule engines, and offer a new solution. Considering decoupling with business application system, this paper designs the rule engine application framework with low coupling of application system.Rule engine mainly offer two functions: Business Rule Using and Business Rule Management. In the aspect of business rule using, this paper designs the rule engine application framework which based on web service combining with credit loan business's requirements that different programming languages invoke the same business rules. The Web service technology has many advantages such as good independence with hardware platform, operation system and program language. The rule engine application framework can help us to invoke the business rules by web service. The process of business rule web service's generation and invoking includes many steps: extract name and input parameters of web service; automatically generate web service codes which call rule engines; generate web service's descriptor; deploy business rule web service to application server; business system invokes the web service.In the aspect of business rule management, this paper encapsulates the different rule engines and improves them, mainly discusses the rule engine's starting and initialization. This paper build a simplified rule description compatible model by through analyze and abstract the different rule description language. To improve the usability, this paper design and implement a visual rule management tool. it can produce different rule description language based on the rule description compatible model and the language converter.The design of rule engine application framework is based on component theory. This paper divides the framework into different components according to SRP(simple responsibility principle).They are RuleBuillder, RuleParser, RuleService, RuleExecutor and RuleManager. The development process based business rule includes such steps: rule analysis, rule definition, rule design, rule editing, rule validation and rule integration. In credit loan business, this paper follows this process, use rule engine application framework to complete business rules using and management.
Keywords/Search Tags:Rule Engine, Compatibility, Web Service, Framework, Credit Loan
PDF Full Text Request
Related items