i am making an application using java for which i need an EMBEDDED DATABASE to store the data in a file on a computer.
Earlier i used a .txt file for this purpose in which i used REGULAR EXPRESSIONS to access the required data, but i find it very complicated to use.
Please suggest some ways to do so.
I don’t understand what you expect.
Your options when you want to store data in one place:
Or options when you want to store data in every machine separately:
XML is technique which provide to store application data or configuration in local files in universal format. Reading files is quickly and intuitive.
If you are stubborn and you must store data in something which are called DATABASE use tools like BaseX or eXist (this is Java XML Database). These tools don’t need to be installed – only integrated with app.