2010/10/27 Bruno Freudensprung <bruno.freudensprung(a)temis.com>:
Alright... The test case was delivered with the following documentation
(extract of the "Drools JBoss Rules 5.0 Developer's Guide" book):
"org.drools.runtime.StatelessKnowledgeSession
[snip]
The benefit that statelessness brings is that
the rule engine can do more optimizations.
Ha!
I've been trying to find out about exactly this reputed distinction between
stateful and stateless sessions, NOT to be confused with "sequential mode",
which does introduce optimizations.
No success so far.
-W
StatelessKnowledgeSession as well
as stateful session support a command interface (command design pattern).
There is no need to dispose a stateless session after it has been used."
Bruno.