From: Christoph W. <e93...@st...> - 2003-08-08 10:22:19
|
Hi, >>One question about the serialisation which is done in RssSettings. >>Does it break the old stored configuration, after you've >>added/removed some settings? >> >>Did you try it out? I was never asking myself how Java is doing >>serialisation. >> It's done with JavaBeans XMLSerializer and not the old-fashioned serialization methods. It tries to create beans set all attributes via set and returns the bean object to you - it's very stable even if you remove or add fields. Properties that are stored in the file and are not present in the Bean any more are ignored (an Exception is thrown) and all further attributes are read - very handy mechanism... >One more question. The articles are all persistant now. I think, we >should provide the users with an option to clean the database, if >they want it. Just to make sure that users with small disk quotas >and small partitions are not annoyed. And it "feels" better when >you have more control about what's being hold in the database. > > I've currently about 1500 articles in my db and it needs 190kb disk space :) The control would be useful - you're right - I don't have really much time in the moment. Ciao Christoph -- Christoph Walcher Email: chr...@we... Max-Winter-Platz 7/16 Tel: +43 (1) 9460866 A-1020 Vienna Mobil: +43 (699) 194609867 |