Hello,
Using Maven and Spring seems to be a easy way to go to integrate JBPM 5 with an existing application - http://docs.jboss.org/jbpm/v5.3/userguide/ch.integration.html#d0e7631
This workes for me pretty well in a way I use eclipse tooling to design proecsses, have a offline way to import this into my application, and then have Spring services wrapping these jbpm processes as public interfaces to start/stop the processes from external triggers.
Next challenge is how to monitor these processes. I think there acn be 2 ways to go about -
a. Use persistence for your processes using your own application schema and then write custom Spring services along with a custom UI that uses the persistent jbpm tables to display whats going on. This can be a harder way to go about and not too sure avbout its long term feasibility.
b. Embed jbpm console artifacts (guvor/etc) within my application and some how point the jbpm console ibraries to my application schema and thats it. This should be the way ahead. If this is possible, which I think it should, would request some one to point me to related documentation on this.
Thans,
Jatin