Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Pattern of using StatefulKnowledgeSession in web application"
To view the discussion, visit:
https://community.jboss.org/message/761880#761880
--------------------------------------------------------------
there is no difference if you do not keep any state in your session like facts (for rules
evaluation) or timers.
As far as I know StatefulKnowledgeSession is thread safe. For instance jbpm console uses
application (single session) scoped session, so I would say it is fine but of course it
depends on your requirements.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/761880#761880]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]