my dog learned polymorphism*
The moose likes XML and Related Technologies and the fly likes Why XML?????????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Why XML??????????" Watch "Why XML??????????" New topic
Author

Why XML??????????

Devang B patel
Greenhorn

Joined: Oct 20, 2000
Posts: 6
Hello Friends!
I am Java programmer. I have also gone through JAXP.
But could u please tell why we need xml in real life.
The works we can do with xml the same thing we can do without xml.Can u tell me some points regarding it?
Thanx...
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Here are the most commonly quoted reasons for adopting to XML

  • XML is portable ( and will soon become universal format for )data.
  • It is human-readable itself, without requiring complicated translators/decoders .
  • XML helps separation of content from presentation. XML helps think in the "structure" way rather than the "presentation" way.
  • XML can represent _any_ hierarchical and/or structured data.
  • Since data is portable it eliminates the need for propriety data formats, the data conversions and hence reduces cost of eCommerce transactions.
  • Text-based and hence very light overhead in transportation.
  • Highly extensible - supports user-defined tags.
  • Highly supported - number of parsers, browsers etc all of them adheres to one standard.
  • Parallel technolgies - many of them being developed and standardized DTD, XSL, Parsers etc.

  • Also checkout this excellent article http://java.sun.com/xml/birth_of_xml.html
    Good luck,
    ------------------
    Ajith Kallambella M.
    Sun Certified Programmer for the Java2 Platform.


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Peter Pascale
Greenhorn

Joined: Jan 18, 2001
Posts: 17
Devang - The list above is pretty complete. But I'll add one from personal experience that I think we'll really start to matter. If everything listed above is true (and it pretty much is), then more and more software vendors will support XML integration tools in their products (which they have begun to do). So hopefully we will have an easier time of getting disparate systems to talk to one another. If your database can export XML, and your legacy application has a bolt-on that can read XML, you have a much simpler integration task.
Peter Pascale
 
 
subject: Why XML??????????
 
Similar Threads
Question for David
interface!!!
small applicatioin with Eclipse and XML
calling superclass methods..
XML Schema