Skip to content


  • Open Access

Using AOP to bring a project back in shape: The OurGrid case

  • 1,
  • 1 and
  • 2
Journal of the Brazilian Computer Society11:BF03192380


    The design and development of distributed software is a complex task. This was not different in OurGrid, a project whose objective was to develop a free-to-join grid. After two years of development, it was necessary to redesign OurGrid in order to cope with the integration problems that emerged. This paper reports our experience in using Aspect-Oriented Programming (AOP) in the process of redesigning the OurGrid middleware. The essential direction of our approach was to get the project (and the software) back in shape. We discuss how the lack of separation of concerns created difficulties in the project design and development and how AOP has been introduced to overcome these problems. In particular, we present the event-based pattern designed to better isolate the middleware concerns and the threads. Besides, we also present the aspects designed for managing the threads and for aiding the testing of multithreaded code. We also highlight the lessons learned in the process of regaining control of the software.


    • Separation of Concerns
    • AspectJ
    • Grid Computing
    • Software Reengineering
    • Software Architecture
    • Tests