[jboss-user] [jBPM] - Re: Pattern of using StatefulKnowledgeSession in web application

Maciej Swiderski do-not-reply at jboss.com
Thu Sep 27 06:58:52 EDT 2012


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120927/4616063b/attachment.html 


More information about the jboss-user mailing list