|
From: Jaron C. <jar...@se...> - 2001-01-05 12:20:18
|
Hi Chris, > Has anything happened on this front recently? Are you still > interested? There's slow movement occuring on this front, I'm definitely still interested in it, to my mind Enterprise Java provides the best foundation for agent software. I'm producing a new ResourceDb at the moment. I decided against trying to modify the code you sent me, i.e. adding JDBC to the ResourceDb - it was getting far too hacky. Instead, and in the spirit of the new year, the ResourceDb has gone on a crash diet. * All planing resource management code is shifted to a ResourceUtils class * Storage of facts is delegated to a class implementing the new ResourceDbModel interface; there's currently two: - HeapStore : which stores facts in heap memory as normal - DatabaseStore: which stores facts via JDBC persistently As a result the ResourceDb is about 20% of its previous size, it has the same methods, but serves now as an interface between other agent components and the storage model. This approach is much easier to understand, modify and extend. I'll tidy the code and upload the story so far to SourceForge in the next few days. Jaron |