Jbpm Learning (1)-Environment Building

Source: Internet
Author: User
Tags jboss jboss server jbpm
Jbpm Learning (1) ---- Environment Building

My first contact with jbpm is something I have summarized below. I hope it will be useful to you. Some of the content can be found on the Internet.

1. Build the environment 1. download the jboss-4.0.3sp1.zip and jbpm-starters-kit-3.1.4.zip files from the official website of jboss, decompress the two files respectively. After decompression, we get two folders: jboss-4.0.3SP1 and jbpm-starters-kit-3.1.4. Here, I will store these two folders in the root directory of drive D (depending on your situation ). 2. create Eclipse project expand jbpm-starters-kit-3.1.4 directory we can see the following structure: l jbpm Software Package l jbpm-BPEL contains only one web page l jbpm-DB various database hibernate configuration file example, some also contain the corresponding JDBC driver. L jbpm-designer assists in the development of jbpm Eclipse plug-ins, specifically in the jbpm-GPD-feature subdirectory. L BPM-server: In a JBoss-based jbpm example, we changed the jbpm directory to jbpm.3 to reduce configuration file rewriting. Copy the jbpm.3 folder to your eclipse working directory, create a new Java project in eclipse and name it jbpm.3. After you click Finish, the file in jbpm.3 will be automatically imported into the project. Expand the project. The structure is as follows: 3. modify the configuration file and open jbpm.3/build in eclipse. properties file. Modify and save relevant properties as needed. The following is my configuration file for your reference only: # jbpm. version only used for creating javadocs and the distribution packagejbpm. version = 3.1.4 # ant. home is only used in the ant. install. libs target for copying the JUnit and clover libsant. home = C:/program files/Apache Software Foundation/Apache-ant-1.7.0 # jbpm. home is only to allow build scripts to open the brow Ser with the HTML test results the folder we created in step 2. This folder provides the environment required for jbpm development. home = D:/jbpm-starters-kit-3.1.4/jbpm.3 # JBoss config proper only used for deployment this is also the JBoss root directory we just decompressed. home = D:/jboss-4.0.3SP1jboss.version = 4.0.xjboss.source.configuration = default 4. deploy jbpm to JBoss and open the ant view in eclipse. deploy. drag XML into the file, for example, double-click Create. jbpm. configuration [Default], automatically deploy jbpm in JBoss, observe the console information, and then expand {jbo The ss_home}/Server Directory contains a directory named jbpm, which is generated after automatic deployment. 5. in eclipse, configure the JBoss server and click WINDOW> perferences In the eclipse toolbar to find JBoss 4. x configuration item. For example, enter jbpm in the server name item, that is, the directory name generated in {jboss_home}/server. Click OK after the configuration is complete. 6. After the test configuration is complete, start the JBoss server through eclipse. Observe the console information. Open IE and enter http: // localhost: 8080/jbpm in the address bar. If the following result is displayed, congratulations. The basic process of jbpm is successfully established. Note: You can also go to {jboss_home}/bin through the command line To Run. Bat-C jbpm to start the JBoss server.

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.