HI,
Thanks for explanation.
I understood from ur words, but still i have one doubt.
What is the necessary of creating so many WM object, in what scenario it is
applicable, please one example...
thanks in advance
Anstis, Michael (M.) wrote:
>
> It will occur whenever you (the developer) make it occur.
>
> I guess Rulebase is the RETE network (without memory nodes) and the WM's
> are
> in essence the RETE network memory nodes.
>
> This is my interpretation of their roles.
>
> Here's an example:-
>
> Rulebase
>
> RuleBase ruleBase = RuleBaseFactory.newRuleBase();
> ruleBase.addPackage(pkg);
>
> Working Memory
> --
> WorkingMemory wm1 = ruleBase.newStatefulSession();
> WorkingMemory wm2 = ruleBase.newStatefulSession();
> WorkingMemory wm3 = ruleBase.newStatefulSession();
> WorkingMemory wm4 = ruleBase.newStatefulSession();
> ...
>
> Rulebase 1:n.
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of anandhakrishnan
> Sent: 28 April 2008 15:30
> To: rules-users@lists.jboss.org
> Subject: [rules-users] RuleBase relation with working memory
>
>
> Please Explain, RuleBase 1:n relationship with Working memory, when will
> it
> occur.
> Please give an example
>
> thanks In Advance
> --
> View this message in context:
> http://www.nabble.com/RuleBase-relation-with-working-memory-tp16940200p16940
> 200.html
> Sent from the drools - user mailing list archive at Nabble.com.
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context:
http://www.nabble.com/RuleBase-relation-with-working-memory-tp16940200p16940979.html
Sent from the drools - user mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users