You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by starki78 <st...@libero.it> on 2006/01/28 13:34:37 UTC

Need a Class to save Java-beans to XML

Ciao
Is there something already available?
I need to save a bean to xml 
and restore it easily and reliable.


Thank you and nice greetings
Starki


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Need a Class to save Java-beans to XML

Posted by Boris Unckel <bo...@gmx.net>.
starki78 wrote:
> Is there something already available?
> I need to save a bean to xml 
> and restore it easily and reliable.
>   
http://java.sun.com/products/jfc/tsc/articles/persistence4/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Need a Class to save Java-beans to XML

Posted by Martin van den Bemt <ml...@mvdb.net>.
Betwixt (http://jakarta.apache.org/commons/betwixt) can do it, if you want to be in control of the 
format of the xml. Where I don't care about the format I prefer to use xstream : 
http://xstream.codehaus.org

Mvgr,
Martin

starki78 wrote:
> Ciao
> Is there something already available?
> I need to save a bean to xml 
> and restore it easily and reliable.
> 
> 
> Thank you and nice greetings
> Starki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org