Can i run BPMN engine without any container like tomcat?

I am new to Camunda and this might be a foolish question. I have created a demo program using spring + embedded tomcat + camunda . Placed a bpmn file in resources/bpmn and on starting the application i executed that process definition using REST calls.

Suppose i could use java APIs to execute the process definition and skip the REST apis altogether than can i configure and run the engine in a normal java application, without using a container like tomcat (embedded or standalone) ? something like

Class Driver {
public static void main (String[] args) {

//Code to start camunda BPMN engine

}
}

Thanks in advance.

This should help you further: https://docs.camunda.org/manual/7.10/user-guide/process-engine/process-engine-bootstrapping/#bootstrap-a-process-engine-using-the-java-api

1 Like