I think [EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> How can we store the objects in rule engine using JSR-94 specs?
> They have following method to excecute.
> List resultList = statelessRuleSession.executeRules(inputs);
> 
> The inputs is the list. But I want to assign input to particular one like
> rete.store("Foo", ObjectFoo); so on.

You want to use the StatefulRuleSession, as opposed to the
StatelessRuleSession; the addObject() method of that interface is
roughly equivalent to Jess's "definstance." There's no equivalent to
"store" (or many other Jess features.)


> 
> Any ideas?
> 
> Thanks
> Bhaskar



---------------------------------------------------------
Ernest Friedman-Hill  
Science and Engineering PSEs        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to