Rest api without application server

Hi,

I am new to camunda and hence seeking your guideline on this topic.

We have a standalone java process( no application server, no tomcat) where camunda engine is integrated as a runtime library.
Our application controls lifecycle of the engine. The application supplies .bpmn file to the engine for execution.

With this in place, we would like to know if we allow human task on the workflow, how can this task be claimed and submitted by the admin.

As far as I understand, this would need rest support + http server support to listen to requests which is possible when application is deployed on an application server.

Adding an http server with rest support to the application is heavy for our case.

In out case, there is no application server involved. So, I am just wondering if there are ways to achieve this.

Thanks
Anup

Hi @anupshandilya,

there is a Java-API for task handling: https://docs.camunda.org/javadoc/camunda-bpm-platform/7.10/index.html?org/camunda/bpm/engine/TaskService.html

Maybe you find some other ways to let the admin invoke the Java methods via some API. (JavaFX?)

Hope this helps, Ingo

Thank you Ingo.

In our case, the standalone java process inside which engine runs is remote.
I am thinking about our options to talk to it and achieve human task execution.

Is it possible to integrate cockpit with remote standalone java process …may be an extension using rmi ?
Or
should we have our own GUI that talks to java process via rmi ?

Hi @anupshandilya,

you can deploy the camunda-standalone-webapp.war (https://docs.camunda.org/manual/7.10/installation/standalone-webapplication/) on any application and connect it to the same database as your application.

Hope this helps, Ingo