Deploying Camunda REST service and Engine in external webapp

Okay, I have achieved my goal by adding Camunda Engine and REST service to another, external project.
Mainly it required adding the Camunda Engine and REST service with related classed to the external project’s web.xml and applicationContext.xml files.