9.3. Exploring a JBoss BRMS Application

Before exploring how to create BRMS projects using JBoss Developer Studio, let us first understand the structure of BRMS projects.
A BRMS project typically comprises the following:
  • Facts that are a set of java classes files (POJOs)
  • Rules that operate on the facts
  • Drools library (jar files) for executing the rules
JBoss Developer Studio helps you generate getter and setter methods for attributes automatically. When you create a BRMS or a BPM Suite project, the following directories are generated:
  • src/main/java that stores the class files (facts).
  • src/main/resources/rules that stores the .drl files (rules).
  • src/main/resources/process that stores the .bpmn files (processes).
  • src/main/resources/Drools Library that holds the generated .jar files required for rule execution.