9.3. Deploying a Process Definition

Once a processdefinition.xml file has been created, you can deploy it to the JBoss Business Process Manager using any of the following:
  • the integrated development environment
  • ant
  • the jBPM Console
The following files will be deployed:
  1. Review_Order.xhtml
  2. forms.xml
  3. gpd.xml
  4. processdefinition.xml
  5. processimage.jpg
The integrated development environment creates a . PAR archive and deploys it to the jBPM 's database.

Warning

Red Hat advises you not to deploy Java code in .PAR archives as it may cause class-loading issues. Instead, use either .JAR or .ESB archives to deploy your classes.