Thanks for your replies.
Petemuir, I know there's some support for rules on Seam but I need to stay away
from Seam by now.. shame.
dgallego, thanks, I'll copy that. The .drl file will be then packaged in my
.jar file? (something like..)
mypackage.jar
|
|_mypackage.bean
| |_ ejb classes
You shouldn't use an absolute path to load your rules.
Instead, use this method (extracted from Drools examples and modified).
| public static RuleBase readRule(Class readerClass, String rulesFile, String
rulesDslFile) throws Exception
| {
| if (rule
I can't help you with your problem (have you tried the mailing list linked off
http://labs.jboss.com?)
but
have you looked at Seam's Drools support? It allows you to inject the working
memory object and not have to load the rules file from disk.
View the original post :
http://www.jboss.com/i