Create Process Engine in OSGi container

Hello,

I am trying out Camunda in OSGi environment. Can someone share with me what the best practise to create process engine? Currently I define process engine as embedded in Java application (either via META-INF/processes.xml or blueprint), but we might deploy multiple Java application in server. Is there any way that I can externalize this process engine creation during startup time?

Thanks

As you stated you would like to deploy multiple java applications, i would recommend to use Spring Boot and plugin Camunda process engine inside the spring boot application. When you have the jar file, you can register it in OSGI container.

@cpbpm, can you please elaborate more? If I understand correctly, we need to convert spring boot as an OSGi bundle, right?

Thanks