V
V
vvsh2012-07-29 04:19:04
Java
vvsh, 2012-07-29 04:19:04

where to store javafx application data on client?

I am writing an application (a Skype-like chat)
, so the question arose:
where is the easiest place on the client to safely store authorization data (login, password hash so that they cannot be transferred from one client to another), as well as chat data (messages, call history etc.), preferably, but not necessarily, in the form of objects.
I tried the database built into java (derby), but it needs a server, and this is not suitable, I would like a simple storage similar to how SQLite files are stored, the entire database is in one file.
serialization is not suitable, because you need to secure the data.
thanks in advance

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
egorinsk, 2012-07-29
@egorinsk

> serialization is not suitable, because you need to secure the data.
So, you need to encrypt them before recording. But it is obvious that if the program can decrypt them, then no one bothers to extract the algorithm and decryption key from it. That is, there will be protection only from the "teapot".

O
Ololesha Ololoev, 2012-07-29
@alexeygrigorev

What's not to like about SQLite? More offhand - H2, HQLDB; from nosql - OrientDB, Neo4J.

Z
zloyreznic, 2013-09-12
@zloyreznic

OrientDB, Neo4J
who worked with this?
out of the box you can create a base?
not to raise the server - as in HSQLDB for example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question