3 Replies Latest reply on Apr 15, 2014 1:14 PM by Maciej Swiderski

    Get RuntimeManager of the jBPM console application from another application

    Dragos Sinca Newbie

      I'm using the jBPM6 web console deployed on JBoss (or Tomcat) to create and deploy processes.

      My own REST web service will be deployed on the same JBoss/Tomcat server.


      Can I somehow make use in my REST web service of the existing RuntimeManager (or RuntimeEnvironment) in jBPM console?

      Didn't worked with EJB injection before, but all beans seem to have application scope, so they won't be injected in my web service.


      Is this even possible, or do I need to try another way - like constructing a new RuntimeEnvironment the same way the jBPM console does at startup?


      Dragos Sinca