0 Replies Latest reply on Mar 6, 2008 7:30 AM by Taj

    jBPM + EJB - transaction management?

    Taj Newbie

      Hello,

      I have some old code that uses EJB for transactions and some quite heavy stateful session beans that are needed in some use cases in my project.

      I was trying to bring in jBPM into the workflow, I was wondering whether, the action handlers that I write, can invoke Stateful / stateless session beans if needed. There are some stateful beans that do lot of movement of files and manage cleanup / commit if the transaction is a failure / success respectively. I dont want to spend a lot of time refactoring the existing code.

      Does it make sense, or I am violating some rule here.

      Some enlightenment would be great.

      Regards,
      Taj