Do anyone know how to popluate xml file to a java object?
xml to java object
Collapse
This topic is closed.
X
X
-
timothy ma and constance leeTags: None -
Marcel Stör
Re: xml to java object
"timothy ma and constance lee" <timcons1@shaw. ca> schrieb im Newsbeitrag
news:2Yb_c.3004 73$M95.121327@p d7tw1no...[color=blue]
> Do anyone know how to popluate xml file to a java object?[/color]
Yes, since 1.4 Java has got XMLEncoder/XMLDecoder to write/read objects to
XML files. Have a look at
http://java.sun.com/j2se/1.4.2/docs/...MLEncoder.html
Regards,
Marcel
-
Peter Gerstbach
Re: xml to java object
timothy ma and constance lee wrote:[color=blue]
> Do anyone know how to popluate xml file to a java object?
>
>[/color]
Search Google for "XML Data Binding"!
Some free products:
- Castor: http://www.castor.org/
- JAXB: http://java.sun.com/xml/jaxb/
- http://jbind.sourceforge.net/
Or visit rpbourret.com for more links:
Peter
Comment
Comment