Thank you for the response.

There could be a slight danger in doing that. If the remote object is modified meanwhile (a new event for the same attribute is in the queue) and setting the property again to the old value will trigger a new event in addition, resulting in two events that
will result in a infinite loop situation.

Is there a possiblity that in future it would be possible to update the fact alone passing in the new value without using modify?

Thanks,
Lakshmi

[EMAIL PROTECTED] wrote:

I think Lakshmi Vempati wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
When mapping javabean objects as "static" definstances to JESS, is it possible to update only a single given property value instead of the whole bean state?

You emailed me a more detailed version of this in which you mentioned
that the Bean is backed by a CORBA-connected object, no network
latency is an issue. You could use (modify) to change the shadow fact
directly, but that would also call setXXX() on the Bean; that call
would be redundant. Still, it's cheaper than calling updateObject()
and having Jess call *all* of the getters.



---------------------------------------------------------
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]
--------------------------------------------------------------------



--------------------------------------------------------------------
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