Hi,

I wrote and attached a simple example to experiment Multi threaded
engines sharing same beans. Basically it is cut and paste from the
original jess code and examples.

The class App contains to separate threads to JessA and JessB. Both
engines executes run-until-halt. JessA and JessB shares the class
Share1. Share1 has synchronized methods put and remove. put method
creates instances (bean Name.class in this example) in both engines. Now
the problem is if I put a new Instance of a bean the JessA fires and
changes the bean which is ok. but the JessB is sharing that bean and it
should react to JessA and change it as well. However it does nothing!

Any help is welcomed.
Are there any simple examples with this topic?

Regards S.S. Ozsariyildiz



ttest1.zip

Reply via email to