View stunning SlideShares in full-screen with the new iOS app!Introducing SlideShare for AndroidExplore all your favorite topics in the SlideShare appGet the SlideShare app to Save for Later — even offline
View stunning SlideShares in full-screen with the new Android app!View stunning SlideShares in full-screen with the new iOS app!
Rule Engine Introduction : * Rule engine helps in performing conclusions based on knowledge and inferences stored in rules. * The rules are basically nothing but conditions and actions.
Rule Engine Advantages : 1) Separates your application from conditions which control the flow. - Rules are stored in separate file. - Rules can be modified by either technical or business peoples. - Easier to manage and maintain. - No need to deploy after change the rules. 2) It helps in removing a lot of if-else statements from code and make it more maintainable.
JRule Engine It is a Java rule engine, based on Java Specification Request(JSR) 94. i.e. Rules can be loaded by an XML file. JSR is nothing but Java Specification Request. Changes to the Java platform can be proposed by members of the Java Community Process through the creation of a JSR.
JRule Engine Feature : Act upon input objects to produce output objects. Like Input object are facts and Output object are conclusions.
JRule Engine Parts of Rule : - Condition and - Action
JRule Engine Format for Jrule Engine : * Name * Description * List of assumption objects and * List of action objects.
JRule Engine Rule Session : It is a run time connection between client and rule engine. Types : 1) Stateful – It allows a client to have a prolonged interaction with rule execution set. Input objects can be progressively added to the session and output objects can be queried repeatedly. 2) Stateless – It provides a high performance and simple API that executes rule execution set with a list of input objects. This session methods are idempotent.
JRule Engine please put your queries in below forum https://sourceforge.net/projects/javarulesengine/forums