We'd like to use a more peer to peer style network rather than our current client-server model. ie allow retail branches to not be dependant on the server being up to trade.
The issues with this are data locking and replication. Is there a framework that can assist with this? Jbosscache has locking/replication but how would that go with a network spanning large geographic region where not all regions could online all the time. ie editing of the same data
The fact that all regions where not online at the same time wouldn't be a problem. When a new store comes in, it could retrieve the state from a persistent store or from another node in the cluster.
How many retail branches are we talking about here? What type of data would these retail branches share? What type of network links the different branches?