Martin Klang | 2 Jan 2007 19:59
Picon
Favicon

Re: Java agents call functions

Hi Francisco,

You can call o:XML functions using the internal Java API [1].

All o:XML objects implement the org.oXML.type.Node interface, which  
includes the function
     public Node invoke(Name name, Node[] args)
         throws ObjectBoxException;

This only works within the context of an o:XML program being  
executed, so how you would actually call this method depends on how  
you are running the program.

I can probably provide an example if you could pls explain how your  
system works - eg How do your software agents and the o:XML program 
(s) interact? Are they executing concurrently in different threads,  
or one after the other? Do the agents invoke the o:XML programs, or  
vice versa?

best regards,

/m

[1] http://www.o-xml.org/docs/java-api/

On 30 Dec 2006, at 13:48, Francisco wrote:

> Dear All,
>
> I am a newbie of O:XML. Our project needs to software agents  
> (written in Java) to call the functions predefined in this O:XML. I  
> am wondering if this can be implemented with o:xml?  since java  
> parser could read the data value, I am keen to know if the function  
> in o:xml can be invoked?
>
> Thank you for your reply in advance.
>
> Kind regards,
> Francisco
> Send instant messages to your online friends http:// 
> uk.messenger.yahoo.com
>
> _______________________________________________
> o-xml mailing list
> o-xml@...
> http://lists.pingdynasty.com/mailman/listinfo/o-xml

Gmane