I know that from the documentation it is possible to send a java object from 
Java to Jess and reading it back in Java:

  Rete r = new Rete();
  Vector vector1 = new Vector();                
  r.store("VECTOR", vector1);
  Value value = r.fetch("VECTOR");
  Vector vector2 = (Vector)value.externalAddressValue(r.getGlobalContext());

My question is: 
(1) how to fetch the vector object in Jess, 
(2) run any method from the object for example the addElement() method again in 
Jess

the need for this is I'm writing a planner according to certain rules in Jess 
and I need the complete result of task sequence in a string stored in the 
vector object.

thanx in advanced for any pointers

rosely

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to