advertising information
   personal technology

 custom news
 Headline News brief
 daily almanac
 CNN networks
 CNN programs
 on-air transcripts
 news quiz

CNN Websites
 video on demand
 video archive
 audio on demand
 news email services
 free email accounts
 desktop headlines

 message boards





Sun extends Java to support XML

March 26, 1999
Web posted at: 8:36 a.m. EST (1336 GMT)

by James Niccolai

(IDG) -- Sun Microsystems has announced it is creating an extension for the Java platform to provide support for the Extensible Markup Language (XML). The company said this move will make it easier for developers to build applications that integrate the two technologies.

The extension will take the form of a standard API that will be developed using the Java Community Process, which takes input from multiple vendors to define Java standards.

 JavaWorld home page
 Reviews & in-depth info at's programming tools page's Java page's personal news page
  Questions about computers? Let's editors help you
  Subscribe to's free daily newsletter for developers and technical experts
 Search in 12 languages
 News Radio
  Fusion audio primers
  Computerworld Minute

XML is used to create documents that are distributed over networks such as the Internet, and is sometimes seen as a successor to HTML. While HTML describes only how a document is formatted, XML provides more complete information about the data, making it a more flexible tool.

Several XML proponents -- including Sun, IBM, and Microsoft -- have already developed programs that allow applications written in Java to read XML. Sun's goal is to define a standard that will ensure that those programs, known as "parsers," will all work together, said Nancy Lee, Sun's senior product manager for XML.

"There are a lot of different implementations out there at the moment. [A common extension for XML] will benefit enterprises because they'll be able to count on this API to be stable and secure, and they needn't be concerned about incompatibilities with each vendor using a proprietary parser," Lee said.

XML also offers a standard format for exchanging data between businesses and could help lower the cost of developing applications for electronic commerce, supply-chain management, and other programs that rely on business-to-business communications, Lee said.

"That's the promise of XML, but there's still a lot of work to be done," Lee said. For starters, vertical industries need to define common vocabularies for the information they want to exchange, she said.

The extension for XML will provide standard classes to generate and manipulate XML, as standard extensions should be available for just about every Java platform, Lee said.

"Developers won't need to build these classes themselves, and XML documents won't be as bulky as they might be because we won't need to include these classes in the application code," said Anne Thomas, senior consultant at the Patricia Seybold Group in Boston.

Sun has outlined an initial version of the XML extension, which provides basic functionality, including the capability to read, manipulate, and generate XML-based data streams and formats, the company said. That version will provide a starting point for the Java Community Process.

James Niccolai is a correspondent for the IDG News Service in San Francisco.

In search of XML -
March 19, 1999
Will Sun be last to join the Linux party?
March 13, 1999
Vendors support Java spec to link appliances via Internet
March 3, 1999
IBM offers speech extension to XML
February 19, 1999
Sun waits for New Year to open Java licensing model
December 21, 1998

XML for the absolute beginner
Software AG details XML server plans
(Windows Tech Edge)
There is more to XML than roll-your-own HTML
IBM taps XML for bigger role in app dev
(InfoWorld Electric)
XML explodes on the scene: Vendors rush to release tools
(InfoWorld Electric)
Palm-size XML tool to be available free
(InfoWorld Electric)
Voice XML will let you phone the Web
(PC World Online)

Note: Pages will open in a new browser window
External sites are not endorsed by CNN Interactive.

Sun Microsystems Inc.
Sun's Java and XML page
World Wide Web Consortium (W3C) XML Page

Note: Pages will open in a new browser window
External sites are not endorsed by CNN Interactive.

Enter keyword(s)   go    help

Back to the top   © 2001 Cable News Network. All Rights Reserved.
Terms under which this service is provided to you.
Read our privacy guidelines.