6.2. Modeling Spectrum

When mapping information from traditional (e.g., relational, object-oriented) data models to XML, there is no single right answer. Instead, there is a spectrum of potential approaches. At one end of the spectrum is the custom mapping of individual pieces of information from the database into a "pre-ordained" schema (e.g., an industry standard interchange format). This approach implies significant custom code to perform the mappings between the two loosely coupled schema (that of the database and that of the pre-ordained schema).

At the other end of the spectrum is a "data-dump" of the entire contents of a database with the intention of re-constituting the database with all of its relationships and data intact. This approach ...

Get Enterprise Application Integration With XML and Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.