Re: JESS: Java beans compare

2004-06-24 Thread ejfried
I think [EMAIL PROTECTED] wrote: > > Hi All, > > I want to write a rule which gets executed when the two bean properties > match. > Any idea how to do? > Well, for the sake of argument, let's say it's the "name" properties of a Bean of class Foo, and one of class Bar, and you've defclassed them

JESS: Java beans compare

2004-06-24 Thread BYALLALA
Hi All, I want to write a rule which gets executed when the two bean properties match. Any idea how to do? Thanks Bhaskar To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [

Re: JESS: Jess DefQuery Help for a newbie

2004-06-24 Thread ejfried
I think Prasath Balakrishnan wrote: > > Can somebody guide me to extract the iterator results of this code > from Jess values to Java values?? First, a word of advice: if you have one short Jess statement to execute from Jess code, by all means use executeCommand(). But if you have a great deal

JESS: Jess DefQuery Help for a newbie

2004-06-24 Thread Prasath Balakrishnan
import jess.*; import java.util.*; public class NewBieQuery { public static void main(String [] argv) throws JessException { // Create engine, define query and data Rete jess = new Rete(); jess.executeCommand("(watch all)"); jes