Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-02-01 Thread Pritham
[quote] you can use agenda and ruleflow from within the stateless session.[/quote] How? The api doesn't seem to support at the moment (5.0.1) -- View this message in context: http://n3.nabble.com/Stateless-Vs-Stateful-Sessions-in-Webtier-tp130284p181381.html Sent from the Drools - User mailing

Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-27 Thread Knapp, Barry
ules-users-boun...@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

Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-27 Thread Mark Proctor
On 27/01/2010 13:09, Simon Thum wrote: > Wolfgang Laun wrote: > >> On Wed, Jan 20, 2010 at 12:41 PM, Simon Thum wrote: >> >>> Personally, I look at it like: >>> >>> stateless -> propositional logic >>> stateful -> first-order logic >>> >>> >> This is a false proposition ;-) >>

Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-27 Thread Simon Thum
Wolfgang Laun wrote: > On Wed, Jan 20, 2010 at 12:41 PM, Simon Thum 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 > q

Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-26 Thread Pritham
I'm planning to use the following approach in my webtier: High level design: Each http request for a page on our site has an average of 5 separate requests to process rules before finally rendering. Each time, servlet handler calls runRule(). Essentially, rules is serving as a filtering process a

Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-21 Thread Pritam
What about thread-safety of StatefulSession? Which part isn't thread-safe and how do you propose developers use this in the web tier since I don't find many useful api available on StatelessSession (grouping, agendafilters etc.,) -- View this message in context: http://n3.nabble.com/Stateless-Vs

Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-21 Thread Mark Proctor
On 20/01/2010 11:41, Simon Thum wrote: > Pritam wrote: > >> Drools says, for rules itself, "it doesn't matter whether you use stateless >> or stateful ksession ..." then why is that an entire set of metadata like >> grouping and ordering is ignored? >> > As I understood it, a stateless se

Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-20 Thread Wolfgang Laun
On Wed, Jan 20, 2010 at 12:41 PM, Simon Thum wrote: > Pritam wrote: >> Drools says, for rules itself, "it doesn't matter whether you use stateless >> or stateful ksession ..." then why is that an entire set of metadata like >> grouping and ordering is ignored? > > As I understood it, a stateless s

Re: [rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-20 Thread Simon Thum
Pritam wrote: > Drools says, for rules itself, "it doesn't matter whether you use stateless > or stateful ksession ..." then why is that an entire set of metadata like > grouping and ordering is ignored? As I understood it, a stateless session behaves as if the only object known to it is the one y

[rules-users] Stateless Vs Stateful Sessions in Webtier

2010-01-19 Thread Pritam
It isn't clear from the documentation and examples on the recommended usage of knowledge sessions. From Michael Bali's book, it is highly recommended to use StatelessKnowledgeSession, since it's threadsafe, but a quick look at the API shows that it doesn't support many of the features of stateful