Rule engine

2,122 views 11 slides Sep 28, 2010
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

Java Rule Engine Technology PPT


Slide Content

Rule Engine
CSS Corp
By
Gopalakrishnan S

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.

Rule Engine
Types of Rule Engine :
1) Jrule Engine
2) Drools
3) Mandarax
4) Termware
5) Jlisa and
6) JEOPS

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

Thank You
Tags