Combining UML Class and Activity Diagrams for MDA Generation of MVC 2 Web Applications

(*) Corresponding author

Authors' affiliations

DOI's assignment:
the author of the article can submit here a request for assignment of a DOI number to this resource!
Cost of the service: euros 10,00 (for a DOI)


Model transformations are increasingly gaining attention in software design and development. Model transformation plays a key role in Object Management group (OMG) Model Driven Architecture (MDA) initiative. In this paper, we experience a high level modeling method based on MDA to generate MVC2 web model for an E-commerce web application. This idea is based on the fact that the source metamodel is composed by two metamodels which are:  the class diagram and activity diagram. In order to model the internal logic of a complex operation and accurately determine the input jsp page of an Action class and all ingredients of this class, we begin by identifying the operations in view to establish the activity diagram for each operation. After modeling, we implement the transformation rules. These rules are expressed in ATL transformation language. In our algorithm, we consider only the operations belonging to the two diagrams already cited. Practically, we transform only the operations that have an activity diagram and belonging to the class diagram. The MVC2 web model generated can effectively simplify the development processing with less time and cost.
Copyright © 2013 Praise Worthy Prize - All rights reserved.


MDA; ATL Transformation; MVC 2 Web; E-Commerce; CIM; PIM; PSM; Metamodel

Full Text:



OMG Model Driven Architecture, document update/2012-06-27, ( (Accessed 26 July 2012).

X. Blanc, MDA en action: Ingénierie logicielle guidée par les modèles (Eyrolles, 2005).

S. J. Mellor, K. Scott, A. Uhl and D. Weise, MDA Distilled: Principles of Model-Driven Architecture (Addison-Wesley, 2004).

L. MENET, Formalisation d’une Approche d’Ingénierie Dirigée par les Modèles Appliquée au Domaine de la Gestion des Données de Référence. PhD thesis, Université de Paris VIII, Laboratoire d’Informatique Avancée de Saint-Denis (LIASD), école doctorale: Cognition Langage Interaction (CLI), 2010.

F. Jouault, F. Allilaire, J. Bézivin and I. Kurtev, ATL : A Model Transformation Tool, Sciences of Computer Programming-Elseiver, Vol. 72, n. 1-2, pp 31–39, 2008.

Omg/mof Meta Object Facility (mof) specification, omg document ad/2012-06-27, (Accessed 26 July 2012) ( jet_tutorial2.html. (Accessed 25 July 2012).

S. Mbarki, and M. Erramdani, Model-Driven Transformations: From Analysis to MVC 2 Web Model, (2009) International Review on Computers and Software (IRECOS), 4 (5), pp. 612-620.

OMG Unified Modeling Language (OMG UML), Infrastructure OMG Document Number: formal/2010-05-03 (Accessed 10 August 2012).

Kraus, A., Knapp, A., Koch N., Model-Driven Generation of Web Applications in UWE, Proceeding of the 3rd International Workshop on Model-Driven Web Engineering, CEUR-WS, Vol. 261, 2007.

Koch, N., Transformations Techniques in the Model-Driven Development Process of UWE, Proceeding of the 2nd International Workshop Model-Driven Web Engineering, Palo Alto (Page: 3 Year of publication: 2006 ISBN: 1-59593- 435-9).

F. Jouault, F. Allilaire, J. Bézivin, I. Kurtev, ATL: A model transformation tool, Science of Computer Programming-Elsevier Vol. 72, n. 1-2: pp. 31-39, 2008.

Bezivin, J., Hammoudi, S., Lopes, D., Jouault, F., Applying MDA approach for web service platform, In EDOC’04 preceedings of the 8th IEEE International Entreprise Distributed Object Computing Conference, pages 58-70, 2004.

Bezivin, J., Busse, S., Leicher, A., Suss, J.G, Platform Independent Model Transformation Based on TRIPLE, In Middleware’04: Proceedings of the 5th ACM/IFIP/USENIX International Conference on Middleware, pages 493- 511,2004.

T. D. Ndie, C. Tangha1, F. E. Ekwoge, MDA (Model- Driven Architecture) as a Software Industrialization Pattern: An Approach for a Pragmatic Software Factories, Journal of Software Engineering & Applications, pages 561-571, 2010.

Cong, X., Zhang, H., Zhou, D., Lu, P., Qin, L., A Model- Driven Architecture Approach for Developing E-Learning Platform , Entertainment for Education. Digital Techniques and Systems Lecture Notes in Computer Science, Volume 6249/2010, 111-122, DOI: 10.1007/978-3-642-14533-9_12, 2010.

E. Soler, J. Trujillo, C. Blanco, E. Fernandez-Medina, Designing Secure Data Warehouses by Using MDA and QVT, Journal of Universal Computer Science, vol. 15, no. 8 pages 1607-1641, 2009.


Distante, D., Rossi, G., Canfora, G., Modeling Business Processes in Web Applications: An Analysis Framework, In Proceedings of the The 22nd Annual ACM Symposium on Applied Computing (Page: 1677, Year of publication: 2007, ISBN: 1-59593-480-4).

Gharavi, V., Mesbah, A., Deursen, A. V., Modelling and Generating AJAX Applications: A Model-Driven Approach, Proceeding of the 7th International Workshop on Web- Oriented Software Technologies, New York, USA (Page: 38, Year of publication: 2008, ISBN: 978-80-227-2899-7)

M.H.N.M. Nasir, S.H. Hamid, H. Hassan, WebML and .NET Architecture for Developing Students Appointment Management System, Journal of applied science, Vol. 9, n. 8, pp. 1432-1440, 2009.

Redouane Esbai, Mohammed Erramdani, Samir Mbarki, Ibtissam Arrassen, Abdelouafi Meziane and Mimoun Moussaoui, Model-Driven transformation with approach by modeling: From UML to N-tiers Web Model, International Journal of Computer Science Issues (IJCSI), Vol. 8, Issue 4, No 2, July 2011 ISSN (Online): 1694-0814.

M. Rahmouni, S. Mbarki, MDA-Based ATL Transformation to Generate MVC 2 Web Model, International Journal of Computer Science & Information Technology (IJCSIT), Vol 3, No 4, August 2011.

S. Mbarki, M. Erramdanim, Towards automatic generation of MVC 2 web applications, InfoComp-Journal of Computer Sciences, Vol. 7, No. 4, pp 84–91, 2008.


  • There are currently no refbacks.

Please send any question about this web site to
Copyright © 2005-2024 Praise Worthy Prize