This is pretty much exactly what I do as well. Just didn't know if there was a "better way" of doing this and managing the cache.
Depending on how you're using these things: http://webobjects.mdimension.com/wonder/api/er/extensions/eof/ERXEnterpriseObjectCache.html#ERXEnterpriseObjectCache(java.lang.String,%20java.lang.String,%20com.webobjects.eocontrol.EOQualifier,%20long,%20boolean,%20boolean,%20boolean)
This automatically stays up-to-date as the object graph changes. I've only used this for app-global caches, but you should be able to use it per-instance if you really wanted to. Certainly if you're going to try to keep your custom cache up-to-date, you might as well use it.
ms _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
