JAXB 2.0 vs JAXB 1.0
Under the BindMark project (https://bindmark.dev.java.net/) roadmap, JAXB 2.0 has been added to the list of binding frameworks. Although the evaluations are being done on a single XSD and on relatively small XML (this will be amended in the future), a number of interesting observations were made:
1. The total size of runtime JARs has been reduced from 2.4MB to 624KB
2. The time performance has improved by 16% in marshalling and 14% in unmarshalling
3. The memory performance after the first run has improved by 11%.
4. The startup memory performance has deteriorated by a factor of 4-6 (different numbers in marshalling and unmarshalling). This is solely due to huge allocation of 5.5MB (82440 objects) in the constructor of JAXBContext.