Title: RE: JESS: Java Beans
> If that is the case, why is the listener required in any scenario?
If the bean's properties are changed by your java code, jess needs to know about it. Unless your java code calls Rete#modify(), not likely, your bean will need to inform jess via the bean's prope
Doesn't using the modify function mean the bean will find out about the
change immediately? That is mentioned in JIA section 6.5.8.
Is that what you meant by "...otherwise does things explicitly."?
If that is the case, why is the listener required in any scenario?
Mike
- Original Message
Title: RE: JESS: Java Beans
> What I need is to have a Java program, may or may not be a
> bean, load Jess and a set of rules and 'pass' some object, a
> DOM document is a good example, and have the rules process
> the object.
The manual has several places where this is documented, see:
I think MAtt Farmer wrote:
> Is there a way to see the details of jess functions online?...coz I
> was storing a value into the global hashmap from jess and then some
> other value from java and using jess to fire a rule based on the
> equality of those strings...but jess fetch gets the strings st
I think Brenda K Hamilton wrote:
> What I need is to have a Java program, may or may not be a bean, load
> Jess and a set of rules and 'pass' some object, a DOM document is a good
> example, and have the rules process the object. For a DOM document, the
> processing would take the form of doing a
What I need is to have a Java program, may or may not be a bean, load
Jess and a set of rules and 'pass' some object, a DOM document is a good
example, and have the rules process the object. For a DOM document, the
processing would take the form of doing a left depth first traversal and
extract se
Is there a way to see the details of jess functions online?...coz I was storing a value into the global hashmap from jess and then some other value from java and using jess to fire a rule based on the equality of those strings...but jess fetch gets the strings stored from java as External java.lang
sorry..fixed it.
MAtt Farmer <[EMAIL PROTECTED]> wrote:
Thanks that worked..
Another thing, how do we specify the location of a SomeName.jess file if it is stored in
another directory(for a batch command from java). I tried using the same technique as I did for making a defclass for a new bean..i.
Thanks that worked..
Another thing, how do we specify the location of a SomeName.jess file if it is stored in
another directory(for a batch command from java). I tried using the same technique as I did for making a defclass for a new bean..i.e. specifying the package name in the call, but that does
I think =?iso-8859-1?Q?Diego_Alonso_Gonz=E1lez?= wrote:
> I don't know how to be sure if I succeed on that; so I create
> a query of one answer and ask RETE about the fact I introduced earlier.
If assert doesn't throw an exception, it succeeded.
>
> If I debug this piece of code it works fine,
I have a trouble. I want to confirm that a user has logged in.
I take the user data and assert it into RETE.
I don't know how to be sure if I succeed on that; so I create
a query of one answer and ask RETE about the fact I introduced earlier.
If I debug this piece of code it works fine, but it doe
I think =?Windows-1252?Q?Diego_Alonso_Gonz=E1lez?= wrote:
> I can use "definstance" for just asserting one JavaBean object as
> a fact, but I need more and -obviously - I'd love to learn how to add several
> objects at once.
> is it possible?
No, you need to call definstance once for each object
Title: RE: JESS: keeping jess in a different file?
Dear Dr.Friedman and all,
I designed a solution with "deftemplates" grouped
by modules,
and then I prepared a basic knowledge for the
solution by means
of "deffacts".
Now I moved to JavaBeans and I made use of
"defclass".
I can use "definstan
13 matches
Mail list logo