Posted By:
Aron_Murray
Posted On:
Saturday, September 21, 2002 09:58 PM
Ok since nobody answered I have trolled lots of java bean related articals, tutorials and FAQs. To finally find the answer in this sun artical by Philip Milne. Where he states.
If a class has a no-argument constructor and all of its state is exposed in its properties, each of which is independent of the others, ... the default persistence delegate [used by XMLEncoder] will be able to write out all of the state in your object automatically.
So the answer seems to be that it is worth converting them to java beans because for most simple objects its a trivial exercise.