Deploy to standalone camunda - sample?

Hi,

Is there a sample to build a project on spring boot starter camunda, which can be deployed on a standalone instance
(as a war deployment file I guess) ?
All samples seem to use embedded engine.

I understand that config should contain this :

@Bean
public ProcessEngineService getProcessEngineService() {
return BpmPlatform.getProcessEngineService();
}
@Bean
public ProcessEngine getProcessEngine() {
return this.getProcessEngineService().getDefaultProcessEngine();
}

thanks for your help

we are doing this in the war-example: https://github.com/camunda/camunda-bpm-spring-boot-starter/tree/master/examples/example-war

Thanks, I saw this sample
May be i go wrong but you mentionned there that it is still using an embedded engine.
I want to use an already installed shared engine. and deploy all my war and processes in it.

yes, you are right. the extension only supports embedded engine (since being deployed as a war file is a rare scenario imho). There are currently no plans to change this, and I wouldn’t know why … you can just use the classic engine-spring in your war when working with a shared engine.

I thought that usage of spring-boot could simplify my build/upgrade process.
but you are right, we can use Spring in a classic way.

thanks for explanations !

1 Like