Java and XML Basics, Part 1
|
|
|
|
| Articles Reviews XML | |
| Written by Liviu Tudor | |
| Wednesday, 21 March 2007 | |
|
{mos_sb_discuss:24} In a previous article (XML Basics Part One);we had a
brief look at XML. However, as stated in the article, XML itself is
worth nothing without the set of APIs that are generated-it would
simply be just another fancy form of CSV, that is, a proprietary data
format!
My aim in this set of articles is not to actually reveal XML in its every detail, but rather have a look at the implications of XML in today’s technologies. That’s why the previous article only sheds a little light into the insights of XML, which included some terms and technologies you will be confronted with the moment you step in the XML arena. JAXP and the Need for Standards “Man, it does wonders: you take 100k worth of XML and in less than a second it’s all DOM’d up!” "Wow! Now that’s something!" you think. Go back to your programmers and announce, “Guys, this is the future, look into it because that’s the way we’re going!” Two days later your technical leader brings you the report about switching to “tomorrow’s XML parser” and you go all pale. The actual work involved to change all the code to use this (totally) different API is far higher than what the company is prepared to support. In fact, paying the licenses for the old parser is much less expensive! Or maybe it only needs to be validated against a DTD, but without schema support, as you’re not going to use them. Or maybe you are not using them now, but you may want to leave the door open and use them in the future--even though this may mean switching to a different XML parser (as there are still a few out there, including XPath, Apache Crimson, Apache Xerces, and so on). This, together with the DOM API from the W3C provides a portable way to write your Java code for any JAXP-compliant parser. Powered by jReviews |
|
| Last Updated ( Sunday, 08 July 2007 ) | |
| < Prev | Next > |
|---|







