Alan is correct. However, each of these instances is likely to be quite large. In our case, rule sets on the order of 100-200 rules, each Rete is roughly 12 megabytes each. Not to mention the time it takes to load the rules. I believe a threading solution is necessary for Jess to be practical in the (inter|intra)net server environment. What fraction of the Jess population intends to deploy in this configuration? Is this an urgent issue? Bob Alan Moore wrote: > 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] > ---------------------------------------------------------------------
begin:vcard n:Johnson;Bob tel;fax:303 544 0373 tel;work:303 440 8833 x20 x-mozilla-html:FALSE url:www.streampoint.com org:Streampoint Financial Systems, Inc. version:2.1 email;internet:[EMAIL PROTECTED] title:V.P. of Product Development adr;quoted-printable:;;4940 Pearl East Circle=0D=0ASuite 200=0D=0A;Boulder;CO;80301; fn:Bob Johnson end:vcard
