S
S
ssrdop2015-12-25 10:58:06
Java
ssrdop, 2015-12-25 10:58:06

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

2 answer(s)
Z
Zakharov Alexander, 2015-12-25
@ssrdop

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.

F
Fedor Kolov, 2015-12-25
@d_f

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 question

Ask a Question

731 491 924 answers to any question