camunda.cfg.xml vs. applicationContext.xml

243 views
Skip to first unread message

roleba...@gmail.com

unread,
Jan 17, 2016, 4:59:02 AM1/17/16
to camunda BPM users
What is the difference between camunda.cfg.xml and applicationContext.xml and why is only the file camunda.cfg.xml mentioned in the docs https://docs.camunda.org/manual/7.4/user-guide/process-engine/process-engine-bootstrapping/#configure-process-engine-using-spring-xml?

Christian Lipphardt

unread,
Jan 17, 2016, 5:23:06 AM1/17/16
to camunda-...@googlegroups.com
Hi,

The difference between 'camunda.cfg.xml' and 'applicationContext.xml' is that 'camunda.cfg.xml' is proprietary to Camunda and is only using beans/xml part of spring for configuring the process engine, while 'applicationContext.xml' is normally the file used to bootstrap a whole spring application.
But you are right, you can do the same stuff with the 'applicationContext.xml' but not the other way around.
When you have a look at the docs[1], there is also a link how the integration of the spring framework is configured [2].
There are also some ongoing discussions to remove the support for the 'camunda.cfg.xml' and use the 'bpm-platform.xml' or 'processes.xml' for configuration, see 

Cheers,
Christian

Reply all
Reply to author
Forward
0 new messages