Dear Jörg You're ok!
But have a look at this part of code : *BeanDeclaration bDecl = new XMLBeanDeclaration(xmlConfig, "myBeanNameRootAddress");* *MyBean myBean = (MyBean ) BeanHelper.createBean(bDecl);* Here we have the ability to load a predefined bean out of an XML file. So I thought it must be a simple way to save that bean into the same file ! You know , I’m worry about using another library to save myBean into the file and I can’t load its XMLDeclaration later on. Am I right? On Wed, Feb 16, 2011 at 2:02 PM, Jörg Schaible <[email protected]>wrote: > Hi Moein, > * > Moein Enayati wrote: > ..........* > > This is definitely out of scope for commons configuration. What you're > looking for is a persistence layer that can turn a Java object into XML and > restore it later. This is a classical task for JAXB or something like > XStream. > > - Jörg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
