can anyone throw light on serverless database sort of how applications like windows media player uses in its media library...for a standalone database based app that can be run anywhere without need to configure any database server or app
You forgot the phrase: Depending on your requirements XML is intended to make data transfer between different systems easier. If you are just persisting some data for your own use you are wasting a lot of time and energy converting data from a form your app can use into XML and back again. Depending on our friend's requirements, he may be well served by Using Java Object Serialization Instead of a Database. Unlike XML, his code doesn't have to deal with the particulars of HOW the data is stored, just load a config object from file. Quick, simple, effective. If he has more complex needs, there's lightweight embedded databases like the popular Berkeley Database or even full-scale SQL databases like Apache Derby that can run within the same JVM as an application. [ February 17, 2006: Message edited by: Joe Ess ]
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Sep 16, 2004
Joe Ess and Ilja Preuss you both are right.
Diswajit Goswami, can you just tell more about your application?
Joined: Dec 05, 2005
Thanx for the replies.....so,does windows media plyr and sorts using flat files as database??may be.........i shall be glad if somebody could illustrate using flat files and xml files to perform database operations(i have so long done with database servers basically).........the goal is to have a standalone database intensive app which can be run anywhere by its executable jar .Any good link,code snippets,book??thanx in advance
Joined: Sep 16, 2004
Originally posted by biswajit goswami: Any good link,code snippets
If you really want to execute complicted SQL queries on the data, I'd go with an embedded database.
An OO database might be interesting to look at, too. Haven't used one myself yet, but a friend of mine has had very good experiences using one for small to medium sized data (such as I would expect a media player having to handle).
Yes, u need need to use embedded HSQLDB server itz very compact.. and u can get it for free... and free licenece is provided by them... u can use it with ur application.. just google it man for HSQL DB
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE