Implementing Modular and Reusable Aspect-Oriented Concurrency Control with AspectJ

Sérgio Soares, Paulo Henrique Monteiro Borba · 2005

Abstract. The advent of information systems based on the World Wide Web increased the impact of concurrent programs. Such increase demands the definition of methods for obtaining safe and efficient implementations of concurrent programs, since the complexity of implementation and tests in concurrent environments is higher than in sequential environments. This paper presents a simple framework that helps to modularize and, therefore, reuse concurrency control concern using AspectJ, an aspect-oriented programming language. This framework was derived from the definition of a concurrency control implementation method that guarantees system correctness without redundant concurrency control, increasing performance and guaranteeing safety. It defines abstract aspects that can be extended to implement concurrency control in several applications. The achieved modularization makes the concurrency control easy to evolve and decreases the complexity of other parts of the software, such as business and data management, by decoupling concurrency control code from them. 1.

Read the paper · More papers on PaperTik