File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Converting a DTO object to an XML File
Joined: May 01, 2008
Jul 14, 2011 00:20:28
How would I convert a DTO object to an XML file? The XML file needs to conform to a certain schema.
Joined: Oct 04, 2006
Jul 14, 2011 13:19:39
Create JAXB bean classes from the XML schema and, programmatically, transfer data from the DTO to instances of the JAXB bean classes.
Then serialize to XML.
My free books and tutorials:
Joined: Jul 13, 2008
Jul 14, 2011 13:34:10
SCJP 6.0, SCBCD 5.0, SCDJWS 5.0
subject: Converting a DTO object to an XML File
Process Object --- Design Pattern ???
Java -> XML Binding Tool
java.lang.NumberFormatException: For input string: "139.56"
Difference between PO(page object),PFO(page file object),DAO(data access object) and DTO?
XSD for JPA 2.0
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014