What kind of object to store changing values?
Guillaume Liegard
guillaume.liegard at gmail.com
Wed Sep 12 07:07:17 EDT 2007
Hello,
I am making a tool to monitor process activities of a host. So I want to
publish a representation of each process on the blackboard and update them
on a regular basis.
My problem is to choose the best kind of objet to represent each process on
the blackboard.
1. Can I use assets as they don't seem to be modifiable and I don't want to
create new objects everytime (garbage collector)?
2. What exactly are Change Reports? Can I use them in this case?
I have seen the method blackboard.publishChange(Object, Collection); but I
don't know how to get back the change reports (when other plugins have
suscribed to this object).
3. Are FrameSets a good way to deal with simple problems like that?
Following a previous mail, I had a look at FrameSets. The mechanism seems
very complex for such a simple problem.
4. Aren't POJOs a good solution for this simple problem? What are the
drawbacks?
Thanks you very much for your advises.
Best regards.
--
Guillaume Liégard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cougaar.org/pipermail/cougaar-developers/attachments/20070912/547171fe/attachment.html
More information about the Cougaar-developers
mailing list