final RuntimeContainerDelegateImpl containerDelegate = getContainerDelegate();
containerDelegate.getServiceContainer().createDeploymentOperation("deploying camunda BPM platform")
.addStep(new EjbJarParsePlatformXmlStep())
.addStep(new StartJcaExecutorServiceStep(executorServiceBean))
.addStep(new StartJobExecutorStep())
.addStep(new PlatformXmlStartProcessEnginesStep())
.execute();
processEngineService = containerDelegate.getProcessEngineService();
processApplicationService = containerDelegate.getProcessApplicationService();