[jboss-user] [jBPM] - jBPM3 Deploy Web App to SOA-P
Administrator Administrator
do-not-reply at jboss.com
Thu Jan 20 11:05:56 EST 2011
Administrator Administrator [http://community.jboss.org/people/admin] modified the document:
"jBPM3 Deploy Web App to SOA-P"
To view the document, visit: http://community.jboss.org/docs/DOC-16025
--------------------------------------------------------------
Until now, how to package a jBPM web application for deployment into SOA-P has been a source of confusion. In particular, it has never been clear whether the WAR should include the process definition or any jBPM libraries or configuration files. The objective of the present article is to clarify and establish a best practice.
h3. Deploy the process definition(s) separately
Process definitions, being longevous artifacts, saved in an external database and unattached to the lifecycle of the web application or the application server itself, should be deployed separately from the web application. It is advisable to deploy the process before the web app so that the application can comfortably operate under the assumption the process is available at all times.
Options for process deployment include the GPD deployment tab, the JSF console upload form and the Ant DeployProcessTask.
h3. Do not include jBPM libraries
In SOA-P, the jbpm.esb module already provides the libraries and configuration files required to run jBPM applications. Sticking with the provided versions and settings comes with the benefit of the extensive Quality Engineering effort spent by Red Hat, and prevents issues such as class loading conflicts or configuration mismatches.
h3. Give alternate configuration files a unique name
In multitenancy use cases, a single application server installation hosts separate applications which require different configurations. The suggestion here is to give each configuration file a unique name other than jbpm.cfg.xml, to avoid overriding the default configuration file provided with the platform.
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-16025]
Create a new document in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110120/745785b6/attachment.html
More information about the jboss-user
mailing list