[rules-users] Stateless Vs Stateful Sessions in Webtier

Knapp, Barry Barry.Knapp at railinc.com
Wed Jan 27 08:33:03 EST 2010


Is there plan to support work items in Stateless sessions as well?  It seems I had a POC using stateless and had to convert it to stateful in order to use a simple "send email" work item.


Thanks
Barry

-----Original Message-----
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Mark Proctor
Sent: Wednesday, January 27, 2010 8:18 AM
To: Rules Users List
Subject: Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

On 27/01/2010 13:09, Simon Thum wrote:
> Wolfgang Laun wrote:
>
>> On Wed, Jan 20, 2010 at 12:41 PM, Simon Thum<simon.thum at gmx.de>  wrote:
>>
>>> Personally, I look at it like:
>>>
>>> stateless ->  propositional logic
>>> stateful ->  first-order logic
>>>
>>>
>> This is a false proposition ;-)
>>
>> 'not', 'exists' and 'forall' - Drools' support for first-order logic
>> quantifiers - is
>> fully available (such as all the other features for LHS) in a stateless session.
>>
> Thanks for the clarification. So stateless _uses_ state but just doesn't
> have it bound to the session?
>
> If that's true, is there a deeper sense behind StatelessSession not
> supporting agenda arbitration?
>
> IOW, should I reasonably be able to cook up a
> "SomewhatStatelessSessionWithAgendaSupport", or would I end up with a
> half-arsed StatefulSession ?
>
you can use agenda and ruleflow from within the stateless session.

Mark
>
>> -W
>>
>>
>>> I'm not sure that's 100% true though. In any case, it depends on the
>>> kind of questions you like to ask. If you're not sure, test it.
>>> Cheers,
>>>
>>> Simon
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.




More information about the rules-users mailing list