Storing the data in an XML file

Hi all,

I have designed an application that uses XML as the storage instead of database.

I think searching for a particular element in an XML file is complex, and other than that I am not seeing any problem.

So I need u guys view points on this "usage of data in an XML file".

Thanks in advance

Mithun

[339 byte] By [MithunKa] at [2007-10-2 8:15:25]
# 1

> I have designed an application that uses XML

> as the storage instead of database.

Ok.

> I think searching for a particular element in an XML

> file is complex, and other than that I am not seeing

> any problem.

You could abstract that complexity away behind an Adapter.

> So I need u guys view points on this

> "usage of data in an XML file".

It depends on the nature and format of that to determine if it's a good idea.You need to consider a number of factors when deciding how to persist data. How much data is there, how often does the format and/or semantics of that data change, how is the data presented or processed. What is the lifetime of that data, what is the ratio of writes to reads. what is the access scope of the data, how secure does the data need to be.

Finding the most appropriate format for data is oten more important than finding the most appropriate algorithm for a program, since data often has a longer life time that the programs that access it.

MartinS.a at 2007-7-16 22:13:03 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
http://www.xml.com/pub/a/2003/10/22/embed.html http://exist.sourceforge.net/ http://www.15seconds.com/Issue/010409.htm
mchan0a at 2007-7-16 22:13:03 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
Hey BuddyCan u tell me how to store data into EXCEL from a jps page.Plz.....THanking in anticipation
help_eachothera at 2007-7-16 22:13:03 > top of Java-index,Other Topics,Patterns & OO Design...
# 4
delimited file, or http://jakarta.apache.org/poi/
mchan0a at 2007-7-16 22:13:03 > top of Java-index,Other Topics,Patterns & OO Design...
# 5
http://www.ftponline.com/channels/java/2006_01/dvohra/
mchan0a at 2007-7-16 22:13:03 > top of Java-index,Other Topics,Patterns & OO Design...