JAXB Interviewfragen und Antworten
Question: What are the disadvantages/non-goals of JAXB?Answer: β’ Standardize generated Javaβ classes generated by different JAXB implementations may not be compatible with each other β’ Preserve XML equivalence β unmarshalling XML to objects and marshalling back to XML may not result in equivalent XML β’ Bind existing JavaBeans to schemas β can only marshal and unmarshal classes generated by JAXB β may be added later β’ Schema evolution support β canβ t modify previously generated code to support schema changes β must generated new code β’ Allow generated Java to access XML elements/attributes not described in initial schema β’ Partial binding β unmarshalling only a subset of an XML document breaks round tripping β’ Implement every feature of the schema language β itβ s tough to implement all of XML Schema! β’ Support DTDs β focusing on XML Schema β DTDs were supported in an earlier version, but wonβ t be anymore β tools for converting DTDs to XML Schemas exist |
Zum Wiederholen speichern
Speichere diesen Eintrag als Lesezeichen, markiere ihn als schwierig oder lege ihn in einem Wiederholungsset ab.
Melde dich an, um Lesezeichen, schwierige Fragen und Wiederholungssets zu speichern.
Ist das hilfreich? Ja Nein
Am hilfreichsten laut Nutzern:
- What Is XML Binding?
- What is XML Binding Relationships?
- Please explain JAXB Use Cases.
- Why Use XML Binding?
- What are the goals of JAXB?