Is your application not allowing multiple users to work on a document at the same time? We have a solution and we are ready to share our experience of extending the Desktop application for estimating and managing project costs for large industrial enterprises with a multi-user mode. The principle of this mode is similar to that applied in Google Documents. Now several users can work with the same document in real-time. For this, a Multi-user framework was implemented and applied to the existing application.
The result of our work:
- the application transformation from pessimistic locking to optimistic locking was made and 3 new locking levels were added.
- conflict resolution via Last Write Wins was implemented.
- events passing with help of ActiveMQ was implemented.