Jasmine-AOI: A tool for integrating UML Activity Diagrams
Introduction Download Case Study 1 Case Study 2 Contact us

Case Study 2: The Point-of-Sale Termianl System

   A case study of modeling and integrating crosscutting concerns under this approach is carried out on design models of a point-of-sale terminal (POST) system which is adapted from CoCoME example . The design models consists of 7 activity diagrams described the primary functional features.  The 7 primary functional activity diagrams describe two scenarios (``login'' and ``logout'') performed by cashiers, two scenarios
(``sale'' and ``refund')' performed by the customers, two scenarios (``start up'' and ``shut down'') performed by the managers, and one
scenario (``add new user'') performed by the system administrators. With inspecting of those functional scenarios we distilled 7 aspect modelss which crosscutting across the primary features and construct a pair of pointcut and advice models for each of the 7 crosscutting concerns. The advice models are fully reused from bank case study. Table 1 lists the priority, the name, advice type, occurrence count, and description the 7 crosscutting concerns. The relationship between the aspect and the primary models are summarized in Table. 2, and the change of elements number in the primary models are in Fig. 1. ( The details of primary models, aspect models and integrated models could be found the appendixes of user manual)

  It can be found from the summary of elements in Fig. 1 that elements relate to crosscutting concerns account for a large proportion. As a result, separate crosscutting concerns from primary concerns reduced the complexity of primary models. Furthermore, it’s obvious in Table.2 that the 7 pairs of templatized security concern models reused 23 times pervading the 7 primary models. This results indicate the feasibilityof reusing aspect models through this aspect-oriented modeling and integrating approach.

 Table 1. Crosscutting concerns in the POST system

Table 2. Matrix of crosscutting concerns crosscut primary models of the POST system

 

  Fig.1 Summary of elements number in the primary and integareted models of the POST system


©2007 SEG NJU Homepage IntroductionDownloadCase Study 1 Case Study 2Contact us