Answer the question
In order to leave comments, you need to log in
How to properly store data for a java (jar) application?
I wanted to write a program for storing passwords and other information for myself. I would like the resulting application to work without connecting to any server, but use the built-in database. So far, nothing comes to mind except for writing to a file. What do you advise?
Answer the question
In order to leave comments, you need to log in
Such solutions are called "embedded" and there are different topics, for example for java:
For the database, I somehow find H2 and Apache Derby . Both support embedded mode, and seem to have a full set of transactional CRUDs. Also, they are very small in size.
SQLite. Allows you to store information in a file and make sql queries. Most likely there will be a library for java.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question