Databinding

As our server is implemented in Java and our configuration-files are stored in XML-format, we needed an efficient way to im- and export the Markup-data into Java. The automated creation of representations of XML-data types (and elements, respectively) in other (programming) languages is referred to as databinding). In our case, we use Sun's Java Architecture for XML Binding ([11]), JAXB, to generate Java-classes out of an underlying schema. JAXB also ensures that XML-files are compliant to a given schema, hence, there is no need for an explicit (often time- and performance-consuming) verification of the configuration-files' format. The usage of these JAXB-created classes is further explained in the description of the configuration-package (see section 2.3.2).



root 2006-05-22