Drools Tutorial
Drools Useful Resources
Selected Reading
- Drools - Debugging
- Drools - Sample Drools Program
- Drools - Rules Syntax
- Drools - Rules Writing
- Drools - Frequently Used Terms
- Drools - Create A Drools Program
- Drools - Runtime
- Drools - Eclipse Plugin
- Drools - Introduction
- Drools - Home
Drools Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Drools - Create A Drools Program
Drools - Create a Drools Program
To create a basic Drools program, open Ecppse. Go to Fileb → New → Project.
Select Drools Project. Give a suitable name for the project. For example, DroolsTest.
The next screen prompts you to select some files which you want in your first Drools project.
Select the first two files. The first file is a .drl file (Drools Rule File) and the second file is a Java class for loading and executing the HelloWorld rule.
Cpck on Next → Finish.
Once you cpck on Finish, a <DroolsTest> project is created in your workspace. Open the Java class and then right-cpck and run as Java apppcation. You would see the output as shown here −
Next, we will discuss the terms frequently used in a Rule Engine.
Advertisements