-
1. Re: CacheLoader serialization class change
manik Nov 27, 2007 8:01 AM (in response to jokum)Configuration data should just be primitives, strings, etc., right? Do you also persist custom objects where class definitions change from deployment to deployment?
-
2. Re: CacheLoader serialization class change
jokum Nov 29, 2007 2:31 PM (in response to jokum)Yes we do,
We have a number of small components. These components are deployed on a number of different WebLogic cluster nodes. The components need to be configured at run-time from whitin a central web application. The configuration is stored in a cache whitin the web app and is synchonized to all components running in the cluster.
To simplify the reconfiguration of the component we have chosen to put custom objects in the cache. So we don't use primitive types directly.
Is the use of primitives in the cache the only method to avoid the problem we have?
Thanks,
Johan, -
3. Re: CacheLoader serialization class change
manik Dec 4, 2007 1:00 PM (in response to jokum)For something like this, where the class definitions change from deployment to deployment, the best thing I can think of is to use primitives.