I am looking at caching the gadgetSpec so that we can avoid the
expensive Xml Parsing everytime the gadget manifest is fetched [either
remote / from cache]. I see that most of the fields in gadget spec are
private - and it doesn't implement serializable.. So, i am pretty much
left with java reflection if I want to serialize gadgetSpec. which
would then involve extending the same technique for all other objects
like ModulePref, UserPref etc..
Are there any plans to make the gadgetSpec and related classes implement
Serializable.. ?
Any other suggestions.. or thoughts around this ? ..
Thanks
Kevin Brown wrote:
The simple answer is that we haven't yet had any real need to serialize it
(though some caching implementations might benefit from this).
On Fri, May 30, 2008 at 3:42 PM, Viji Subramanian <
[EMAIL PROTECTED]> wrote:
Is there a reason why GadgetSpec is not serializable ? why doesn't it
implement serializable ?