Oops I found the answer on the website. I was looking in JIA before and didn't
see a definite statement about it there.../jg

Jim Goodwin wrote:

Is it possible and practical to have multiple unrelated instances of Jess
in the same JVM by simply consing up separate RETE objects?

I'm designing a distributed app which will have multiple Agents (say 10 or 20), which are independently distributable over a network. Each Agent has its own thread, and two different Agents can never have a java reference to the same
object, even if they happen to be co-located on a given occasion.

Each Agent should similarly have its own independent facts and rules.
So I am thinking of just creating a separate RETE object for each Agent
to use on its own thread.

If I read Chapter 18 of JIA correctly, this is a legitimate and intended usage, no?

Jim Goodwin

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