You should know jbpm is a kind of embed workflow enginer ,it packages the logics of workflow and process,it can't know your application's logics.You said you saw Java code inside your process definitiion everywhere.Yes,it's.But it must be.Because workflow can only invoke external application's code,it is based on the conception of action in jbpm,so it's oriented developer ,not business analyst. all of what business analyst can see is the visual workflow diagram.How to collect their work?Event,you can incorperate them through it.
answer of Question One is following:
in this case,UI of your application may change some logics according to your changed processdefinition.
answer of Question Two is following:
You can do it.
answer of Question three is following:
please see Java EE Application Server Facilities in userguide doc.
You can take adventages from jbpm-console to monitor some information about your processInstance.
A process workflow does not necessarily need access to your Java classes, such as domain classes or service classes. As the workflow proceeds however, it does need to interact with your code in order to be useful. If you are deploying workflow processes to a VM external to your application runtime, jBPM will need a way to communicate with your code.
Since you suggested a web application, the easiest way would be to make web service calls from your workflow to your application.
Hi, thank you very much for your answer ligang1111 and oravecz, let me see if i understand well, i most take adventage from BPM in two diferents ways:
1: BPM inside of my project like a closed silo, in this case the interacions the processes need to do the job came from my java clases (domain clases for example)
2: BPM to coordinate, orchestrate or whatever several applicationes for one process or several processes, in this case there is not direct interaction with java clases like domain classes but all the interaction with the diferents applicationes involved is through web services. And this process most defined inside a new kind of project (a process project) not inside one of the applications involved.
Are these 2 points correct?
Can you suggest me some tutorial that explain in detail a case of bpm relating several applications? (using jbpm of course)
Thank you very much,
2: not specifically web services, but services in a more generic way.
Tutorial? If you search a little, or even look (wel currently, 17 oct 18:33 CET) at the last post on this first page, you'll see: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=144094
oh... and you can do this if you do 1, not only with 2. jBPM is sooooo flexible