Subject: ACL from static context?
From: Minor Gordon (email@example.com)
Date: Sat Aug 24 2002 - 03:28:50 MET DST
I'm trying to write an interface between the agent platform and Oracle.
Oracle can Java classes in to its JVM, and functions on them can be called
from PL/SQL (stored procedures, etc.). This is rather useful. However,
the nature of this beast is that Oracle never actually instantiates the
classes -- it only calls static methods on them. Thus far I've gotten an
agent container within Oracle to connect to the main container outside, by
calling a static method which created an instance of the Runtime, created
a container, etc. according to the basic example.
What I'm wondering is this: is there any way to send an ACL message from
the agent container, without instantiating an agent? Doing so could get
really ugly -- creating the agent from the static function, then calling
methods on it from another function to send messages. I'm sure this is
possible (though I haven't tried it yet), but is there any easier way. To
construct and send an ACL message without going through agent (which is
merely acting as a proxy?). I suppose I could create the message
and send it manually, but I'd much rather soon use JADE, so that I can
be sure the agents outside understand it.
This archive was generated by hypermail 2a22 : Sat Aug 24 2002 - 03:26:30 MET DST