[jboss-user] [jBPM] - Getting the Process Engine in jbpm5.1

Sinha Bahu do-not-reply at jboss.com
Sat Feb 25 12:29:06 EST 2012

Sinha Bahu [https://community.jboss.org/people/sinhabahu] created the discussion

"Getting the Process Engine in jbpm5.1"

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

I am new to jbpm (so this question might not make sense).

With jbpm4.4, I have a line of code in a Servlet that gets an instance of the ProcessEngine, which I use to interact with the ProcessEngine (for example, start new process instance). This Servlet is deployed in the same jboss instance where jbpm 4.4 is deployed. This is the code in have in the Servlet that works with jbpm4.4

processEngine = (ProcessEngine)ctx.lookup("java:/ProcessEngine");

I did not find a way to do the same in jBPM5.1. Is it possible? Or, is there another way to get an instance of the process engine from another Servlet or ejb running in the same jboss? Some sample code will be very helpful.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list