Is there an easy way using a library to facilitate the synchronization of two hibernate instances. One running locally on a client and one running on a central server exposed via a web service.
So Client tracks changes it makes, pushes them to the Server. The server ensures that the clients is not updating out of sync objects and stores the clients changes.
The Client can also sync with the Server so that it can see the changes made by other clients.
The idea is that the client can be run offline, without access to the server and only come online to synchronize when needed.