This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes xml vs database 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 "xml vs database" Watch "xml vs database" New topic
Author

xml vs database

ray bond
Ranch Hand

Joined: Oct 11, 2000
Posts: 111
in what cases xml is used instead of database , usually database is faster and big records can be stored and retrived , updated very fast with database then how xml can come near to datbase??
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
XML is essentially just a data transfer format, and has very little to do with storage, so you can't really compare XML with a database. Many systems use the two together, storing chunks of XML in the database, specifying database queries in XML, formatting retrieved data in XML and so on..
An XML file may be a better choice than a database if the data is small, fundamentally hierarchical and doesn't change much. This is why a lot of applications store their configurations as XML files.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Solomon Habtom
Greenhorn

Joined: Jan 13, 2001
Posts: 5
Hi folks ,
I don't see any reason Y XML can't replace databases.Some of the conserns can easily get answered soon.I am not in to databases
well but after studying about XML .... I know It will be soon.
You got to also see CB analysis of the programms...
bye
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml vs database
 
Similar Threads
can we access xml data returned by database in JPA
xml as database for java
How to do XML to DB using Message Driven Bean?
XML data collection
Can we say xml is a client database ?