Jess Inventor Opines About Rule Engines and Java

Jess Inventor Opines About Rule Engines and Java

bout a year ago, I was looking for Java tools to develop expert systems in Java, particularly expert system shells for rule-based architectures. I stumbled upon the Java Expert System Shell (Jess), written by Dr. Ernest J. Friedman-Hill at Sandia National Labs. While experimenting with Jess, I grew more curious about its origin and Dr. Friedman-Hill’s opinions on the artificial intelligence field. Here’s what he had to say.

Jess and Java
JM: How did you come to be involved with artificial intelligence and expert systems?

EJF: My Ph.D. is in physical chemistry?very mathematical, very computational?so I’ve always been around computers. I’ve been interested in AI since college, and was working on natural language understanding systems as a hobby soon afterwards.

I came to Sandia National Laboratories in 1992 as a physical chemist, but moved to a computer science department after about a year. My early projects concerned applying heuristic methods to problems in drug design, which led to a project applying heuristic rules to natural language understanding?which is the project for which Jess was originally created.

My work was all about practical applications, and so Jess has always had a very practical bent. The research aspect of Jess has been all about making things faster and more flexible, not really about searching for new paradigms, but about exploring the unspent potential of existing ones.

I first started working on Jess when Java itself was very young, so Jess has grown up with Java. If Java hadn’t appeared, Jess would have been written in a kind of pidgin-interpreted C.

JM: What are the unique strengths of Jess? (e.g., does Jess integrate well with other knowledge tools?)

EJF: Jess is the rule engine for real programmers. Jess is all about integration with other systems: it’s easy to embed, it’s easy to extend, it’s easy to call out to Java from the rule language, and licensed users get the source code, so you can modify anything in the engine if you want. Jess is probably the most flexible rule engine on the market?it has been used in everything from Windows CE handhelds to full-blown J2EE enterprise applications.

Jess is the rule engine for real programmers.
Jess is designed from the ground up for integration, and in Jess 7.0 it’s going to get even better. Current versions of Jess can only reason about data in its own working memory (although you can use backward chaining to fetch data into working memory as needed.). Jess 7.0 is going to have the ability to reason about data that isn’t in working memory, making it possible to efficiently make inferences about truly huge data sets.

Jess has been integrated with agent frameworks and other tools. It’s also been integrated with the popular ontology editor ProtJM: What is the Next Evolutionary Step for Jess?

EJF: The biggest feature of Charlemagne will be a graphical IDE. It’s going to be packaged as an Eclipse plug-in. There is an editor with code completion and syntax checking as you type, a debugger, an explorer that lets you probe the relationship between templates and rules, and a rule database.

Charlemagne (Jess 7.0) is going to be packaged as an Eclipse plug-in.
There are also going to be a number of engine enhancements, including some alternative pattern-matching strategies. Nevertheless, compatibility is really important: the plan is to keep full source compatibility with Jess 6.0.

JM: In the theory of technology-transfer, there is the concept of the S-curve, which maps the lifecycle of an innovation from inception to obsolescence. I have seen an often-quoted figure of 20 years for the lifespan of a high-level programming language. By that standard, C++ should be retired now and Java is approaching middle age. Where is Jess on its S-curve?

EJF: After their initial rise and fall due to excessive AI hype, rule-based systems in general are undergoing a renaissance. Jess itself is now a mature product but it is still innovating; I expect its user base to continue to grow with the market for the foreseeable future.

There is more freedom for innovation with Jess than with a specific high-level language, which means its curve may well be more wiggly. Underneath the Jess language itself there is the rule engine; these two layers can evolve independently. For example, in Charlemagne, we’ll see native support for an XML rule language. This will open up a new world of possibilities, bringing in the power of XSLT and other XML-based tools. Jess will thus support a whole range of different rule languages.

JM: I’m concerned that AI/expert systems experience is still too esoteric for most employers of Java programmers to value as a skill. Am I wrong? How does a Jess developer market him/herself?

