Question

I finished reading a book on clips expert system shell before I heard about Jess.

I'm trying to implement a web based expert system. I've written the code on clips, but the program has to run from the command line, however I would like to implement it in jess so that I can use it with jsp.

I need to use to ask questions and retrieve answers from the user and then use these answers as facts.

How can I do this with without having to rewrite everything again?

Was it helpful?

Solution

Depending on how you wrote your CLIPS code -- in particular, whether you used the CLIPS object extensions or CLIPS generic functions (neither of which exist in Jess) -- you may be able to run your code directly in the Jess engine with little or no change. The best thing to do is probably to just try it, and see how far you get.

Both CLIPS and Jess are quite flexible systems as far as integrating with other software. Jess is obviously very easy to integrate with all Java-based systems, and there are CLIPS bindings for Python and other languages that are easy to use on the Web. So even if you decide to stick with CLIPS, you shouldn't have any problems creating a web-based application.

OTHER TIPS

Check the FAQ page of CLIPS. It has listed several extensions that can integrate CLIPS with programming languages (including PHP, Perl and .NET). Perhaps you can do the interface using other languages.

http://clipsrules.sourceforge.net/FAQ.html (see q.8)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top