This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
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-2015