In a prototype, I am using the jess.Main class which is calling a deffunction that calls a method in an existing java program to get strings in fact format. Jess then iterates over the returned ArrayList of Strings and does an assert-string to assert each fact. It works great, but I do not want this call to be synchronous (I just want it to kick off a "fact watcher"). I would rather the java program, having been called, tell jess whenever new facts need to be asserted or just assert them within the java.
I do see a way to do this in the manual(ch.18), but only when embedding jess within java, which as mentioned above, is not what I'm doing. Using the jess.Main class to start jess, is there anyway to pass the jess Rete object that jess.Main is using to my java program so it can do executeCommand calls? Regards, Ken -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------
