Web engineering and MAVEN engineering are more commonly used today, and of course MAVEN engineering is the most commonly used in development.
Two drools projects are created by creating a drools project directly, and the other is creating a Drools project based on Maven
I. Create a Web project
(1) Create drools project directly
File--->new--->other
(2) Select a second
(3) Fill in the project name
(4) The writing format of 3 kinds of drools programs is given, corresponding to 3 kinds of rules file format of drools respectively. Decisiontabeltest.java corresponds to the sample.xls,droolstest.java corresponding to the Sample.drl,processtest.java corresponding to the SAMPLE.BPMN, according to the project needs.
Second, MAVEN project creation
(1) Create a MAVEN project and a Web project in fact, no difference, the key is to choose the MAVEN item
(2) test run results
Any technical learning, starting from Hello World, please do not ignore.
Drools Combat Series (iii) Eclipse creation project