March 12, 2004

Budget-friendly BRMS

Jess and OPSJ require dedicated programmers, but are priced right for smaller shops

For companies struggling to improve responsiveness to changing business conditions, a BRMS (business rule management system) can make all the difference. A BRMS exposes the business logic of complex applications as sets of rules that can be changed more quickly and easily, allowing companies to adjust credit criteria or discounts for gold customers, for example, when the market dictates, instead of when the necessary C or Java programming skills are available.

In the BRMS world, only ILOG’s JRules and Fair Isaac’s Blaze Advisor have all of the features you’d want for a large enterprise deployment. In addition to rich toolsets for developers, these products include easy-to-learn, English-like rule-building languages and a variety of graphical interfaces that ordinary business people can understand and use. In companies that want large numbers of business people, with a variety of different skill sets, involved in configuring the application’s rules — and that are willing to pay a premium for ease of use — either JRules or Blaze Advisor is the way to go.

But JRules and Blaze aren’t the only BRMS products on the planet. While these products have more  bells than you can shake a whistle at, two bare-bones solutions, OPSJ from Production Systems Technologies (PST) and Jess from Sandia National Laboratories, present good alternatives for companies willing to place business rules management in the hands of a few expert coders. OPSJ has won a place in the BRMS landscape by being extremely fast; Jess has gained a foothold by having one of the most active user groups in the world. Although more difficult to use than JRules or Blaze, both offer significantly better performance at a fraction of the price.

Fastest on Earth

OPSJ is without peer in terms of speed, as my tests using the standard Miss Manners and Waltz benchmarks. Because it is a superset of Java, there is no cumbersome API needed to access the engine itself. Further, because the engine takes less than 100KB of memory (156KB on disk), it is easily embedded into almost anything that will use a Java VM (virtual machine). OPSJ does all of this without using threads, thereby making it easy to use in any J2EE application. Another bonus is that the OPSJ language will be familiar to most programmers, giving them programming power directly related to business requirements not available from the other BRMS engines.

OPSJ’s ease of use is enhanced by the fact that it includes nested And/Or clauses as well as flagged Else clauses. The ability to use Else clauses makes many complex rule sets dramatically easier for programmers to express and easier to understand later when trying to implement changes to existing rules. OPSJ also features a “when needed” type of backward chaining. This capability is highly advantageous in solving problems involving large numbers of interdependent conditions, such as medical diagnosis and application configuration.

For rules editing and application development, OPSJ provides an Eclipse plug-in, which allows the user to edit Java, OPSJ, and J2EE files, and a limited, Windows-type debugger. The debuggers in both OPSJ and Jess are not very sophisticated, making it difficult to step through the rules, find objects, or find which rules are associated with which objects.

Unlike Jess, OPSJ does allow you to set break-points and fire subsets of rules. But ultimately, it’s much more difficult in OPSJ — and Jess — to find bugs, optimize ruleflow, and tune performance than it is in JRules or Blaze Advisor.

Test Center Scorecard
25%15%15%15%10%10%10%
Jess 6.1p55586686
6.1
Fair
25%15%15%15%10%10%10%
OPSJ 6.046109556
6.4
Fair
Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.