By mswatcher
via en.newinstance.it
Published: Aug 07 2010 / 06:34
Converting JavaBeans to XML and viceversa is quite a common task, and there are tons of libraries around for this purpose.
But I always like to use what is already available in the JRE, avoiding dependencies as much as possible.
In the past I and Simone developed a rest API using the JSR57 serialization, that was already available in the Java 5. But Java 6 included JAXB in the standard libraries, which is more modern and flexible, and gives you a better control over the XML translation process.
Add your comment
Voters For This Link (15)
-
mswatcher -
vgupta -
bwei -
aclarke -
Najdorf -
leoOT -
tsanand129 -
franksalinas -
sr_bean -
mich.barsinai -
agnus -
jrandol -
myfear -
jsugrue -
michele.mauro