I am currently trying to incorporate an open-source business-process-engine (Activiti) into another application from my company but I am uncertain how to do this in a distributed manner. The application shall use certain function of Activiti that can not be provided by itself.
In a previous step I got this running locally by just importing the required jars of Activiti into the application project in Eclipse and making my function calls in the project after importing the right packages.
The next level now aims at running the application independently in its own Tomcat server and own database and to call certain functions from Activiti which is startet in its own JVM as well via network. Up to now I found RMI to be (probably) the right tool for this kind of distributed computing but I am uncertain on where to run Activiti. Another Tomcat server? Even though Activiti is not intended to have any frontend but merely to provide the necessary classes and methods to perform some actions that are by intention not provided by our application? How is the setup practically?
Honestly, I have not fully dug through the documentation of Tomcat yet, but I would appreciate even a short answer whether or not I am on the right track.
EDIT: To put it into a single question: On which platform can I run Activiti in my case?
Best,
Steffen