A Model Transformation in Model Driven Architecture from Business Model to Web Model
Total Page:16
File Type:pdf, Size:1020Kb
IAENG International Journal of Computer Science, 45:1, IJCS_45_1_16 ______________________________________________________________________________________ A Model Transformation in Model Driven Architecture from Business Model to Web Model Yassine Rhazali, Youssef Hadi, Idriss Chana, Mohammed Lahmer, and Abdallah Rhattoy related to a target platform. In practice, automatic Abstract— The models transformation is the fundamental transformation begins from PIM to PSM. However, our key in Model Driven Architecture approach. In Model Driven ultimate aim is to make the CIM a productive level, and a Architecture there are two transformations kinds: the CIM to basis for building PIM through an automatic transformation. PIM transformation and the PIM to PSM transformation. The researchers focused on the transformation from PIM level to The goal is that business models do not remain only simple PSM level, because there are several points in common between documents of communication between business experts and these two levels. However, the transformation from CIM level software designers. to PIM level is rarely discussed in research subjects because In this paper, we present a solution for automating they are two completely different levels. This paper proposes a transformation from CIM level business-based to the PIM model transformation method to master the transformation level web-based. However, we use UML 2 activity diagram from CIM to PIM web-based in accordance with the Model Driven Architecture approach. Indeed, the main value of this to attain concentrated CIM models, which simplifies the method is to propose a transformation from business-oriented transformation to PIM level. Then, we define a set of models to web-oriented models. This method is founded on selected-rules for automating the transformation from CIM building a good CIM level via well-defined rules, allowing us to to PIM. win precious models that facilitate the task of the Our approach is based on UML 2 [2] activity diagram transformation from CIM to PIM web-based. Then, we define a ,which represents one of standards of business model, for set of well- selected rules to move from CIM to PIM web-based so as to ensure a semi-automatic transformation. This method define the CIM level. Then rich business models of well- conforms to MDA recommendations by considering the concentrated information help us to obtain easily models of business dimension in the CIM level, and by modeling this PIM level. First model of PIM level is use case diagram latter level using UML activity diagram which is one of OMG model allows modeling functionalities of the system. Then, standards for modeling business process. Nevertheless, we used the state diagram model defines the states of information UML models into the PIM level, because UML is recommended system. Next, package diagram model allows modeling by MDA in this level. system classes and their relationships independently of a Index Terms— MDA, computer model, CIM, PIM, business programming language, and allows organizing all classes process modeling, model transformation, computer modeling, inside packages. However, these design models contain the business model, web model, web modeling necessary and sufficient information for building web model. Rest of this paper is presented as follows. In section II we analyze the related works concerning transformation from I. INTRODUCTION CIM to PIM. Section III presents our proposal and describes ransformations between different levels of MDA [1] constructing rules of CIM models and transformation rules Tbegin by CIM-to-PIM transformation, which allows allow shifting from CIM models to PIM models. In Section building PIM models from CIM models by adding in CIM IV we illustrate our method in a case study demonstrating the technical information related to system information the construction of the CIM level and its transformation to design. Then, transformation from PIM models toward PSM PIM level. In section V we present model transformation models allows adding in PIM a set of technical information process of our practical case study. In section we presents model transformation process of our practical case study Finally, Section VI, we conclude by specifying outcome of Manuscript received February 20, 2017; revised November 30, 2017. our work and determining future works. Yassine Rhazali is with Department of Computer, Information and Communication Systems Engineering Research Group, Moulay Ismail University, Higher School of Technology, B.P. 3103, 50000, Toulal, II. RELATED WORK Meknes, Morocco. (corresponding author to provide phone: 212- 608550620; e-mail: [email protected]). In this section, we present related works concerning Youssef hadi is with the MISC Laboratory, Faculty of science, Ibn transformation from CIM level to PIM level in MDA [27], Tofail University, Kenitra, Morocco. (e-mail: [email protected]). describing advantages and disadvantages of each method. Idriss Chana, Mohammed Lahmer and Abdallah Rhattoy are with Department of Computer, Information and Communication Systems A transformation from CIM to PIM oriented service was Engineering Research Group, Moulay Ismail University, Higher School of presented by Castro et al. [6]. Authors represent CIM level Technology, B.P. 3103, 50000, Toulal, Meknes, Morocco. (e-mail: by using BPMN [3] for modeling business process, and by [email protected], [email protected], using value model [5] for identifying services from the [email protected]). beginning in the business perspective. Authors use ATL (Advance online publication: 10 February 2018) IAENG International Journal of Computer Science, 45:1, IJCS_45_1_16 ______________________________________________________________________________________ language, for moving towards PIM level; however, this level components of the system. These are shown in the is presented by two extensions of use case model and two component diagram as a first stage in the PIM. Finally, a set extensions of the activity diagram. This approach has the of business archetypes helps to transform the components of advantage of identifying services and business process at system to class diagram. This method proffers interesting CIM level in order to guide a semi-automatic transformation ideas allow to facilitate the transformation from CIM to to PIM level. But authors study is only limited to use case PIM. Nevertheless, this approach uses diagram of use case diagram and activity diagram in PIM level and does not in the CIM level even if it represents the system present the structural view (generally represented by the functionalities. class diagram) that defines the ultimate objective of this Kardos et al. [15] propose an analytical method for level. Nevertheless, the use of activity diagram in the PIM transforming CIM to PIM in MDE (model driven level represent a great inconvenience because this diagram is engineering) [27]. The authors use data flow diagram in the considered one of standards for modeling business CIM level; then they base on the use case diagram for processes. introduce the information system view. This method defines A transformation method from CIM to PIM, based on a model of activity diagram as well as a model of sequence security requirements to represent business perspective in diagram and a class diagram model. The benefit of this CIM is presented by Rodríguez et al. [7]. The authors is approach is the use of several UML diagrams that present based on BPMN notation for modeling business processes different views of the information system in PIM, but this into CIM level; then, they use QVT [12] language to approach does not represent a real business view since it transform CIM in order to obtain class diagrams and use based on DFD in CIM level, and does not clearly describe case in PIM. This approach shows very interesting ideas for transformation rules from CIM to PIM. transforming CIM to PIM into security-oriented field. After this overview on related works about transformation However, this method based only on secure information from CIM level to PIM level, we can divide the works into systems. five types. We note approaches [8], [13] that use model of Hahn et al. [9] is based on engineering services driven by system requirements (as use case diagram) early in the CIM models. The authors represent CIM level through BPMN, level, to facilitate transformation to PIM level. However, then, they use ATL language to move to PIM level other works [6], [9] even if they base on business processes represented in this method by SoaML models. This approach in CIM level, do not establish the structural view (usually apply SoaML, the new OMG standard to model services through the class diagram) in PIM level. Nonetheless, there [26], but this method does not represent the ultimate aim of are methods which aim transformation in a particular area PIM level that is presented in use of one or more structural [7], [14]. Then, there are researches like in [15] that diagrams (as class diagram). establish the structural view in the PIM level and are not Zhang et al. [10] describe a method in that CIM and PIM oriented to a particular field, but the authors do not specify are respectively represented by features and components. rules of transformation. Finally, there are approaches [10], Responsibilities in this approach are considered as [11] which describe precisely the transformation rules, but connectors between features and components to facilitate do not have the models used in the CIM and PIM. transformation between CIM and PIM. Grammel and Kastenholz [11] rely on a DSL connection for manage III. PROPOSED METHOD OF TRANSFORMATION FROM CIM TO traceability in general. Both methods offer solutions for PIM transforming CIM to PIM, while they do not define models A business model describes abstractly how the business is used in CIM and PIM. working. According to our modeling needs we can, more or An approach according MDA, its goal is transforming use less, make different models to describe the same reality. case diagram to activity diagram is represented by Gutiérrez However, we can model business process to improve et al.