Drools Installation

Ratings:
(4.2)
Views:783
Banner-Img
  • Share this blog:

Drools Installation

In this tutorial, we will go over Drools Installation step by step.

Drools enable an Eclipse-based IDE, however, at its core, just Java 1.5 (Java SE) is required.

A simple way to begin is to download and install the Eclipse plug-in. It also requires the Eclipse GEF framework to be installed. This enables all the dependencies to create a new rule project usually. Installing the Eclipse plug-in requires just unzipping a file into the Eclipse plug-in directory.

Use of the Eclipse plug-in is not necessarily required. Rule files are usually a textual input, and the IDE is another convenience. Rule engine can be integrated into various ways, and there is no "one size fits all".

Download and install Eclipse IDE.

 

Install the GEF Plugin for Eclipse:

At TekSlate, we offer resources that help you in learning various IT courses. We avail both written material and demo video tutorials. To gain in-depth knowledge and be on par with practical experience, then explore Drools Training.

 

Install Drools:

Capture.624

Make sure the checkbox “Contact all update sites during install to find required software” is checked.

 

Create Drools Runtime:

  • In Eclipse switch to the Drools perspective (upper right corner).
  • Select File > New > Drools project.
  • Choose a name and click “Next”.

Capture.625

Click “Next”.

Capture.626

Check out the top Drools Interview Questions now!

Click “Configure Workspace Settings…”.

Capture.627

Click “Add…”.

Capture.628

Click “Create a new Drools 6 Runtime…” and choose a directory to create the Drools Runtime.

Capture.629

Select the created Drools Runtime and click “OK”.

Capture.630

Enter a GroupId, an ArtifactId, and a Version for your project. You may choose arbitrary non-empty values. Afterwards, click “Finish” to create the project.

Capture.631

  • Open the class that contains the main method. It is located in the package com.sample and has the same name as the project.
  • To execute the project, right-click the editor and select debug As > Drools Application. Observe the output. You can ignore the SLF4J warnings.

 

For in-depth knowledge on Drools, click below:

You liked the article?

Like : 0

Vote for difficulty

Current difficulty (Avg): Medium

Recommended Courses

1/15

About Author
Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.


Stay Updated


Get stories of change makers and innovators from the startup ecosystem in your inbox