JESS: ILOG and Jess

2006-04-05 Thread James C. Owen
[I wrote this several days ago and it dropped through the cracks of the email system.  Nevertheless, I think it still needs to be said.]As an independent consultant who uses various rulebased systems, some are called Business Rule Management Systems, or BRMS, I think I'll have to somewhat agree wit

Re: JESS: Problem with binding fact in rule

2006-04-05 Thread Matthew Hutchinson
Thanks for that. I'm sure I had already tried that, but must of had a typo in there. And yes, it was the simplest of questions - but it must have been the typo. I'm not *that* bad at Jess :-) Thanks, Matt On 4/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I think Matthew Hutchinson

JESS: list from Jess to Java?

2006-04-05 Thread Eunice Palmeira
Hello, I have a problem with LIST using Java and Jess. In Java i have the method in the class 'Order' as follow: public static List orderList(List list, String str) {...} When i call 'orderList' in Java, i write:  Object[] RClist = { new ResultClass("karine", 8, 7, 2, 1, 1),        new Resu

Re: JESS: list from Jess to Java?

2006-04-05 Thread ejfried
The method "orderList" wants a java.util.List. You're passing it a Jess list, an RU.LIST, which is an instance of jess.ValueVector. They're not equivalent. In general, Jess converts RU.LISTs to arrays when calling Java methods; Jess has no special syntax or considerations for dealing with java.util