How is JBoss Drools is made up
by, 03-04-2012 at 10:54 AM (446 Views)
There are 2 main parts of Drools:
Authoring & Runtime
Creation Rules files (.DRL) are involved in authoring process. They consists of rules that are being fed to a parser. Correct syntax of rules is checked by parser which creates intermediate structure so that to describe certain rules. Then it is passed on to Package Builder that creates the packages. After this, any code generation as well as compilation is undertaken that is essential to create package.
RuleBase, being a runtime component is built from 1 or more then 1 packages. At any time, more than one working memories could be instantiated by the RuleBase. Numbers of sub components are present in working memory which includes Truth Maintenance system, Working Memory Event Support & Agenda and Agenda Event Support.