JBoss.orgCommunity Documentation

Chapter 2. Installer

2.1. Prerequisites
2.2. Download the installer
2.3. Download the installer
2.4. Using Eclipse Tooling
2.5. Using Guvnor repository
2.6. Using web management consoles

Drools now comes with an installer.

This script assumes you have Java JDK 1.5+ (set as JAVA_HOME), and Ant 1.7+ installed. If you don't, use the following links to download and install them:

Java: http://java.sun.com/javase/downloads/index.jsp

Ant: http://ant.apache.org/bindownload.cgi

First of all, you need to download the installer: drools-{version}-install.zip

You can for example find the latest snapshot release here.

http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/

The easiest way to get started is to simply run the installation script to install the demo setup. Simply go into the install folder and run:

ant install.demo

This will:

Once the demo setup has finished (this could take a while as it might have to download the various components), you can start playing with the various components by starting the demo setup:

ant start.demo

This will:

Once everything is started, you can start playing with the Eclipse tooling, Guvnor and gwt-console, as explained in the next three sections.

The following screencast gives an overview of how to run a simple demo process in Eclipse. It shows you:

  • How to import an existing example project into your workspace, containing
    • a sample BPMN2 process for requesting a performance evaluation
    • a sample Java class to start the process
  • How to start the process
  • How to complete human tasks using the test human task client in Eclipse

If you want to know more, we recommend you take a look at the rest of the Drools documentation.

Open up Drools Guvnor:

http://localhost:8080/drools-guvnor

Log in, using any non-empty username / password (we disabled authentication for demo purposes). The following screencast gives an overview of how to manage your repository. It shows you:

  • How to import an existing sample repository, containing the performance evaluation process as shown in the previous section
  • How to look up the processes that are part of a package
  • How to build a package so it can be used for creating a session (like for example in the gwt-console as shown in the next section)

If you want to know more, we recommend you take a look at the rest of the Drools documentation.

First make sure you have imported the sample repository and built the defaultPackage in Guvnor first (see previous section). Open up the process management console:

http://localhost:8080/gwt-console

Log in, using krisv / krisv as username / password. The following screencast gives an overview of how to manage your process instances. It shows you:

  • How to start a new process
  • How to look up the current status of a running process instance
  • How to look up your tasks
  • How to complete a task
  • How to generate reports to monitor your process execution

If you want to know more, we recommend you take a look at the rest of the Drools documentation.

Once you're done playing:

ant stop.demo

and simply close all the rest.