469,299 Members | 2,069 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,299 developers. It's quick & easy.

xml to java object

Do anyone know how to popluate xml file to a java object?
Jul 20 '05 #1
2 3527

"timothy ma and constance lee" <ti******@shaw.ca> schrieb im Newsbeitrag
news:2Yb_c.300473$M95.121327@pd7tw1no...
Do anyone know how to popluate xml file to a java object?


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

Jul 20 '05 #2
timothy ma and constance lee wrote:
Do anyone know how to popluate xml file to a java object?


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:
http://www.rpbourret.com/xml/XMLDataBinding.htm
Peter
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ravi Tallury | last post: by
73 posts views Thread by RobertMaas | last post: by
458 posts views Thread by wellstone9912 | last post: by
2 posts views Thread by yeshello54 | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.