[rules-users] Drools 4 Stateful Session dispose

mule1 uap001 at yahoo.com
Thu Sep 13 14:57:07 EDT 2007


Hello,

I have just started looking at drools 4 to upgrade from drools 3. While
reading the documentation, was wondering whether it is necessary to call
session.dispose() after session.fireAllRules() for the StatefulSession. If I
don't call session.dispose(), does that mean that the session will still be
garbage collected?

Also, Reading the documentation, I was not exactly clear for the difference
between Stateful and Stateless sessions. Can you explain when
StatefulSession and when StatelessSession can be used?

Thanks.
-- 
View this message in context: http://www.nabble.com/Drools-4-Stateful-Session-dispose-tf4437732.html#a12661260
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list