Re: JESS: Fact definition from Java

2006-07-18 Thread friedman_hill ernest j
I think J. Michael Dean wrote: Sorry. I was reading the manual Section 8.2 (Definstance facts), where you postulate a Java Bean called ExampleBean. That's sitting in Java. The next paragraph shows, from an interactive session with Jess, the command (defclass simple ExampleBean). How

Re: JESS: Fact definition from Java

2006-07-18 Thread friedman_hill ernest j
I think J. Michael Dean wrote: I think I have resolved my internal confusion. I am thinking about Jess rules as being type-safe, which is nonsense. So if I have a rule file that refers to some kind of fact that does not exist, there will be no error - the rules that depend on that fact

JESS: Fact definition from Java

2006-07-17 Thread mdean77
Ridiculous question. I have a Bean in Java. I want to have Jess build itself a template for a shadow fact. But Jess does not know about the Bean. How does one tell Jess about the classes that have been created in Java? Right now, I manually create a fact in Jess and move the values

Re: JESS: Fact definition from Java

2006-07-17 Thread friedman_hill ernest j
I think mdean77 wrote: Ridiculous question. I have a Bean in Java. I want to have Jess build itself a template for a shadow fact. But Jess does not know about the Bean. How does one tell Jess about the classes that have been created in Java? Right now, I manually create a fact in

Re: JESS: Fact definition from Java

2006-07-17 Thread James C. Owen
Speaking of which :-) when is the 2nd edition of Jess In Action coming out? Giarratano and Riley are now into their FOURTH edition since first edition came out in 1989. I think I have all three somewhere - the older ones probably in boxes somewhere but the 3rd edition is pretty well

Re: JESS: Fact definition from Java

2006-07-17 Thread J. Michael Dean
I think I have resolved my internal confusion. I am thinking about Jess rules as being type-safe, which is nonsense. So if I have a rule file that refers to some kind of fact that does not exist, there will be no error - the rules that depend on that fact simply will not fire. So if I

Re: JESS: Fact definition from Java

2006-07-17 Thread J. Michael Dean
Sorry. I was reading the manual Section 8.2 (Definstance facts), where you postulate a Java Bean called ExampleBean. That's sitting in Java. The next paragraph shows, from an interactive session with Jess, the command (defclass simple ExampleBean). How does Jess know about ExampleBean