Advertisement

XML Mapping Files

  • Mike Keith
  • Merrick Schincariol
  • Massimo Nardone
Chapter

Abstract

Back in the early days, after the release of Java SE 5, there was a quiet, and sometimes not-so-quiet, debate about whether annotations were better or worse than XML. The defenders of annotations vigorously proclaimed how annotations are so much simpler and provide in-lined metadata that is co-located with the code that it is describing. The claim was that this avoids the need to replicate the information that is inherent in the source code context of where the metadata applies. The XML proponents then retorted that annotations unnecessarily couple the metadata to the code, and that changes to metadata should not require changes to the source code.

Copyright information

© Mike Keith, Merrick Schincariol, Massimo Nardone 2018

Authors and Affiliations

  • Mike Keith
    • 1
  • Merrick Schincariol
    • 2
  • Massimo Nardone
    • 3
  1. 1.OttawaCanada
  2. 2.RR 3RR 3AlmonteCanada
  3. 3.HelsinkiFinland

Personalised recommendations