Jbpm6--hello World

Source: Internet
Author: User
Tags jboss jbpm

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.