Hide Forgot
Affects: Documentation (Ref Guide, User Guide, etc.) Complexity: High Date of First Response: 2010-01-30 00:42:15 project_key: SOA create a document on how to use jbpm-jpdl and jbpm.esb for jBPM Standalone users.
Link: Added: This issue is related to JBPM-2652
This is an example of a very simple WAR for standalone jBPM. It has a single JSP, and XML file for a default process definition, and a web.xml. Drop it in the SOA-P deploy directory (tested on SOA-P 5.0 ER7) and access this URL: http://localhost:8080/jBPMProject If you already have processes deployed, you will see them. If not, use the gui to deploy a default process definition, signal the process through various steps of the process, watch as tasks get assigned to users Aaron and Bob, submit tasks (including adding variables). The "move" button is there in case you're working with a "real" process that you don't want to actually signal since it's expecting certain data to have been set that was not set. In this case, it will just move the process to the next node.
Attachment: Added: jBPMProject.war
Comment above is referring to the attached jBPMProject.war file.
Thanks, Aaron!
added jbpm3.docs.updates.odt that contain a first iteration of how the docs should be updated.
Attachment: Added: jbpm3.docs.updates.odt
one thing still needs to be investigated: whether users should call the jbpmContext.setRollbaclOnly or not. I believe that if TX are managed by ejb or something else, then it is sufficient to just throw a runtime exception into the managed environment. If they are using the jbpm operation from e.g. a webapp outside a JTA transaction scope, then I think it could be possible that users have to call the jbpmContext.setRollbackOnly themselves. that needs to be investigated and cleared out in the docs.
The documentation update are spun off into following separate issues: SOA-1907, SOA-1908 and SOA-1910
Attachment: Removed: jbpm3.docs.updates.odt
as for this issue: it should be documented that plain web app deployments don't have to do anything. they don't have to include libraries, nor jbpm configuration files. they just can use the jBPM straight into a standalone web app that is deployed on the soa-platform. As demonstrated by Aaron's attached war file.
For SOA 5.0 Platform documentation should the process deployment be separated from the WAR and be dealt with in two steps; 1 - build and deploy the process using JBDS, and build and deploy the WAR using JBDS ?
I need some idea of what is happening with this JIRA so I can schedule docs work for 5.0.1 What volume of material? e.g. how many pages, diagrams, etc When will draft material be ready ?
Candidate for SOA 5.1.0 Alejandro, please provide input for docs. Kevin is willing to help if needed. Turn over to Darrin Mison, when you have the information.
I'll work on this in the next few days.
Here is the first draft of the document. Darrin, would you please take a look at it? http://community.jboss.org/wiki/jBPM3WebApponSOA-P In addition to the document, it would be great to have a unit-testable sample application that illustrated the concepts. What do you think?
This is a nice to have for SOA 5.1.0. Not a blocker.
Labels: Added: Getting_Started_Guide Complexity: Added: High Affects: Added: [Documentation (Ref Guide, User Guide, etc.)]
wikipage has been moved by the looks of it http://community.jboss.org/wiki/jBPM3DeployWebApptoSOA-P
I'm going to move this one back a release (5.2 perhaps) since much of the remaining time will be taken up with EDS
Release Notes Docs Status: Added: Not Required Writer: Added: dlesage
Labels: Removed: Getting_Started_Guide
Thanks for drafting the content, Alejandro. I have added this to the Services Guide for 5.2.