In the Java World, XML configuration files are almost the first choice, what are the good features of XML?
XML can store a small amount of data, just storage data.
XML can be cross-platform, mainstream various platforms have XML support, real cross-platform,
XML reads faster.
XML is very prescriptive, so that you can better interpret the information in the file.
XML is the most common tool for data transfer between various applications.
XML is not suitable for dynamic languages but is well suited for strongly typed languages. Java is easier to process XML.
XML dependencies are closely related.
XML is ideal for using and describing data, and relational databases support XML.
Historical issues, industry standards formed, not easy to change.
Of course, after the text of the configuration file has a benefit: Text format for easy browsing and modification, easy to maintain later
Why does Java use XML as a configuration file?