my profiler shows that it takes the same amount of time to do:

final RuleBase ruleBase = RuleBaseFactory.newRuleBase( RuleBase.RETEOO, conf );

as to do:
session.executeWithResults();

i am wondering if i can cache the ruleBase and do addPackage() and removePackage() for each executeWithResults().

the ducmentation says always create a new ruleBase. so i am kind of confused. thanks for the help.

thanks.


Looking for last minute shopping deals? Find them fast with Yahoo! Search.