Uses of XML

XML is used for a variety of purposes wherever data must be defined in an open, platform-neutral, and application-neutral manner. XML is also language-independent and can be used with C, C++, Visual Basic, or any other language that has the required parsing and transformation libraries.

XML is now widely used to exchange information in business-to-business (B2B) applications and for formatting data for presentation. It has also become something of a standard for configuration files, describing properties for an application (for example, the configuration file for log4j as we saw in Chapter 13, and the properties file for EJB deployment with J2EE).

XML allows a data document to be formatted once and then presented using different formats. ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.