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 newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Dana Gardner

PC World
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?