I am a new bee with Camunda and hope you can give me some advise on how to integrate Camunda into my application.
I have an Angular UI which communicates with the spring-boot application using REST. Now I want to integrate Camunda BPMN for the processes. I can think of two possible approaches:
- Angular calls the Camunda REST-API to start i.e. a Service Task in Camunda, which calls a Java Delegate of my Spring-Boot Application.
- Angular calls the Spring-Boot REST-API, which has Camunda embedded by their JAVA-API to call A Service Task.
Are these or one of them a best practise approach or is there an even better way of integration Camunda?
I read the most related questions, but none seems to really answer my question.
Thanks for your help