Workshop

Building a JBoss BPM Travel Agency

This workshop will teach you how to build a business process for a company that wants to automate its travel agency booking process. This project you will build entirely from the ground up, installing JBoss BPM Suite, building rules, processes, tasks, data model and forms. The results will be your very own JBoss BPM Travel Agency.
Prerequisites: Java 1.7 or 1.8, Maven 3.2, JBoss BPM Suite 6.1 installer, JBoss EAP 6.4 installer

Lab 01 - Install JBoss BPM Suite

Lab Goal

To install and login to JBoss BPM Suite product

Install JBoss BPM Suite

  • Download and unzip.
  • Add product installers, see installs/README for details
    • $ cp jboss-bpmsuite-6.1.0.GA-installer.jar brms-install-demo/installs/
    • $ cp jboss-eap-6.4.0-installer.jar brms-install-demo/installs/
  • run init.sh or init.bat
    • $ ./init.sh
  • follow instructions to start server
    • $ ./target/jboss-eap-6.4/bin/standalone.sh

JBoss BPM Suite Standalone Configuration

  • Some properties set to lock location git repository
  • Found in standalone.xml
    • $ cat bpms-install-demo/support/standalone.xml
    • <property name="org.uberfire.nio.git.dir" value="${jboss.home.dir}/bin"/>
  • Means all projects stored in .niogit/* can be found here:
    • bpms-install-demo/target/jboss-eap-6.4/bin/.niogit/

JBoss BPM Suite User Configuration

  • User configuration was automated
  • Support directory contains user configuration files
    • $ cat support/application-roles.properties
  • Installed into:
    • target/jboss-eap-6.4/standalone/configuration/

JBoss BPM Suite Users

  • There are 5 user roles:
    • admin - full access to product
    • developer - full access, except Administration
    • analyst - developer access, except assets & deployments
    • user - only manage processes, tasks, view reports
    • manager - most restrictive, only view reports

JBoss BPM Suite Users

  • This user has all roles in project needed:
    • erics - bpmsuite1!

Login to JBoss BPM Suite

Eric D. Schabell
JBoss Technology Evangelist
@ericschabell
http://schabell.org

JBoss BPM Suite Workshop

Lab 02 - Create a new project