Technological Meaning of Java Architecture for XML Binding
-
Graphical Abstract
-
Abstract
For sake of revealing the technological meaning of Java Architecture for XML binding (JAXB), this article analyzed the development background of the API to unveil its technological essentials, then discussed the mechanism, core components and key manipulations for binding procedure, i.e. to bind Schema of XML with binding compiler to generate classes and interfaces derived from Schema for compiling; to instantiate the classes derived from the Schema into content objects to express the content and structure of XML files for direct access by application program during the unmarshalling procedure; before generating a content tree, the unmarshalling procedure can optionally validate XML files; by means of interfaces generated from the compiler, client application can modify XML data expressed by the content tree; the treated content tree can be marshaled into one or more kinds of XML output files. Finally the author pointed out a considerable application perspective of the API in development of Web services and network applications by a typical instance.
-
-