I have a program which simulates buying and selling, at the moment I have a couple of buttons which simulate the buying and selling of a couple of products, though I am thinking of extending this concept to have a database which stores a greater variety of products which can be called by the program. How can I implement/create a database in Java?
--- Update ---
I'll try something files based instead.