First, download
from http://sourceforge.net/projects/jbpm/files/jBPM%206/jbpm-6.1.0.Final/ Select Download Jbpm-6.1.0.final-installer-full.zip, unzip, unzip the completed org.drools.updatesite-6.1.0.final.zip located in the Jbpm-installer/lib directory.
Unzip the Jbpm-installer/lib directory under Jbpm-6.1.0.final-bin.zip to D:\jbpm directory, standby.
Second, Eclipse plug-in installation
Open Eclipse,help, Install New software, ADD, Archive, select Org.drools.updatesite-6.1.0.final.zip, such as:
Click OK and select JBoss Drools core, JBoss Drools Guvnor, JBoss JBPM Core in the pop-up selection box, as
Click Next until you agree to install the license page, select agree to install license, click Next, know to complete the installation, restart Eclipse, and complete the installation.
Iii. creation of the JBPM6 HelloWorld project
NEW->OTHER->JBPM project such as
Next Enter project name HelloWorld
Next choose a simple Hello World process and add a simple junti Test for the HelloWorld process tick
Next Configure JBPM Runtime, click Work Space Settings. Add installed JBPM runtimes directory for unzipped Jbpm-6.1.0.final-bin.zip (D:\JBPM\JBPM Runtime) Click OK.
Right-click the Com.sample.ProcessTest class in the Src/main/java directory of the HelloWorld project, select Run As->junit Test, run successfully, and print Hello World on the console.
Iv. Modifying Process script information
Double-click Simple.png in the Src/main/resource directory, double-click Hello, change Hello world to Hello, run the project again with JUnit test, and the console will send "hello" information.
V. Summary
The blog mainly describes how to install the jbpm6.1 plug-in, configure the JBPM runtime environment, and run a self-brought Hello World example, and then modify the workflow's script information to make the workflow print out the information from Hello World hello.
Although the JBPM6 and the jbpm4.4 of the structure of a great change, but in terms of use and the environment is still not much difference. The next blog will explain how to design your own process and run it through BPM editor.
Jbpm6--hello World