12 December 2007

Drools , run an example

I was wondering in the drools to run an example myself and there were nowhere on the net telling you (or better saying explicitly telling you) that for running the example you need to have a backbone class defined behind it, a class with some simple functions and some variables, it should be in the same package, but it should also be imported to your rule file (.drl).

So a Rule in Jboss Rules (Drools) just play with class attributes and you can not define classes in its environment,  after writing the code for classes you need to come up with rules, the only good thing is that it has an integrated environment that suggests you functions and variables as programming the rules.

Drools Tutorial

No comments:

Post a Comment