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 session behaves as if the only object
known to it is the one you just inserted. Personally, I look at it like:
stateless -> propositional logic
stateful -> first-order logic
I prefer to look at it as turning a drools session into a function. It
can do eveything a normal stateful session can do, just you have to do
it all within the scope of a single execute call.
Mark
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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users