Concurrent Access to Complex Entities

In this paper we present a way of controlling the concurrent access to data in a distributed application using the Pessimistic Offline Lock design pattern. In our case, the application processes a complex entity, which contains in a hierarchical structure different other entities (objects). It will be shown how the complex entity and the contained entities must be locked in order to control the concurrent access to data.

Authors:



References:
[1] Martin Fowler, "Patterns of Enterprise Application Architecture",
Addison-Wesley Professional, 2002, pp. 64-65
[2] Martin Fowler, "Patterns of Enterprise Application Architecture",
Addison-Wesley Professional, 2002, pp. 416-425
[3] Martin Fowler, "Patterns of Enterprise Application Architecture",
Addison-Wesley Professional, 2002, pp. 426-437
[4] Cosmin Rablou, "Processing complex entities in MVC applications",
World Academy of Science, Engineering and Technology, Issue 62,
February 2012, Florence, Italy, pp. 2549.
[5] Glenn E. Krasner, Stephen T. Pope, "A cookbook for using the modelview
controller user interface paradigm in Smalltalk-80", Journal of
Object-Oriented Programming, August/September 1988, pp. 26-49.
[6] Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, "Design
patterns: elements of reusable object-oriented software", Addison
Wesley, 1994, pp. 127-134.