JBoss Community

storing jbpm StatefulKnowledgeSession in HttpSession

created by pan.staszek in jBPM - View the full discussion

I need to execute a couple of redirects in Servlet and then more complicated workflow (async calling of web service, store entity in db) so I thought about using jBPM, first i can store KnowledgeSession in HttpSession (only from one point is important to more that i can store it in DB). After redirections will be finished i can store my KnowledgeSession in DB and continue processing in another Thread or even system. Is my approach not too complicated?

Thanks for opinions

Reply to this message by going to Community

Start a new discussion in jBPM at Community