I think Krasnigor, Scott L (N-AST) wrote:
> I have a JavaBean that is represented in working memory. Each update to
> the Bean object usually updates 9 of the 12 slots for that object.
> Watching the facts, shows that for each update to the Bean object
> (outside of Jess), I see the fact updated for each changed slot. Is
> there a way to cause a modification to all changed slots of a fact at
> one time when multiple slots have changed outside of Jess? Thanks.

Either 1) you can change the Bean to batch events together (you'd have
to have a "startTransaction()" and "endTransaction()" pair of
methods), or 2) use static definstances, which ignore change events,
and then manually use Rete.updateObject() to tell Jess when an object
has changed.

Ernest Friedman-Hill  
Advanced Software Research          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