5.3. Creating a jBPM Project

Procedure 5.2. Creating a New JBDS Project

  1. From the main menu select FileNewProject.
    Select jBPMjBPM project.
  2. Enter a name for the project into the Project name: text box and click Next.

    Note

    JBDS provides the option to add a sample HelloWorld Process to the project. Accept this default to test the sample project in the next step.
  3. To test the project, right click the Java file that contains the main method and select Runrun asJava Application.
    The output will be displayed in the console tab.

Procedure 5.3. Add the jBPM Project to JBoss BRMS

  1. From the navigation panel, locate the sample.bpmn file.
    The sample.bpmn file is located by opening the test jBPM projectv and navigating to src/main/resources/.
  2. Right click the file and select GuvnorAdd and click Next; expand the repository displayed to locate the package the file should be added to and click Finish.
  3. View the process or rule in BRMS by logging onto the BRMS user interface.
    From the navigation panel, select Knowledge Bases and expand the package explorer to locate the package.
    Select Processes and click Open from the list of processes.