[jboss-user] [jBPM] - JEE + jBPM + threads

Sergey Sazonov do-not-reply at jboss.com
Tue May 7 05:32:54 EDT 2013


Sergey Sazonov [https://community.jboss.org/people/sergey.sazonov] created the discussion

"JEE + jBPM + threads"

To view the discussion, visit: https://community.jboss.org/message/816451#816451

--------------------------------------------------------------
Hi, I am new to jBPM and trying to integrate it with my JEE application. Basically I have a servlet handling all incoming requests and proxying them to an EJB stateless bean that contains all jBPM stuff. So if I call ksession.startProcess and my process has timer nodes then control returns immediately from this method and a new thread is created. This thread waits for delay specified for my timer node and then shuts down.
1. Could you please help me and explain how I can avoid additional thread creation.
2. And maybe you can give me any advices for best practice in integration JBPM5 and JEE for long running processes with global and timer events.

Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/816451#816451]

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/20130507/468f0e20/attachment.html 


More information about the jboss-user mailing list