Hi, I am developing an academic application with Jess & Jade. Is there any simple way to get all facts which are just inserted? Iterating over all the facts in working memory would be very inefficient, right?
I actually tried to add a JessListener public class KitchenJessListener implements JessListener{ public void eventHappened(JessEvent event) throws JessException { Object o=event.getObject();; if(event.getType()== JessEvent.FACT) { o=event.getObject(); } System.out.println("event:"+o.toString()); } } using addJessListener function, but the function is never invoked, though I insert new facts to the working memory in run time. Any ideas? -- Levent Kent