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 i

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 in

Re: JESS: Redirection to SWT GUI

2006-07-17 Thread Robert Kildare
Hi It's nice to read someone who is at my level of JESS use. I think I have some answers at times, but leave it to the hardened campaigners in case I lead you up the garden path. I am also involved in trying to get users to edit rules. Getting users to learn the process is a major difficulty - e

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 m

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: Redirection to SWT GUI

2006-07-17 Thread mdean77
My approach was going to be that the RHS of my rules would actually create the string content; I guess the easiest approach is to have the string content be part of a shadow fact, use listeners to update the GUI when the shadow fact changes, etc. Thanks. On Jul 16, 2006, at 6:01 PM, fried

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 fro

Re: JESS: Redirection to SWT GUI

2006-07-17 Thread mdean77
The OTHER reason, which I forgot to mention, to want this code to be on the Jess side, is that my "dream application" actually will have two perspectives (it is an RCP Eclipse based application). The normal clinical user will enter some clinical information, push a button for a clinical re