Hi Adeyi,
All the basic information about embedding Jess in a Java app can be found
here:
http://www.jessrules.com/jess/docs/71/embedding.html
BTW --
Make sure that you call
engine.reset();
before you call
engine.run();
else Jess won't be initialized properly.
See
I want to embed Jess into Java code. The Java code is to be called from an
eclipse-based IDE. Can I achieve my aim without the use of the main() method
in Java? I need help please!!!
--
View this message in context:
I just realized as well that you needed help a few weeks ago with this. My
code example is just an example though. I highly recommend getting the Jess
book off of Amazon and going through the tutorials (note the Jess In Action
book is not the same as the manual on the website, it will teach and
Not sure what you're trying to do, but Jess is embedded as any other Java
object would be. Check the Jess website for the API.
Just create a rete object, connect a CLP file to it, add facts, and run.
Here's a not too great example, but it is an example of just embedding Jess
in a method, which of