Camunda Deployment Best Practices

332 views
Skip to first unread message

Jonathan Camenzuli

unread,
Nov 7, 2013, 8:37:35 PM11/7/13
to camunda...@googlegroups.com
Hi,

I have some uncertainty regarding best practices when deploying models and forms. My understanding is that a task maps 1:1 to a form file served in a file-directory structure and are not stored in a deployment in the database. I understand that in order to make a deployment I first prepare all the models and forms and then do a Maven install to create a WAR file, then place this file into tomcat's webapps directory. This is according to: http://www.camunda.org/get-started/developing-process-applications.html

Should each WAR file have a different name (versioned name)?
Since form files (HTML files) are not deployed into the database along with the models how does a task map to the correct form version?

If you could please provide me with some clarity and generally accepted best practices on deploying models and forms I would greatly appreciate it.

Regards,
Johnny

Bernd Rücker (camunda)

unread,
Nov 8, 2013, 1:42:08 AM11/8/13
to camunda...@googlegroups.com

Hi Jonny.

 

We had a presentation about versioning at the community day in prague (http://blog.camunda.org/2013/10/what-wonderful-community-day-in-prague.html), see http://de.slideshare.net/camunda/community-day-2013-consulting-talks-about-camunda-bpm-best-practices (slide 15ff). There you find the basic answer – but maybe hard to see without the slides.

 

Quick recap:

 

1.)    Easiest: Don’t change the forms or keep forms backwards compatible if you change them.

2.)    If (and only IF) you change forms in a not backwards compatible way you can apply a simple naming convention / folder structure to avoid deploying multiple war’s

3.)    You can deploy versioned WAR files – technically that works perfectly on our platform – but you have to make sure to do some stuff around “registering Process Applications at the shared engine” right. But overall this solution adds quite some complexity – so I recommend to avoid it until you have really good reasons to do so.

 

Cheers

Bernd

Consultant & Evangelist

www.camunda.org/community/team.html

--
You received this message because you are subscribed to the Google Groups "camunda BPM platform contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-dev/045e79c1-75ab-4bb1-862d-e550acd1b7ce%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Bernd Rücker (camunda)

unread,
Nov 8, 2013, 1:43:54 AM11/8/13
to camunda...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages