View RSS Feed

Drools

Drools Components

Rate this Entry
by , 03-04-2012 at 09:57 AM (1283 Views)
1. Rules – Where conditions are specified (If a then b)
2. Facts – Simple objects (POJOs). E.g, a Bank Account fact consists of an account number, someone’s id and balance.
3. Knowledge Base –is where rules are built and loaded into a structure that gets implemented by the Rete algorithm.
4. Session – Here facts are placed. Facts are inserted into a session. A session can be State less or State full. Facts in the statefull shall be present in a constant rule alignment once they are inserted.
5. Activation – It might be a rule’s “then” part. When you find a rule to be true then place Agenda into activation. It shall be noticed that all the activations are only placed in Agenda.
6. Agenda –Activations wait to get fired in agenda. For state full sessions, all rules are being fired. Once a fact is inserted all of the activations are placed in agenda, already. When fire rules of session are called explicitly the execution of activations take place. When activation gets executed once facts might be update or retracted that may place new activations in agenda. New activations will be fired by the Drools engine until the agenda gets empty.

Name:  1.JPG
Views: 346
Size:  18.5 KB
Drools Components

Submit "Drools Components" to Facebook Submit "Drools Components" to Digg Submit "Drools Components" to del.icio.us Submit "Drools Components" to StumbleUpon Submit "Drools Components" to Google

Categories
Drools Rules

Comments