my program currently stores hasmaps of objects which implement mbeans, this data is then stored as a ser file.
I wish to replace this implementation so that the rather than being stored in a ser file i write all the data to an xml.
I have come across XMLEncoder, is it possible to use this to write mbean objects rather than bean objects?
any help you can give me would greatly be appreciated
i have started to use the xml encoder and it seems to work but with one problem. I need to store multiple objects within the xml and encoder.writeObject seems to overwrite the previous content, is there a way of getting around this?