J2EEOnlineJ2EE





XML Programming  «Prev  Next»
Lesson 7Using XML
Objective Describe approaches to using XML.

Describe Approaches to using XML

XML promotes easy data exchange and because XML documents are text-based documents, they can be easily created, manipulated, stored, and transmitted.
There is no need to worry about any proprietary data formats, one of the problems that hindered the easy exchange of data between applications. XML documents can also be easily distributed and displayed on the Web.

XML uses beyond the Web

XML documents contain data inside custom tags that describe the data. Once an XML document is created, it may be shared to take advantage of the data content or rendered by multiple devices. The same XML document may be viewed on browser, a Personal Digital Assistant (PDA), or a cell phone. In each case, the XML document will transformed so that it can be viewed in the respective device. For example, there are software programs that will transform an XML document into an HTML document so that the later may be rendered by a browser.
This creates an environment where pervasive computing becomes a real possibility: the same XML document is transformed and viewed by many different devices.



Pervasive Computing consisting of Cell Phones, web browsers, PDAs, and servers.
Pervasive Computing consisting of Cell Phones, web browsers, PDAs, and servers.

XML as a metalanguage

With XML, one can create customized markup languages that are also extensible. Many such languages are appearing in vertical business domains. Here are some examples:
  1. Financial Exchange (IFX)
  2. Bank Internet Payment System (BIPS)
  3. Telecommunications Interchange Markup (TIM)
  4. Product Data Markup Language (PDML)
  5. Financial Information eXchange Protocol (FIX)
The next lesson concludes this module.
XML Advantages