Hi ernest,

       Greetings.

Providing a slot for user-ID in what way it will help.
Fact has a header, slot parameters and their values.
If user-ID is one such slot, we are just providing one
extra parameter and its value. Any thing more.

Advance thanks for your advice

Chinnaswamy

--- [EMAIL PROTECTED] wrote:
> 
> runUntilHalt will run the engine until you call
> (halt) -- i.e., it can
> run forever, If there are no rules to fire, it
> sleeps.
> 
> Many concurrent users can share a single Rete
> object. The Rete object
> can be running in one thread, and communication can
> happen from other
> threads. You can assert facts from many different
> threads while the
> engine is running, and if results are returned by
> calling Java
> methods, these methods can use notify() to contact
> the client threads
> to retrieve the results.
> 
> The only complication is that the facts pertaining
> to each client have
> to be distinct. Using a client-id (coookie) slot in
> the user-specific
> facts would be sufficient.
> 
> You might want to get a book on multithreaded
> application design. Doug
> Lea's Concurrent Programming in Java is very good.
> 
> 
> I think chinnaswamy gounder wrote:
> > Hi All,
> >         In my web applications ( with hundreds of
> > concurrent users ), after creating a Rete object 
> and
> > referring the related rules, if I say
> > 
> > " runUntilHalt();
> > 
> > will this rete object continue to run until the
> end of
> > the session.
> > 
> >        It means that with a single Rete object
> only
> > after the end of every session , the next user
> will be
> > able to use the Rete object. Is creating a pool of
> > Rete objects the only way to apply rule engine in
> web
> > applications of having hundreds of concurrent
> users.
> > 
> > 
> >     Seeking your advice on this
> > 
> > Chinnaswamy
> > Singapore
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail. 
> > http://personal.mail.yahoo.com/
> > 
> >
>
---------------------------------------------------------------------
> > 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]
> >
>
---------------------------------------------------------------------
> > 
> 
> 
> 
>
---------------------------------------------------------
> Ernest Friedman-Hill  
> Distributed Systems Research        Phone: (925)
> 294-2154
> Sandia National Labs                FAX:   (925)
> 294-2234
> Org. 8920, MS 9012                 
> [EMAIL PROTECTED]
> PO Box 969                 
> http://herzberg.ca.sandia.gov
> Livermore, CA 94550
> 
>
---------------------------------------------------------------------
> 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]
>
---------------------------------------------------------------------
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

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