I think chinnaswamy gounder wrote:
>
> --- Aditya Deshpande <[EMAIL PROTECTED]>
> wrote:
> > I agree with you completely. There is no restriction
> > in using JESS as a
> > bean as long as you remember always at the back of
> > your mind that JESS
> > isn't thread safe.
>
> Are you very sure in saying that Jess is not
> thread safe?
>
Jess -is- most certainly thread-safe. Because it is stateful, however
(i.e., it contains a lot of complicated data structures, which change
constantly) it's not densely concurrent; i.e., while one thread is
working with a Rete object, other threads may be locked out for a
while.
Lack of thread safety would be Bad Things Happen if multiple threads
access a Rete object at once. This is -not- the case; it's perfectly
OK to use Jess in a multithreaded environment.
> Also adding to the concept of a
> > rule server, we have
> > used a pool of rete objects associated with a clip
> > file. So whenever a
> > client requests for a clip file to be loaded we give
> > him one object from
> > the pool associated with that clip file. Note
> > whoever the number of
> > rules per clip file are few. Anything wrong in this
> > methodology ?
>
> I had a lot of discussions with ernest on this
> methodology of doing with a pool of objects. Even for
> rule server, you can do with single Rete object.Please
> see the earlier communications on "concurrent users".
>
> Thks and regsrds
>
> Chinnaswamy
>
>
> >
> >
> > Regards
> > Aditya Deshpande
> >
> > Senior Software Engineer
> > UnwiredSoft (I) Ltd.
> > www.unwiredsoft.com
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Alan Moore
> > Sent: Wednesday, March 28, 2001 10:34 AM
> > To: 'Jess'
> > Subject: RE: JESS: Re: Can a Rete engine be put in
> > EJB session bean
> > orenti ty bean
> >
> >
> > [aditya wrote]
> > What I do not understand is why can't you use JESS
> > as a bean ??
> >
> > [alan]
> > To whom are you addressing the question?
> >
> > I don't know of any difficulty Mr. Grounder may be
> > having since I think
> > his
> > questions are about possible jess "limitations"
> > rather than a specific
> > implementation roadblock.
> >
> > If you are asking "Why can't JESS be used as a
> > bean?" there is no
> > technical
> > limitation preventing it AFAIK. However, the answer
> > being put forward on
> > this list is that it may not be the best thing to do
> > *depending on your
> > circumstances*.
> >
> >
> >
> ---------------------------------------------------------------------
> > 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/?.refer=text
>
> ---------------------------------------------------------------------
> 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]
---------------------------------------------------------------------