Well, you should be able to detect a new session (see Session documentation)
and create a hashtable of Rete instances indexed by sessionId.
Good luck!
alan
> -----Original Message-----
> From: Fang Liu [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 11, 1999 10:54 AM
> To: [EMAIL PROTECTED]
> Subject: JESS: SingleThreadModel
>
>
> HI, All:
> I have a servlet with one Rete instance on the server side.
> The problem
> is: usually there is one servlet instance per registered
> servlet name,
> which results in that all the clients have to share one Rete engine,
> which is not what I want. So I am considering to use thread or
> implement javax.http.SingleThreadModel to solve this problem.
> Does anybody know how to do that? Any comments or examples
> will be very
> appreciated.
>
> Sincerely,
> Fang Liu
> ---------------------------------------------------------------------
> 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]
---------------------------------------------------------------------