I think x xu wrote: > Thanks! Does Jess 6.0 work with JDK1.1 ? >
No, not without a little effort. It uses java.lang.ThreadLocal, a Java2-only feature, and it also uses the Collections APIs. You can get a version of the Collections stuff for JDK 1.1 and could change some import statements in Jess to get that part to work. ThreadLocal is actually a pretty simple class that can be implemented for JDK 1.1, but I don't know of an available implementation out there -- so you'd have to write one, or hack Jess so that it isn't needed. > --- [EMAIL PROTECTED] wrote: > > You're probably using some version of Jess 5.x. The > > capability you're > > looking for didn't exist until Jess 6.0. > > > > I think x xu wrote: > > > Dear Jess Users, > > > > > > I am trying to embed a Rete engine inside a mobile > > > agent and I want to restore the Rete engine to the > > > exact same status when the agent travels to a new > > > computer.But I found the Rete engine didn't > > serialize > > > its fact list. Any solutions? Thanks > > > > > > Xiangjun Xu > > > > > > I have attached an example below. > > > > > > //=============================================== > > > Rete engine; > > > // ... > > > ByteArrayOutputStream mem= new > > > ByteArrayOutputStream(); > > > ObjectOutputStream out = new > > ObjectOutputStream(mem); > > > out.writeObject(engine); > > > byte[] engdata = mem.toByteArray(); > > > out.close(); > > > engine.executeCommand("(facts)"); > > > > > > ObjectInputStream in = new ObjectInputStream(new > > > ByteArrayInputStream(engdata)); > > > engine = (Rete)in.readObject(); > > > in.close(); > > > engine.executeCommand("(facts)"); // show "0 > > facts"! > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Sports - live college hoops coverage > > > http://sports.yahoo.com/ > > > > > > > > > -------------------------------------------------------------------- > > > To unsubscribe, send the words 'unsubscribe > > jess-users [EMAIL PROTECTED]' > > > in the BODY of a message to [EMAIL PROTECTED], > > NOT to the list > > > (use your own address!) List problems? Notify > > [EMAIL PROTECTED] > > > > > > -------------------------------------------------------------------- > > > > > > > > > > > > --------------------------------------------------------- > > Ernest Friedman-Hill > > Distributed Systems Research Phone: (925) > > 294-2154 > > Sandia National Labs FAX: (925) > > 294-2234 > > Org. 8920, MS 9012 > > [EMAIL PROTECTED] > > PO Box 969 > > http://herzberg.ca.sandia.gov > > Livermore, CA 94550 > > > > > -------------------------------------------------------------------- > > To unsubscribe, send the words 'unsubscribe > > jess-users [EMAIL PROTECTED]' > > in the BODY of a message to [EMAIL PROTECTED], > > NOT to the list > > (use your own address!) List problems? Notify > > [EMAIL PROTECTED] > > > -------------------------------------------------------------------- > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Sports - live college hoops coverage > http://sports.yahoo.com/ > > -------------------------------------------------------------------- > To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' > in the BODY of a message to [EMAIL PROTECTED], NOT to the list > (use your own address!) List problems? Notify [EMAIL PROTECTED] > -------------------------------------------------------------------- > --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 [EMAIL PROTECTED] PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------