JBoss Drools 4.0: Business rules now more accessible to non-programmers
JBoss Drools, an open-source business rules engine, recently reached version 4.0. InfoQ took the opportunity to learn more about JBoss Drools and its current and future capabilities.
It has been a little over a year since JBoss Rules 3.0 was released, and the first big change is the name - with this release, JBoss Rules is becoming JBoss Drools. Along with the new name come new API and language features which break backwards compatibility with 3.0. According to the official release announcement, the major features and benefits in 4.0 are:
Version 4.0 is also available in the JBoss Maven repository for Maven users, and the Eclipse Drools IDE has a number of new features and capabilities to go along with this release. There is a detailed overview of the changes available in PDF form as well.
- Faster performance: Drools 4.0 is faster and leaner than its predecessor and features a smaller memory footprint. Internal benchmark testing showed improvement from minutes to seconds.
- Improved expressiveness: This release introduces a dramatically more expressive and powerful declarative business action scripting language (MVFlex Expression Language). Users will find that it is more concise as well as more readable.
- Business analyst friendly tooling: A new Guided Rules Editor lets non-programmers point and click their way to advanced declarative business rules that automatically bind to enterprise data without writing a single line of code. Basic menu prompts and drop-down lists do the guiding.
- Rule flow capabilities: This visual modeling technology enables users to declaratively model execution paths of related rules. It also allows for simultaneous flows within a single working memory and essentially organizes rule execution along the requirements governing a typical business process.
- Multi-application support: Improved support for stateful and stateless processing as well as overall thread safety helps make Drools even easier to embed within Java Platform, Enterprise Edition (EE) and service-oriented business applications.
- Hibernate-ready: Users can assert facts directly from Hibernate-driven RDBMS queries. Existing Hibernate components can be used directly in the rules engine, reducing the amount of coding.
- BRMS for non-programmers: A technology preview, the new BRMS is a web-based, AJAX-enhanced, collaborative rule authoring, versioning, and management system. Business analysts can now interactively author and/or modify rules that are automatically versioned. Administrators now have full lifecycle control over which rules are in QA, staging, production, etc.
Mark Proctor, the JBoss Drools lead, recently talked about what to expect of future JBoss Drools releases:
We are still missing 3 main things:Proctor also described some community projects, such as an upcoming solving framework called drools-solver, and a fuzzy-logic evaluation system which will plug into JBoss Drools. Further into the future, Proctor believes that JBoss Drools will grow from a rules engine into a fully integrated artificial intelligence platform for behavioural modelling.
analytics
ontology modelling
testing
Our next release will be quite quick, I'm hoping approx 3 months. That release should hopefully have analytics and testing in it, as I want to get those out as soon as possible. Ontology modelling will take a little longer so will be in release after that, along with prolog style backwards chaining (for a full hybrid engine) and Complex Event Processing(CEP)/Event Stream Processing(ESP).
Great job guys!
by
Richard L. Burton III
Best Regards,
Richard L. Burton III aka rburton
Business rules now more accessible to non-programmers
by
Dmitriy Setrakyan
Business analyst friendly tooling: A new Guided Rules Editor lets non-programmers point and click their way to advanced declarative business rules that automatically bind to enterprise data without writing a single line of code. Basic menu prompts and drop-down lists do the guiding.
I am wondering if anyone finds this feature useful.
I myself have worked with several rules engines and the idea was always the same - business people, who don't know coding, will be able to create and wire business rules.
However, never in my experience such feature ever ended up well accepted. Moreover, it brought certain disadvantages to code, such that your business logic was now defined in 2 places, partially in Java (rule implementation) and partially in the rule itself using some sort of rule scripting language specific to rules engine.
Another disadvantage is that business people still had to learn some sort of light weight scripting language for rules which is a challenge on its own.
Does Drools address these issues? Is there anyone who is using Drools and at the same time does not know how to code?
Best,
Dmitriy
GridGain - Grid Computing Made Easy
Re: Business rules now more accessible to non-programmers
by
Geoffrey Wiseman
I myself have worked with several rules engines and the idea was always the same - business people, who don't know coding, will be able to create and wire business rules.
However, never in my experience such feature ever ended up well accepted. Moreover, it brought certain disadvantages to code, such that your business logic was now defined in 2 places, partially in Java (rule implementation) and partially in the rule itself using some sort of rule scripting language specific to rules engine.
I don't really buy into "Business users write rules" myself except in very simple cases. Something like Drools' decision tables, where business users parameterize rules written by developers seems a little closer to feasible.
That said, I think from a marketing perspective, since people often look at rule engines with this in mind, it's a useful feature to have for adoption, even if people end up deciding not to use it. I hope that it is actually useful to people as well.
Drools Features and Screenshots
by
Geoffrey Wiseman
blog.athico.com/2007/08/drools-features-and-scr...
Re: Business rules now more accessible to non-programmers
by
Roberto Nogueira
Re: Business rules now more accessible to non-programmers
by
Sameer Wadkar
Another type of software which makes this marketing promise is "Workflow based softwares". Again business users can hardly be expected to go in and change process flow in a sophisticated application like Oracle BPEL.
Ofcourse developers welcome good tools and such tools make using Workflow systems and Rules engine very accessible. But somehow "Good for developers" does not sell as much as "Business users can now express functionality using their lingo".
Re: Business rules now more accessible to non-programmers
by
Simon Pink
Re: Business rules now more accessible to non-programmers
by
Jonathan Allen
Its hard to image a business user (even a powerful one) can just go in and change the rules in a production system.
It happens all the time where I work. Someday it will be our downfall, but we can't talk senior management out of it.
Re: Business rules now more accessible to non-programmers
by
Mark Proctor
On the other hand we also have to solve real world business problems; where we want to enable developers and business analysts to work closer together, to allow developers to give (in a controlled manner) more autonomy to analysts. Environments like Decision Tables, Guided Editor and DSLs when applied correctly to the right problem domain work. We still have other authoring metaphors to add such as Decision Trees and Score Cards. Do they remove the need for developers, no. Do they allow analysts to work end to end on their own out of the box, no. Do they empower the analysts with more autonomy, yes. Do they provide an environment where analysts and developers can have a clearer idea of what each other is saying and trying to describe and model, yes.
Mark
blog.athico.com
Re: Business rules now more accessible to non-programmers
by
peter lin
peter lin
Re: Business rules now more accessible to non-programmers
by
Mark Proctor
Mark
blog.athico.com
Re: Business rules now more accessible to non-programmers
by
Geoffrey Wiseman
Re: Business rules now more accessible to non-programmers
by
peter lin
peter
Re: Business rules now more accessible to non-programmers
by
James Taylor
JT
James Taylor
The EDM blog
My ebizQ blog
Author of Smart (Enough) Systems
Re: Business rules now more accessible to non-programmers
by
James Taylor
JT
Re: Business rules now more accessible to non-programmers
by
James Taylor
- business users can make many of the updates to the development system (reducing interpretation errors and getting the development system updated faster) - IT still push it into production
- in an emergency the logic in the production systems can be changed more rapidly (typically by IT and the business in parallel).
JT
James Taylor
The EDM blog
My ebizQ blog
Author of Smart (Enough) Systems
Educational Content
Writing Usable APIs in Practice
Giovanni Asproni May 19, 2013
Concurrency in Clojure
Stuart Halloway May 17, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think