no one hwo think to me !!!
You have org.jbpm.process.core.Process that implements org.drools.definition.process.Process
Then you have:
- org.jbpm.process.core.impl.ProcessImpl implements org.drools.definition.process.Process
- org.jbpm.workflow.core.impl.WorkflowProcessImpl extends org.jbpm.process.core.impl.ProcessImpl
- org.jbpm.ruleflow.core.RuleFlowProcess extends org.jbpm.workflow.core.impl.WorkflowProcessImpl
getId() is implemented in org.jbpm.process.core.impl.ProcessImpl, but is just a simple getter. What are you exactly looking for?
Thanks, but why in the documentation here http://docs.jboss.org/jbpm/v5.2/javadocs/ we can't find the classes you give me :
why in the documentation there is just interfaces not classes ??
i want to integrate a workflow in webapp that's why i search to understand the JBPM API ... in your opinion what's classes or interface needed to manage a process from a simple servlet ?
thanks a lot
jBPM5 and Drools share the same API. This is why the javadoc only shows org.drools.xxx packages. If you are going to be a user of those APIs, then the classes shown in the javadoc should be enough.
If you want to go deeper, then I would suggest you to download the source code of jbpm and create the specific javadocs.
The main classes you need to understand if you want to interact with your processes are:
I would suggst you to read jBPMs documentation (the user manual) first in order to understand how can you compile, start and interact with your processes.
Thank a looooot, but JBPM5 and Drools is the same thing isn't that ? both of those APIs are teh same !? what's the difference between them ?
can you tel me please where exactly find "source code of jbpm" ?
i have red the documentation but it's not very enough, the tutorials is good tool to undertand, but unfortunatly there are no simple ones, step by step ones in internet.
As I mentioned before, Drools and jBPM5 share the same API, but they are not the same.
Drools is a rule engine (and more) and jBPM5 is a process engine. The use of the same API is because jBPM5 was a module of Drools in the past (drools-flow). So, for example:
- ksession.insert(), ksession.update(), ksession.fireAllRules() belong to Drools
- ksession.startProcess(), ksession.getWorkItemManager(), ksession.signalProcess() belong to jBPM5
The thing is that, because these 2 projects are tighly coupled (and that is an advantage of jBPM5) a call to insert(), update() or fireAllRules() can affect the state of the process engine as well.
The source code of jbpm can be found here: https://github.com/droolsjbpm/jbpm
Some simple examples (even if they are not step-by-step examples) can be found here: https://github.com/esteban-aliverti/JBPM-Samples
OK, I see, Drool is the general project and JBPM5 is like a specific case for workflow processes, thanks a lot an other time for explainations, good night
Just to be cleare here, drools-flow used to be a specific module of Drools. After jBPM5 and Drools were separated, they are 2 different products (even if they share the same code base) with different release cycles.
Thanks a lot