The cardinal rule of defining AI [is] if it works, it’s not AI anymore?it’s just programming.
EJF: You’re right to say that AI experience isn’t going to impress many potential employers. But I just did a search at monster.com for business rules and found 1,200 job listings. Like anything else, it’s all in the marketing. The cardinal rule of defining AI [is] if it works, it’s not AI anymore?it’s just programming.

JM: You mentioned the javax.rules API in your book. Would you explain the details of how this impacts Jess developers and what it means for Jess’s future?

EJF: The javax.rules is a standard API for accessing rule engines. It’s primarily intended to be used in the J2EE environment. The reference driver being shipped with the javax.rules package is a Jess driver! Charlemagne will include an improved version of this driver.

The people who are really going to benefit from javax.rules are those who build a lot of heavily ‘componentized’ business applications, and want to be able to migrate between rule engines the same way they might migrate between databases.

The New AI
JM: Senior software developers face a very practical problem: selling the early adoption or utilization of a technology to management. We have to demonstrate a definite ROI path and business plan to convince management.

What can you tell us about the Fortune 100 companies that are using Jess regarding their due-diligence process, how they integrated it, and how Jess is working for them?

EJF: Broadly, there are three kinds of companies using Jess. First, there are large, established ones who felt a need to improve the way they were performing some vital business function, and were open minded to a new approach. These folks usually use Jess in in-house IT. For example, screening applications in the insurance and financial services industries.

Generally, there’s an existing process that is a recognized bottleneck, and someone proposes rule-based programming as an alternative. Such projects are often very successful, because the institutional knowledge of how to solve the problem already exists. Implementing the system just entails codifying that into a rule-based system. Usually this sort of application is J2EE-based.

Another kind of company that successfully uses Jess is an applications service provider that sells consulting services and builds and maintains systems to suit. This kind of company gets to pick the technology best suited to the task at hand, and so if they want to introduce a rule-based solution, they can simply do so. Again, these are usually J2EE applications.

Lastly, there are small shrink-wrap software companies whose entire reason for being is to take a risk and apply new techniques to creating a unique product. They need to justify their approach to the VCs; they often have the luxury of implementing a small prototype and taking measurements that demonstrate an advantage. There are several successful products of this kind on the market that embed Jess right now, and more in development.

JM: What are the enabling technologies that will make expert systems more feasible as components in commercial software in the near future?

We’re on the verge of a revolution in applied robotics.
EJF: I don’t think we’re talking about the future, I think we’re talking about now. There have been many advances that have made this possible: better tools for managing large amounts of data, better tools for structuring data, dynamic languages like Java, and faster machines?all developed together in a compatible way, with a path forward from legacy technologies.

JM: Is there any other topic related to Jess and expert systems about which you would like to comment?

EJF: One of the best things about Jess is the community. Over the years that I’ve been developing Jess I’ve been fortunate to work closely with many, many really great people. Some people develop Jess extensions, others help design new features, others provide valuable feedback.

JM: If a friend had $10K to invest in an emerging technology, which one would you recommend and why?

EJF: Robotics. I think we’re on the verge of a revolution in applied robotics. I don’t mean big humanoid robots, I mean little, functional robots like Roomba, the autonomous vacuum cleaner. I think Roomba is only the beginning of a wave of products that will transform our living environments.

Expert Systems: AI is Back
In the late 80s, the buzz phrase “artificial intelligence” went out of vogue after initial returns on early applications did not rise to the hype. Expert systems, a species of AI that emulates human reasoning in a specific domain, are no longer ahead of their time due to exponential advances in computing power and application possibilities. Rule-based expert systems, which reason about problem facts using IF…THEN type rules, are the most mature of these technologies. Such systems unobtrusively power many current high-tech applications such as Web agents, financial calculators, and mechatronic controls. Java technology is a key enabler in this reemerging field.

