JAXB again

the relevant stuff is mainly in javax.xml.bind package. include by default in JDK6, versions vary. tools like schemagen are not, so need to be downloaded from jaxb site. basic example: @XmlRootElement(name = “TimedValue”) @XmlType(propOrder = {“value”, “time”}) public class TimeValue { private String value = null; private Date time = null; @XmlElement(name = “value”)¬†¬†public String […]

Read More JAXB again

jaxb basic

OK, today I try to learn JAXB. Let’s forget for a moment that XML generation and parsing is such a trivial task that adding this type of abstraction only makes it 100 times harder to understand, debug and work with. But hey, I am not always given a real choice.. The unofficial guide seems decent […]

Read More jaxb basic