cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent - How does the deployment work in production?

kethur
Champ in-the-making
Champ in-the-making
Hi team,

I want to deploy my bar file (with xml and class files in it).  But when I change the java class names in it and want to deploy the same bar file, what happens to the old bpmn xml files which are using a different old class names?

How should i manage the production workflows those keep changing?  How to manage the relavent classes of bpmn?  Could you please suggest me some practices?

Thanks,
Raj
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

It's a best practice to work with interface classes that won't change. So it's a good practice to keep these interfaces really generic.
When you for example use the Spring bean injection and pass along the DelegateExecution to the bean your quite safe.

Of course there's always the possibility that you need to support old processes with old classes and new processes with new classes.
In that case you should change the classes so you have a separate set of classes for the new process.
There's also the possibility to use for example something like JBoss modules which offer more classloading capabilities.
Camunda provides integration with Activiti for this.

Best regards,