Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create java desktop application with offline and online database, syncing periodically?

Tags:

java

database

I want to create java desktop application, which stores it's data offline in a database (not just some config files). The application should work fine when the user is offline. When the user becomes online, the offline database should be able to sync with the online master.

Any ideas which technologies can be used to achieve this?

like image 501
Hristo Hristov Avatar asked Nov 04 '22 01:11

Hristo Hristov


1 Answers

This has been discussed on stackoverflow a lot and it usually boils down to: don't roll out your own solution - This is a very specialized field - Look up SymmetricDS. It does what you want.

One of my fav discussions is Strategy for Offline/Online data synchronization

like image 170
Ryan Fernandes Avatar answered Nov 09 '22 10:11

Ryan Fernandes