With the popularity of Java for distributed computing across the enterprise and the explosion of business complexity, more Java developers are reexamining the feasibility of including AI components in their applications. Until recently, few tools were available for integrating such business rules into Java applications. Jess is a robust, versatile Java API for creating a wide variety of commercial-strength, rule-based expert systems.

Dr. Ernest J. Friedman-Hill is a principal investigator in the Distributed Systems Research department at Sandia National Labs. His current work includes the development of software for mechanical design and analysis. .

devx-admin

devx-admin

Share the Post:
Military Drones Revolution

Military Drones: New Mobile Command Centers

The Air Force Special Operations Command (AFSOC) is currently working on a pioneering project that aims to transform MQ-9 Reaper drones into mobile command centers

Drone Revolution

Cool Drone Tech Unveiled at London Event

At the DSEI defense event in London, Israeli defense firms exhibited cutting-edge drone technology featuring vertical-takeoff-and-landing (VTOL) abilities while launching two innovative systems that have

2D Semiconductor Revolution

Disrupting Electronics with 2D Semiconductors

The rapid development in electronic devices has created an increasing demand for advanced semiconductors. While silicon has traditionally been the go-to material for such applications,

Cisco Growth

Cisco Cuts Jobs To Optimize Growth

Tech giant Cisco Systems Inc. recently unveiled plans to reduce its workforce in two Californian cities, with the goal of optimizing the company’s cost structure.

FAA Authorization

FAA Approves Drone Deliveries

In a significant development for the US drone industry, drone delivery company Zipline has gained Federal Aviation Administration (FAA) authorization, permitting them to operate drones

Mortgage Rate Challenges

Prop-Tech Firms Face Mortgage Rate Challenges

The surge in mortgage rates and a subsequent decrease in home buying have presented challenges for prop-tech firms like Divvy Homes, a rent-to-own start-up company.

Military Drones Revolution

Military Drones: New Mobile Command Centers

The Air Force Special Operations Command (AFSOC) is currently working on a pioneering project that aims to transform MQ-9 Reaper drones into mobile command centers to better manage smaller unmanned

Drone Revolution

Cool Drone Tech Unveiled at London Event

At the DSEI defense event in London, Israeli defense firms exhibited cutting-edge drone technology featuring vertical-takeoff-and-landing (VTOL) abilities while launching two innovative systems that have already been acquired by clients.

2D Semiconductor Revolution

Disrupting Electronics with 2D Semiconductors

The rapid development in electronic devices has created an increasing demand for advanced semiconductors. While silicon has traditionally been the go-to material for such applications, it suffers from certain limitations.

Cisco Growth

Cisco Cuts Jobs To Optimize Growth

Tech giant Cisco Systems Inc. recently unveiled plans to reduce its workforce in two Californian cities, with the goal of optimizing the company’s cost structure. The company has decided to

FAA Authorization

FAA Approves Drone Deliveries

In a significant development for the US drone industry, drone delivery company Zipline has gained Federal Aviation Administration (FAA) authorization, permitting them to operate drones beyond the visual line of

Mortgage Rate Challenges

Prop-Tech Firms Face Mortgage Rate Challenges

The surge in mortgage rates and a subsequent decrease in home buying have presented challenges for prop-tech firms like Divvy Homes, a rent-to-own start-up company. With a previous valuation of

Lighthouse Updates

Microsoft 365 Lighthouse: Powerful Updates

Microsoft has introduced a new update to Microsoft 365 Lighthouse, which includes support for alerts and notifications. This update is designed to give Managed Service Providers (MSPs) increased control and

Website Lock

Mysterious Website Blockage Sparks Concern

Recently, visitors of a well-known resource website encountered a message blocking their access, resulting in disappointment and frustration among its users. While the reason for this limitation remains uncertain, specialists

AI Tool

Unleashing AI Power with Microsoft 365 Copilot

Microsoft has recently unveiled the initial list of Australian clients who will benefit from Microsoft 365 (M365) Copilot through the exclusive invitation-only global Early Access Program. Prominent organizations participating in

