Home » Tag Archives: JBoss Drools (page 2)

Tag Archives: JBoss Drools

Trace output with Drools

jboss-drools-logo

Drools 6 includes a trace output that can help get an idea of what is going on in your system,  and how often things are getting executed, and with how much data. It can also help to understand that Drools 6 is now a goal based algorithm, using a linking mechanism to link in rules for evaluation. More details on ...

Read More »

Drools Executable Model

jboss-drools-logo

The Executable Model is a re-design of the Drools lowest level model handled by the engine. In the current series (up to 6.x) the executable model has grown organically over the last 8 years, and was never really intended to be targeted by end users. Those wishing to programmatically write rules were advised to do it via code generation and ...

Read More »

Event processing in camel-drools

apache-camel-logo

In a previous post about camel-drools I’ve introduced camel-drools component and implemented some simple task-oriented process using rules inside Camel route. Today I’ll show how to extend this example by adding event processing. So how to describe an event? Each event occur at some time and lasts for some duration, events happen in some particular order. We have then a ...

Read More »

Drools 6 Performance with the PHREAK Algorithm

jboss-drools-logo

Drools 6 introduces a new lazy matching algorithm. The details of that algorithm have been covered in two previous blogs: R.I.P. RETE time to get PHREAKY PHREAK Stack Based Evaluations and Backward Chaining The first article discussed performance and why the batch and lazy aspects of the algorithm, make it hard to compare.       “One final point on ...

Read More »

Drools : PHREAK Stack Based Evaluations and Backward Chaining

jboss-drools-logo

A while back I wrote a blog on our new algorithm: http://blog.athico.com/2013/11/rip-rete-time-to-get-phreaky.html Someone asked me about the new stack based system, and how backward chaining works. I replied to them in an email, but I thought others might find it useful, so have pasted it below. It’s written straight from my brain onto the page, so it’ a bit raw ...

Read More »

Deployment with Drools 6.0

jboss-drools-logo

KieScanner The 6.0 KieScanner replaces the 5.x KnowledgeAgent. It uses embedded Maven to allow the resolving and retrieving of jars at runtime. 6.0 applications can now easily support dependencies and transitive dependencies; using well known Maven semantics for versioning. It allows for deployment on the class path and also dynamically at runtime. Currently it supports manual “scanNow” and interval polling, ...

Read More »

JBoss Drools unit testing with junit-drools

jboss-drools-logo

Recently I’ve been working with a project heavily using JBoss Drools. I am not Drools expert – I am not also very convinced to this framework, or maybe only to particular use case in this project – and I found it quite difficult to write simple, maintainable unit tests for Drools based business rules. That’s how junit-drools was born – ...

Read More »

R.I.P. RETE time to get PHREAKY

jboss-drools-logo

I’ve just done some high level documentation for the new rule algorithm I’ve called PHREAK, a word play on Hybrid Reasoning. It’s still a bit rough and high level, but hopefully still interesting. It builds on ReteOO, so good to read that bit first. ReteOO Algorithm The ReteOO was developed throughout the 3, 4 and 5 series releases. It takes ...

Read More »

Goodbye Guvnor. Hello Drools Workbench.

jboss-drools-logo

Many things are changing for Drools 6.0. Along with the functional and feature changes we have restructured the Guvnor github repository to better reflect our new architecture. Guvnor has historically been the web application for Drools. It was a composition of editors specific to Drools, a back-end repository and a simplistic asset management system. Things are now different. For Drools ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials