RE: JESS: Serializing Userfunctions

2006-09-22 Thread Adair, John
Of course making the inner class static would probably have done the trick, as then the inner class instances wouldn't hold a reference to an instance of the outer class. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henrique Lopes Cardoso Sent: Friday,

Re: JESS: Serializing Userfunctions

2006-09-22 Thread Henrique Lopes Cardoso
Just found out what the problem was. I was defining my Userfunction as an innerclass of the main class where I had the Rete instance. That main class was not Serializable, and that was the class getting the NotSerializableException. Something like this: class M { Rete jess; cla

Re: JESS: Serializing Userfunctions

2006-09-22 Thread friedman_hill ernest j
I think Henrique Lopes Cardoso wrote: > > Just stating the class to be Serializable made it work, that is, bsave() > does not complain anymore and after bload()ing the functions work as > expected. > > I then tried with a simpler example, which got me the > NotSerializableException again... N

JESS: How to use a relational database as facts

2006-09-22 Thread malaka
Hi all, I'm currently doing a research on Jess.But im still a beginer to jess,I want to use a relational database as the storage of facts.So how to convert the data in the database to facts in jess.Can anyone tell me the way thank u malaka, -- View this message in context: http://www.nab

Re: JESS: Jess Bug Hunt Update

2006-09-22 Thread Henrique Lopes Cardoso
I have done something similar to what your FilteringIterator is probably doing. I get all deftemplates using listDeftemplates(), and then iterate through the Deftemplates comparing the result of getModule() with the module I am looking for. Henrique friedman_hill ernest j wrote: I think Henr

JESS: Fact Storage Provider Framework : Examples

2006-09-22 Thread malaka
Hi everyone, Can any one has some examplel of how to use Fact Storage Provider Framework it will be great.I'm currently going through the doks.But if some one has some additional info please let me know Thanks in advance, malaka ([EMAIL PROTECTED]) -- View this message in context: http://w