Completely new to object databases
Hi, I really need help with getting an object database up and running for java. Currently I'm using text files and parsing them with my own code, but every time I add a new feature, I usually have to code something new. Essentially, I am creating a videogame with the intention of learning more about Java.
What I need to understand is, how can I take Object myobject (such as a HashMap, JLabel, or ANYTHING) and write it into 'file.xyz'. Then I want to be able to reopen that file with a command such as JDatabase.openFile('file.xyz') which returns myObject.
I'm hoping there's a simple way to do this... Thank you!

