I create my BPMN-diagramms in the Camunda Modeler and add my own code with JavaDelegate classes to the service Tasks. To execute my processes, I create a war-package in Eclipse that contains the .bpmn-files as well as the Java-files. After that, I place the war-file inside the webapps-folder of my Tomcat, so that the processes and code get deployed there.
My questions are:
If I want to make a change in one of my .bpmn-files, is it better to just the deploy the process with the Deploy Current Diagram-option in the Camunda Modeler or is it better to build a new war-package again and redeploy it on the server?
What happens if i redeploy a new war-file (with changed .bpmn- and Java-files) to the server, how does this affect the currently running instances? Do they still use the old Java-code and only the newly started instances are executed with the updated changes?
Thanks in advance.