Java and XML
October 18, 1999
Java and XML
The theme of David Wadsworth's (Sun Microsystem) presentation
was essentially the same as the slogan that appears on the
JavaSoft XML site:
"Portable Code, Portable Data". XML provides a
universal syntax and Java is needed to supply the semantics.
(WDVL readers may recall our
1998 article,
XML and Java: The Perfect Pair.)
Sun's goal is "first-class XML support in the Java 2
platform", some of which is
already available,
to a certain degree:
Many of our readers are already familiar with
Java Project X,
which includes the JavaSoft XML Parser with SAX and DOM
support.
Wadsworth discussed Sun's development of an
XML Standard Extension to Java.
A draft of the spec is due Q399 (about the time this article
appears).
A Public release of the full spec is due Q499.
Presumably, this will be announced on the
Java Standard Extensions Overview page.
The future of XML in
Java 2 Platform, Enterprise Edition (J2EE)
includes:
- XML Query usage in Enterprise JavaBeans
- XML message in Java Message Service
- XML syntax and pre/post filtering XSL/XSLT support for JavaServer Pages
Wadsworth's presentation contained many slides on the topics
"Schemas Add Meaning to XML" and "Working with
XML in Programs". These topics led to "Binding
XML to Programs", which refers to the previously
announced
XML Data Binding Specification.
which states (in a
PDF document from July 1999):
Data binding automatically maps the components of an XML
document to in-memory objects that represent, in an obvious
and useful way, the document's intended meaning according to
its schema. This allows Java programs that manipulate XML
content to be written at the same conceptual level as the
content itself, rather than at the level of parser events or
parse trees. The proposed specification will describe two
components: marshalling framework and a schema compiler.
This concludes WDVL's coverage of XML World'99.
Watch our home page and our
XML Articles and Tutorials page
for an article that focuses on XML for e-Business and
e-Commerce sometime in November.
Escaping Entropy Death: The Imperative of XML and Java
What Happened at XML World?
|