Hi,
on the istruction 

Object theThing = rete.fetch("a").externalAddress()  ;

Java returns an object of type Object.
But I want a specific XXBean and Java can't execute a casting on the object.
Am I missing something?


Thaks 
Alessandro

At 06:42 AM 2/7/00 -0800, you wrote:
>What do you mean exactly by "return to Java some of these objects"?
>The answer depends on what exactly you want to do.
>
>One possibility is to use store and fetch in the other direction:
>
>In Jess:
>  (store a ?something)
>
>In Java:
>  Object theThing = rete.fetch("a").externalAddressValue();
>
>but of course, as I said, this depends on exactly what you want to accomplish.
>
>I think Alessandro Saporiti wrote:
>> I'm developing an application that catches some objects from Java .
>> Here is the code:
>> 
>> ....
>>  rete.store("a", input_utente);
>>  rete.executeCommand("(defclass input_utente InputUtenteBean)");
>>  rete.executeCommand("(definstance input_utente (fetch input_utente)
>> static)");   
>> 
>> rete.store("a", input_utente);
>> rete.executeCommand("(defclass input_utente InputUtenteBean)");
>> rete.executeCommand("(definstance input_utente (fetch input_utente) 
>static)");     
>> 
>> rete.store("a", input_utente);
>> rete.executeCommand("(defclass input_utente InputUtenteBean)");
>> rete.executeCommand("(definstance input_utente (fetch input_utente) 
>static)");     
>> .....
>> 
>> I want to return to Java only some of these objects.
>> How can I do this?
>> 
>> Thank you very much
>> 
>> Alessandro
>
>
>
>---------------------------------------------------------
>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]
---------------------------------------------------------------------

Reply via email to