Drools Installation Configuration Learn notes

Source: Internet
Author: User
Tags jboss
drools Installation Configuration Learn notes

1. Download the latest Drools related components

Required (drools run environment, drools Eclipse plug-in)

Http://download.jboss.org/drools/release/5.0.1.26597.FINAL/drools-5.0-bin.zip

Http://download.jboss.org/drools/release/5.0.1.26597.FINAL/drools-5.0-eclipse-all.zip

Optional (Document,source Code,example,solver,guvnor)

Http://www.jboss.org/drools/downloads.html

2. Extract Drools-5.0-bin.zip to any directory, such as: c:/

3. Extract Drools-5.0-eclipse-all.zip to eclipse installation directory

4. Start Eclipse to see if the toolbar has a drools icon, and if so, install it properly. Otherwise, open the menu->windows->open perspective->other->drools. If there are no perspective, please delete the eclipse/configuration/org.eclipse.update directory and restart Eclipse.

5. Configure the Drools runtime environment to point to the Drools-5.0-bin directory

6. Click menu->file->new->drools Project, enter the name of the Create Drools item, and click Next to select all options. Drools automatically creates rule files and test cases, and the results are as follows:

7. Run Droolstest.java, you can see the results based on the rule file SAMPLE.DRL definition

8. Can download drools-5.0-example, unzip and import eclipse to see more examples

Note : The drools version of the download needs to match the version of Eclipse, and the case uses the version of Eclipse 3.4.0

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.