Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Presentation

View file
nameSO workflow application deployment.pptx
height400

PoC code

View file
namecamunda_poc.zip
height250

Running PoC

Install Tomcat with pre-packaged Camunda engine

Follow installation instructions from here: https://docs.camunda.org/manual/7.5/installation/full/tomcat/pre-packaged/

...

PoC was tested on https://camunda.org/release/camunda-bpm/tomcat/7.11/camunda-bpm-tomcat-7.11.0.tar.gz

Build PoC code

Maven is needed to build it.

Unzip the PoC package attached above and run mvn clean install from camunda_poc directory.

Run PoC

Copy PoC shared lib to Tomcat lib directory: copy camunda_poc/common_code/target/camunda-poc-common-code-1.0-SNAPSHOT.jar to Tomcat lib directory (server/apache-tomcat-9.0.19/lib). (warning) You need to restart Tomcat after this.

...

Code Block
>>>>>>>>>> App1LocalDelegateBean invoked
>>>>>>>>>> App1LocalDelegateBean invoked
>>>>>>>>>> App1LocalComponentBean.beanMethod() invoked
>>>>>>>>>> COMMON Delegate Bean invoked
>>>>>>>>>> COMMON Delegate Bean invoked
>>>>>>>>>> COMMON SpringBean.beanMethod() invoked
>>>>>>>>>> App1AnotherDelegateBean invoked
>>>>>>>>>> App2LocalDelegateBean invoked
>>>>>>>>>> App2LocalDelegateBean invoked
>>>>>>>>>> App2LocalComponentBean.beanMethod() invoked
>>>>>>>>>> COMMON Delegate Bean invoked
>>>>>>>>>> COMMON Delegate Bean invoked
>>>>>>>>>> COMMON SpringBean.beanMethod() invoked
>>>>>>>>>> App2LocalGroovyClass.someMethod() invoked
>>>>>>>>>> CommonGroovyClass.someMethod() invoked

Important configuration files

Files crucial for making this PoC work.

processes.xml

This is a Camunda-specific file.

...

This tells Camunda engine that this is process application. Camunda will scan these kind of applications and will load all BPMNs found.

applicationContext.xml

This is Spring-specific file.

...

This file tells Spring to load all required by Camunda beans. It also bootstraps Camunda process application and tells Spring to scan the application for other Spring beans.

web.xml

This is Java EE-specific file (required by Java web applications)

...