Hello everybody,

Before anything else, I'm aware that there were some messages on the list about T5 / Spring Webflow integration, and that it seems that it will be the preferred flow engine integration.

Nonetheless, I would like to know if anybody has looked or is interested in PVM integration with Tapestry 5 for webflow management ?

PVM ([1] Process Virtual Machin, http://jbpm.org/pvm ) is an "abstract" workflows processor that build and run workflows in an workflow-languge agnostic way (it can understand XPDvL / jPDL / BPEL, but it is also used for Seam pageflow). We will have to use PVM for the business worflow of our application, and we would prefer to not add another dependency.

So, when I read the PVM's documentation ([2] available in svn : http://anonsvn.jboss.org/repos/jbpm/tempranillo/pvm/trunk/ ), I saw some big similarities between PVM's and Tapestry's concepts. For example, it's quite obvious that web pages would match to PVM node, in PVM "signal" allow to pass from node to node and they could match Tapestry's events, page activation context may be used as PVM context, one can use PVM without any xml config, etc. Moreover, PVM is quite "low level" (integration would be not to intrusive) : in PVM a workflow is defined as like this :

8<-------------
ProcessDefinition processDefinition = ProcessFactory.build()
   .node("accept loan request").initial().behaviour(new WaitState())
     .transition().to("loan evaluation")
   .node("loan evaluation").behaviour(new WaitState())
     .transition("approve").to("wire the money")
     .transition("reject").to("end")
   .node("wire the money").behaviour(new Display("automatic payment"))
     .transition().to("end")
   .node("end").behaviour(new WaitState())
.done();
8<-------------
Then, an execution of the process is launched, and external signal (with context) may be pass to advance in the workflow.


So, if anybody has some insight of what Tapestry 5 / PVM - jBPM integration may look like, or if someone has already done it (who knows :), I would be glad to know it.


[1] Process Virtual Machin, http://jbpm.org/pvm
[2] Anonymous svn of PVM, http://anonsvn.jboss.org/repos/jbpm/tempranillo/pvm/trunk/

Other resource :
The blog of PVM lead developper Tom Baeyens : http://processdevelopments.blogspot.com/

--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org FederID - http://www.federid.org/
Open Source identities management and federation


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to