Using Camunda workflow engine into an existing J2EE application

We have a huge J2EE application using JSP pages and JBPM for the document review workflow.

I am evaluating Camunda workflow engine to replace existing JBPM workflow. The workflow is to review the document which can be run in sequence or parallel among 1 or more users. The workflow has different stages and JSP pages are used for this. Please may I know if the following is possible:

  • Keep the same look and feel of the application (JSP Pages) and replace workflow with Camunda engine? I guess we must embed Camunda into our application and use Camunda Java API rather than using Camunda as standalone (or Spring Boot) application.

Hi @haraul,

the external user task form was invented for this use case. Have a look at the details: User Task Forms | docs.camunda.org

and give it a try.

Hope this helps, Ingo

Thanks a lot, I am trying this solution and would let you know how it goes!

@Ingo_Richtsmeier All the examples I can see for the external forms are related to JSF or HTML forms, do we have any reference for JSP pages as well. As mentioned earlier, we have existing workflow as JSP pages. Can we refer JSP page as the form key (similar to JSF and HTML forms)? Or do we have to change our JSP pages to HTML?

Hi @haraul,

I could not remember the difference between JSF and JSP as I had only very few touchpoints with both technologies in the past.

But I assume, that you can use JSP as well. Here is a section with more detailed explanation of the form integration: JSF Task Forms | docs.camunda.org. And here you can find a complete example with JSF: https://github.com/camunda/camunda-bpm-examples/tree/master/usertask/task-form-external-jsf.

Maybe you can adopt it to JSP.

Hope this helps, Ingo