dynamic rules - will you be adding new rules to your rulebase? If so
that rulebase needs to know know which working memories to update.
Mark
Shai Bentin wrote:
Can anyone explain to me why I would want to hold a reference to my
working memory in the ruleBase?
The way we use the rules in our application is that we load all the
copiled packages at the begining (we have API in place to replace,
remove or add packages in runtime). The users invoke operations on
different objects that get evaluated by the rules. Each time we call
onto our factory get the correspondiong rulebase and invoke
'newStatefulSession()'. If I understand this correctly each time we
create a new WorkingMemory instance which will not be garbage
collected when were done since there is a reference to it?
What is the difference between Stateful and Stateless sessions?
Is there a way to reuse working memory from a ruleBase?
thnx
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users