XML, Java: Are They Siblings or Rivals?

Extensible Markup Language (XML) in many ways augments Java; however, XML is also evolving into an object transport protocol that could undermine Java's claim as a does-all platform.

XML tags Web-based information for recognition by developers and computers, which is necessary because HTML lacks a way to add meaning to content aside from cryptic URLs. XML aims to add that meaning to Web objects -- a task once assigned to Java.

XML lets developers choose between building Web applications or Java systems, said Adam Berrey, US-based product marketing director at Allaire, a maker of Web application servers. All that is needed is a client that renders XML into HTML, not a Java virtual machine (JVM)-based client.

Sun acknowledges that XML can communicate to clients without JVMs, but it claims XML needs Java to reach its potential.

"XML is not useful alone; it is a complement to Java," said Nancy Lee, US-based product manger for XML at Sun Microsystems. "Java provides the portable code to [XML], and XML offers the data for Java."

At December's Java Business Expo, in New York, Sun will demonstrate a Java-based XML parser and APIs that use Java to provide core services to run XML in applications, according to Lee.

XML can create open data that is not dependent on a platform, language, or restrictive formatting convention. If widely adopted, XML could become a de facto standard for communicating content and objects down to clients.

That sounds a lot like what Java does, at least as a content platform. It is just such a role for XML that appeals to Microsoft, which disdains Java's use for purposes other than programming.

"XML lets you exchange information across platforms, not to be confused with writing cross-platform applications," said Dave Wascha, XML product manager at Microsoft in the US.

Join the PC World newsletter!

Error: Please check your email address.

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Dana Gardner

PC World
Show Comments


Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >


Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >


HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >


Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles


GGG Evaluation Team

Michael Hargreaves

Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Kathy Cassidy


First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni


For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell


The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi


The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?