Microsoft Egnyte Collaboration

Microsoft and Egnyte Collaboration

Microsoft has revealed a collaboration with Egnyte, a prominent platform for content cooperation and governance, with the goal of improving real-time collaboration features within Microsoft 365 and Microsoft Teams. This

Best Laptops

Top Programming Laptops of 2023

In 2023, many developers prioritize finding the best laptop for programming, whether at home, in the workplace, or on the go. A high-performing, portable, and user-friendly laptop could significantly influence

Renaissance Gaming Magic

AI Unleashes A Gaming Renaissance

In recent times, artificial intelligence has achieved remarkable progress, with resources like ChatGPT becoming more sophisticated and readily available. Pietro Schirano, the design lead at Brex, has explored the capabilities

New Apple Watch

The New Apple Watch Ultra 2 is Awesome

Apple is making waves in the smartwatch market with the introduction of the highly anticipated Apple Watch Ultra 2. This revolutionary device promises exceptional performance, robust design, and a myriad

Truth Unveiling

Unveiling Truths in Bowen’s SMR Controversy

Tony Wood from the Grattan Institute has voiced his concerns over Climate and Energy Minister Chris Bowen’s critique of the Coalition’s support for small modular nuclear reactors (SMRs). Wood points

Avoiding Crisis

Racing to Defy Looming Financial Crisis

Chinese property developer Country Garden is facing a liquidity challenge as it approaches a deadline to pay $15 million in interest associated with an offshore bond. With a 30-day grace

Open-Source Development

Open-Source Software Development is King

The increasingly digital world has led to the emergence of open-source software as a critical factor in modern software development, with more than 70% of the infrastructure, products, and services

Home Savings

Sensational Savings on Smart Home Security

For a limited time only, Amazon is offering massive discounts on a variety of intelligent home devices, including products from its Ring security range. Running until October 2 or while

Apple Unleashed

A Deep Dive into the iPhone 15 Pro Max

Apple recently unveiled its groundbreaking iPhone 15 Pro and iPhone 15 Pro Max models, featuring a revolutionary design, extraordinary display technology, and unrivaled performance. These new models are the first

Renewable Crypto Miners

Crypto Miners Embrace Renewable Energy?

As the cryptocurrency sector deals with the fallout from the FTX and Celsius exchange collapses, Bitcoin miners are increasingly exploring alternative energy sources to reduce expenses and maintain profitability. Specialists

Laptop Savings

The HP Omen 16 is a Gamer’s Dream

Best Buy is currently offering an unbeatable deal on the HP Omen 16 gaming laptop, giving potential buyers the chance to save a significant $720 on their purchase. Originally priced

How to Check for Vulnerabilities in Exchange Server

It is imperative to keep your systems and infrastructure up-to-date to mitigate security issues and loopholes, and to protect them against any known vulnerabilities and security risks. There are many

Data Center Creation

Transforming Corporate Campuses into Thriving Data Centers

Dallas-based developer Compass Datacenters has purchased a 197-acre ex-corporate campus in Hoffman Estates, Illinois for an estimated $194 million. This acquisition occurs as more companies are downsizing and consolidating their

Nano Unbeatable Value

Lenovo ThinkPad X1 Nano: Unbeatable Value

The Lenovo ThinkPad X1 Nano, a first-generation model beloved for its ergonomic keyboards and stylish appearance, is now available at an unbeatable price of $600 on eBay. Though this 13-inch

Assistant Revolution

Home Assistant Green Makes Your Home Futuristic

In recent times, the growing interest in smart home technology has led to the emergence of various devices and platforms that enable homeowners to control and manage their homes in

Ultimate Smart Home

Unlock Your Ultimate Smart Home Adventure

Ever thought about having a home where everything is tailored to your needs and runs smoothly? Home automation may significantly impact your daily life. Transform your space into an intelligent