I want to develop a program, using derby as a back-end.

There will be a POS and a Warehouse module. They will use the same database scheme, but they cannot use the same database because of reliability (in case of broken connection the POS must not stop).

So my question is: how to develop such a reliable workflow? Replication? Or maybe there are some other options? If replication - how to implement it? Are there any existing methods to replicate derby database?

Thank you!

по краям